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