GClasses
|
The activation function for rectified linear units (ReLU). More...
#include <GActivation.h>
Public Member Functions | |
virtual double | center () |
Returns 50.0. More... | |
virtual GActivationFunction * | clone () |
See the comment for GActivationFunction::clone. More... | |
virtual double | derivative (double x) |
The derivative of the activation function. More... | |
virtual double | halfRange () |
Returns 50.0. More... | |
virtual double | identityBias () |
Returns 1.0. More... | |
virtual double | identityDiag () |
Returns 1.0. More... | |
virtual double | inverse (double y) |
The inverse of the activation function. (This function may throw an exception if the activation function cannot be inverted.) More... | |
virtual const char * | name () const |
Returns the name of this activation function. More... | |
virtual double | squash (double x) |
The activation function. More... | |
![]() | |
GActivationFunction () | |
virtual | ~GActivationFunction () |
virtual double | derivativeOfNet (double net, double activation) |
This computes the derivative of the net value. (Sometimes, such as with GActivationLogistic, it is more efficient to compute this from the activation value, so both are provided.) More... | |
GDomNode * | serialize (GDom *pDoc) const |
Serialize this object. More... | |
Additional Inherited Members | |
![]() | |
static GActivationFunction * | deserialize (GDomNode *pNode) |
Deserialize this object. More... | |
The activation function for rectified linear units (ReLU).
|
inlinevirtual |
Returns 50.0.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
See the comment for GActivationFunction::clone.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
The derivative of the activation function.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Returns 50.0.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Returns 1.0.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Returns 1.0.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
The inverse of the activation function. (This function may throw an exception if the activation function cannot be inverted.)
Implements GClasses::GActivationFunction.
|
inlinevirtual |
Returns the name of this activation function.
Implements GClasses::GActivationFunction.
|
inlinevirtual |
The activation function.
Implements GClasses::GActivationFunction.