Activations
Special algorithms for gradient descent.
What are activations?
Usage
GraphBuilder graphBuilder = new NeuralNetConfiguration.Builder()
// add hyperparameters and other layers
.addLayer("softmax", new ActivationLayer(Activation.SOFTMAX), "previous_input")
// add more layers and output
.build();Available activations
ActivationRectifiedTanh
ActivationELU
ActivationReLU
ActivationRationalTanh
ActivationThresholdedReLU
ActivationReLU6
ActivationHardTanH
ActivationSigmoid
ActivationGELU
ActivationPReLU
ActivationIdentity
ActivationSoftSign
ActivationHardSigmoid
ActivationSoftmax
ActivationCube
ActivationRReLU
ActivationTanH
ActivationSELU
ActivationLReLU
ActivationSwish
ActivationSoftPlus
Was this helpful?