ActivationFunction typedef

ActivationFunction = double Function(double ())

Type defining an activation function taking as a parameter the function to obtain the weighted sum of the inputs and the weights.

Implementation

typedef ActivationFunction = double Function(double Function());