/// <summary> /// Applies a 3D average pooling over an input signal composed of several input planes. /// </summary> /// <param name="x">The input signal tensor</param> /// <param name="kernelSize">The size of the window</param> /// <param name="strides">The stride of the window. Default value is kernel_size</param> /// <returns></returns> static public TorchTensor AvgPool3d(TorchTensor x, long[] kernelSize, long[] strides = null) { using (var d = Modules.AvgPool3d(kernelSize, strides)) { return(d.forward(x)); } }