Class MaxPool2d
java.lang.Object
ai.beestream.jitnn.nn.Module
ai.beestream.jitnn.nn.MaxPool2d
- All Implemented Interfaces:
AutoCloseable
Max pooling over square windows of NCHW input, PyTorch's nn.MaxPool2d.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Module
buffer, buffers, child, close, isClosed, isTraining, loadStateDict, parameter, parameterCount, parameters, stateDict, train, zeroGrad
-
Constructor Details
-
MaxPool2d
public MaxPool2d(int kernel) Pools non-overlappingkernelxkernelwindows (stridekernel, no padding). -
MaxPool2d
public MaxPool2d(int kernel, int stride, int padding) Poolskernelxkernelwindows with the given stride and padding.
-
-
Method Details
-
forward
-