C# Class SuperNeuro.Layers.Activations.Softplus

The softplus activation: log(exp(x) + 1).
Inheritance: BaseLayer
Afficher le fichier Open project: tech-quantum/SuperchargedArray Class Usage Examples

Méthodes publiques

Méthode Description
Backward ( SuperArray outputgrad ) : void

Calculate the gradient of this layer function

Forward ( SuperArray x ) : void

Forwards the inputs and compute the output

Softplus ( ) : SuperchargedArray

Initializes a new instance of the Softplus class.

Method Details

Backward() public méthode

Calculate the gradient of this layer function
public Backward ( SuperArray outputgrad ) : void
outputgrad SuperArray The calculated output grad from previous layer.
Résultat void

Forward() public méthode

Forwards the inputs and compute the output
public Forward ( SuperArray x ) : void
x SuperArray The input SuperArray for this layer.
Résultat void

Softplus() public méthode

Initializes a new instance of the Softplus class.
public Softplus ( ) : SuperchargedArray
Résultat SuperchargedArray