Package org.nd4j.linalg.activations
Class BaseActivationFunction
- java.lang.Object
-
- org.nd4j.linalg.activations.BaseActivationFunction
-
- All Implemented Interfaces:
Serializable,IActivation
- Direct Known Subclasses:
ActivationCube,ActivationELU,ActivationGELU,ActivationHardSigmoid,ActivationHardTanH,ActivationIdentity,ActivationLReLU,ActivationMish,ActivationPReLU,ActivationRationalTanh,ActivationRectifiedTanh,ActivationReLU,ActivationReLU6,ActivationRReLU,ActivationSELU,ActivationSigmoid,ActivationSoftmax,ActivationSoftPlus,ActivationSoftSign,ActivationSwish,ActivationTanH,ActivationThresholdedReLU
public abstract class BaseActivationFunction extends Object implements IActivation
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseActivationFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassertShape(INDArray in, INDArray epsilon)intnumParams(int inputSize)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nd4j.linalg.activations.IActivation
backprop, getActivation
-
-
-
-
Method Detail
-
numParams
public int numParams(int inputSize)
- Specified by:
numParamsin interfaceIActivation
-
-