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