Tanh activation function for ANN.
Definition at line 41 of file TActivationTanh.h.
Public Member Functions | |
| TActivationTanh () | |
| ~TActivationTanh () | |
| Double_t | Eval (Double_t arg) |
| evaluate the tanh | |
| Double_t | EvalDerivative (Double_t arg) |
| evaluate the derivative | |
| TString | GetExpression () |
| get expressions for the tanh and its derivative whatever that may be good for ... | |
| Double_t | GetMax () |
| Double_t | GetMin () |
| virtual TClass * | IsA () const |
| virtual void | MakeFunction (std::ostream &fout, const TString &fncName) |
| writes the Tanh sigmoid activation function source code | |
| void | SetSlow () |
| virtual void | Streamer (TBuffer &) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TMVA::TActivation | |
| TActivation () | |
| virtual | ~TActivation () |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Static Public Member Functions inherited from TMVA::TActivation | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Private Member Functions | |
| Double_t | fast_tanh (Double_t arg) |
| a fast tanh approximation | |
Private Attributes | |
| Bool_t | fFAST |
#include <TMVA/TActivationTanh.h>
|
inline |
Definition at line 45 of file TActivationTanh.h.
|
inline |
Definition at line 46 of file TActivationTanh.h.
|
static |
Definition at line 72 of file TActivationTanh.h.
|
inlinestatic |
Definition at line 72 of file TActivationTanh.h.
evaluate the derivative
Implements TMVA::TActivation.
Definition at line 63 of file TActivationTanh.cxx.
a fast tanh approximation
Definition at line 43 of file TActivationTanh.cxx.
|
virtual |
get expressions for the tanh and its derivative whatever that may be good for ...
Implements TMVA::TActivation.
Definition at line 73 of file TActivationTanh.cxx.
|
inlinevirtual |
Implements TMVA::TActivation.
Definition at line 58 of file TActivationTanh.h.
|
inlinevirtual |
Implements TMVA::TActivation.
Definition at line 55 of file TActivationTanh.h.
Reimplemented from TMVA::TActivation.
Definition at line 72 of file TActivationTanh.h.
|
virtual |
writes the Tanh sigmoid activation function source code
Implements TMVA::TActivation.
Definition at line 82 of file TActivationTanh.cxx.
|
inline |
Definition at line 66 of file TActivationTanh.h.
Reimplemented from TMVA::TActivation.
|
inline |
Definition at line 72 of file TActivationTanh.h.
|
private |
Definition at line 70 of file TActivationTanh.h.