コード例 #1
0
 static public TorchTensor Conv2D(TorchTensor x, long inputChannel, long outputChannel, long kernelSize, long stride = 1, long padding = 0)
 {
     using (var d = Modules.Conv2D(inputChannel, outputChannel, kernelSize, stride, padding)) {
         return(d.Forward(x));
     }
 }