- class usencrypt.ai.nn.layers.ActivationLayer(activation, activation_prime)#
Base class for neural network activation layers.
This is a base class and it is not intended to be called directly. Users are expected to instantiate each of its subclasses directly.
- Available activation layers
function) – The activation function used during forward propagation.
function) – The derivative of the activation function used during backward propagation.
str) – The layer’s string identifier.
For examples on how to work with the neural network model, please refer to our corresponding tutorials.