- namespace: Rindow\NeuralNetworks\Activation
- classname: Softmax
Softmax activation function.
Methods
constructor
Rindow\NeuralNetworks\Activation\FunctionFactory::factory($backend,'softmax');
You can create a Softmax function instances with the FunctionFactory. Generally, FunctionFactory is called inside the layer class.
Examples
$model->add($nn->layers()->Activation('softmax'));
...
$model->add($nn->layers()->Dense(10,activation:'softmax'));