Neural
Neural::LeakyRelu Class Reference

#include <activation.h>

Inheritance diagram for Neural::LeakyRelu:
Collaboration diagram for Neural::LeakyRelu:

Public Member Functions

 LeakyRelu (double a)
 
virtual Eigen::MatrixXd Compute (Eigen::MatrixXd x)
 
virtual Eigen::MatrixXd ComputePrime (Eigen::MatrixXd x)
 
- Public Member Functions inherited from Neural::Activation
 Activation ()
 
std::string getType ()
 

Public Attributes

double m_alpha
 

Additional Inherited Members

- Protected Attributes inherited from Neural::Activation
std::string m_type
 

Constructor & Destructor Documentation

◆ LeakyRelu()

Neural::LeakyRelu::LeakyRelu ( double  a)
inline

Member Function Documentation

◆ Compute()

virtual Eigen::MatrixXd Neural::LeakyRelu::Compute ( Eigen::MatrixXd  x)
inlinevirtual

Implements Neural::Activation.

◆ ComputePrime()

virtual Eigen::MatrixXd Neural::LeakyRelu::ComputePrime ( Eigen::MatrixXd  x)
inlinevirtual

Implements Neural::Activation.

Member Data Documentation

◆ m_alpha

double Neural::LeakyRelu::m_alpha

The documentation for this class was generated from the following file: