Class Pad
java.lang.Object
ai.beestream.jitnn.nn.Module
ai.beestream.jitnn.nn.Pad
- All Implemented Interfaces:
AutoCloseable
Padding of the spatial axes: constant, reflect or replicate (PyTorch's nn.ConstantPadNd, ReflectionPadNd, ReplicationPadNd).
-
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
-
Pad
Pads spatial axis k withbefore[k]andafter[k]elements;valuefills in constant mode.
-
-
Method Details
-
forward
-