Class AvgPool2d
java.lang.Object
ai.beestream.jitnn.nn.Module
ai.beestream.jitnn.nn.AvgPool2d
- All Implemented Interfaces:
AutoCloseable
Average pooling; padding counts in the divisor, as PyTorch's default.
-
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
-
AvgPool2d
public AvgPool2d(int kernel) Pools non-overlappingkernelxkernelwindows (stridekernel, no padding). -
AvgPool2d
public AvgPool2d(int kernel, int stride, int padding) Poolskernelxkernelwindows with the given stride and padding.
-
-
Method Details
-
forward
-