SuperNN
1.0.0
|
Activation function dispatcher. More...
Static Public Member Functions | |
static double | activation (const Neuron &neuron) |
Calls the actual activation function. More... | |
static double | derivative (const Neuron &neuron) |
Calls the actual derivative of the activation function, used to calculate the error gradient. More... | |
Activation function dispatcher.
Definition at line 179 of file activation.hpp.
|
inlinestatic |
Calls the actual activation function.
neuron | Neuron to calculate the output of the activation function |
Definition at line 187 of file activation.hpp.
|
inlinestatic |
Calls the actual derivative of the activation function, used to calculate the error gradient.
neuron | Neuron to calculate the derivative of the activation function |
Definition at line 227 of file activation.hpp.