ActivationLayer#

class usencrypt.ai.nn.layers.ActivationLayer(activation, activation_prime)#

Base class for neural network activation layers.

Note

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

Parameters
  • activation (function) – The activation function used during forward propagation.

  • activation_prime (function) – The derivative of the activation function used during backward propagation.

Variables

name (str) – The layer’s string identifier.

Inheritance

usencrypt.ai.nn.layers.Layer

Examples

For examples on how to work with the neural network model, please refer to our corresponding tutorials.