Class PReLU
java.lang.Object
ai.beestream.jitnn.nn.Module
ai.beestream.jitnn.nn.PReLU
- All Implemented Interfaces:
AutoCloseable
PReLU with a learnable slope, one shared or one per channel, initialised to
init (PyTorch: 0.25).-
Constructor Summary
ConstructorsConstructorDescriptionPReLU(int parameters, float init) PReLU withparametersslopes (1 shared, or one per channel), eachinitat the start. -
Method Summary
Methods inherited from class Module
buffer, buffers, child, close, isClosed, isTraining, loadStateDict, parameter, parameterCount, parameters, stateDict, train, zeroGrad
-
Constructor Details
-
PReLU
public PReLU(int parameters, float init) PReLU withparametersslopes (1 shared, or one per channel), eachinitat the start.
-
-
Method Details
-
weight
The slopes [parameters]. -
forward
-