- torch.nn.functional.bilinear(input1, input2, weight, bias=None) Tensor ¶
Applies a bilinear transformation to the incoming data:
input1: where and means any number of additional dimensions. All but the last dimension of the inputs should be the same.
output: where and all but the last dimension are the same shape as the input.