Sigmoid

  • namespace: Rindow\NeuralNetworks\Activation
  • classname: Sigmoid

Sigmoid activation function.

Methods

constructor

Rindow\NeuralNetworks\Activation\FunctionFactory::factory($backend,'sigmoid');

You can create a Sigmoid function instances with the FunctionFactory. Generally, FunctionFactory is called inside the layer class.

Examples

$model->add($nn->layers()->Activation('sigmoid'));
...
$model->add($nn->layers()->Dense(10,activation:'sigmoid'));