Exemplo n.º 1
0
 static public TorchTensor Bilinear(TorchTensor x1, TorchTensor x2, long in1Features, long in2Features, long outputSize, bool hasBias = true)
 {
     using (var d = Modules.Bilinear(in1Features, in2Features, outputSize, hasBias)) {
         return(d.forward(x1, x2));
     }
 }