Module activate

Module activate 

Source
Expand description

this module is dedicated to activation function This module implements various activation functions for neural networks.

§Traits

Traits§

Activate
The Activate trait enables the definition of new activation functions often implemented as fieldless structs.
ActivateExt
This trait extends the [Activate] trait with a number of additional activation functions and their derivatives. Note: this trait is automatically implemented for any type that implements the [Activate] trait eliminating the need to implement it manually.
ActivateGradient
ActivateMut
A trait for establishing a common mechanism to activate entities in-place.
Heavyside
LinearActivation
NdActivateMut
ReLU
Sigmoid
Softmax
SoftmaxAxis
Tanh