C# Class SuperNeuro.Layers.Activations.Exp

Exponential activation function which returns simple exp(x)
Inheritance: BaseLayer
Show file Open project: tech-quantum/SuperchargedArray

Public Methods

Method Description
Backward ( SuperArray outputgrad ) : void

Calculate the gradient of this layer function

Exp ( ) : SuperchargedArray

Initializes a new instance of the Exp class.

Forward ( SuperArray x ) : void

Forwards the inputs and compute the output

Method Details

Backward() public method

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

Exp() public method

Initializes a new instance of the Exp class.
public Exp ( ) : SuperchargedArray
return SuperchargedArray

Forward() public method

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