Logo ROOT  
Reference Guide
TMVA::TActivationReLU Class Reference

Rectified Linear Unit activation function for TNeuron.

Definition at line 41 of file TActivationReLU.h.

Public Member Functions

 TActivationReLU ()
 
 ~TActivationReLU ()
 
Double_t Eval (Double_t arg)
 
Double_t EvalDerivative (Double_t arg)
 
TString GetExpression ()
 get expressions for the tanh and its derivative More...
 
Double_t GetMax ()
 
Double_t GetMin ()
 
virtual void MakeFunction (std::ostream &fout, const TString &fncName)
 writes the Rectified Linear Unit activation function source code More...
 
- Public Member Functions inherited from TMVA::TActivation
 TActivation ()
 
virtual ~TActivation ()
 
virtual Double_t Eval (Double_t arg)=0
 
virtual Double_t EvalDerivative (Double_t arg)=0
 
virtual TString GetExpression ()=0
 
virtual Double_t GetMax ()=0
 
virtual Double_t GetMin ()=0
 
virtual void MakeFunction (std::ostream &fout, const TString &fncName)=0
 

#include <TMVA/TActivationReLU.h>

Inheritance diagram for TMVA::TActivationReLU:
[legend]

Constructor & Destructor Documentation

◆ TActivationReLU()

TMVA::TActivationReLU::TActivationReLU ( )
inline

Definition at line 44 of file TActivationReLU.h.

◆ ~TActivationReLU()

TMVA::TActivationReLU::~TActivationReLU ( )
inline

Definition at line 45 of file TActivationReLU.h.

Member Function Documentation

◆ Eval()

Double_t TMVA::TActivationReLU::Eval ( Double_t  arg)
inlinevirtual

Implements TMVA::TActivation.

Definition at line 48 of file TActivationReLU.h.

◆ EvalDerivative()

Double_t TMVA::TActivationReLU::EvalDerivative ( Double_t  arg)
inlinevirtual

Implements TMVA::TActivation.

Definition at line 51 of file TActivationReLU.h.

◆ GetExpression()

TString TMVA::TActivationReLU::GetExpression ( )
virtual

get expressions for the tanh and its derivative

Implements TMVA::TActivation.

Definition at line 43 of file TActivationReLU.cxx.

◆ GetMax()

Double_t TMVA::TActivationReLU::GetMax ( )
inlinevirtual

Implements TMVA::TActivation.

Definition at line 57 of file TActivationReLU.h.

◆ GetMin()

Double_t TMVA::TActivationReLU::GetMin ( )
inlinevirtual

Implements TMVA::TActivation.

Definition at line 54 of file TActivationReLU.h.

◆ MakeFunction()

void TMVA::TActivationReLU::MakeFunction ( std::ostream &  fout,
const TString fncName 
)
virtual

writes the Rectified Linear Unit activation function source code

Implements TMVA::TActivation.

Definition at line 53 of file TActivationReLU.cxx.

Libraries for TMVA::TActivationReLU:
[legend]

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