Class LeakyReLU
java.lang.Object
ai.beestream.jitnn.nn.Module
ai.beestream.jitnn.nn.LeakyReLU
- All Implemented Interfaces:
AutoCloseable
LeakyReLU with a fixed negative slope (PyTorch's default 0.01).
-
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
-
LeakyReLU
public LeakyReLU()LeakyReLU with slope 0.01. -
LeakyReLU
public LeakyReLU(float slope) LeakyReLU with the given negative slope.
-
-
Method Details
-
forward
-