On this page
torch.nn.functional.bilinear
torch.nn.functional.bilinear(input1, input2, weight, bias=None) → Tensor
-
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.
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.nn.functional.bilinear.html