Beispiel #1
0
 static public TorchTensor AvgPool2D(TorchTensor x, long[] kernelSize, long[] strides = null)
 {
     using (var d = Modules.AvgPool2D(kernelSize, strides)) {
         return(d.Forward(x));
     }
 }