Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T > Class Template Referencefinal

template<typename T>
class TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >

Definition at line 15 of file ROperator_LeakyRelu.hxx.

Public Member Functions

 ROperator_LeakyRelu ()
 
 ROperator_LeakyRelu (float alpha, std::string nameX, std::string nameY)
 
std::string Generate (std::string OpName)
 
void Initialize (RModel &model)
 
std::vector< std::vector< size_t > > ShapeInference (std::vector< std::vector< size_t > > input)
 
std::vector< ETensorTypeTypeInference (std::vector< ETensorType > input)
 
- Public Member Functions inherited from TMVA::Experimental::SOFIE::ROperator
virtual ~ROperator ()
 
virtual std::string GenerateInitCode ()
 
virtual std::string GenerateSessionMembersCode (std::string)
 
virtual std::vector< std::string > GetBlasRoutines ()
 
virtual std::vector< std::string > GetStdLibs ()
 
virtual std::string Header ()
 

Private Attributes

float falpha =0.01
 
std::string fNX
 
std::string fNY
 
std::vector< size_t > fShape
 
std::string fType
 

Additional Inherited Members

- Protected Attributes inherited from TMVA::Experimental::SOFIE::ROperator
bool fIsOutputConstant = false
 flag to identify if operator has a constant output (no need to generate code)
 
bool fUseSession = false
 flag to identify if using the session class
 
const std::string SP = " "
 space used to correctly indent the generated C++ code
 

#include <TMVA/ROperator_LeakyRelu.hxx>

Inheritance diagram for TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >:
[legend]

Constructor & Destructor Documentation

◆ ROperator_LeakyRelu() [1/2]

template<typename T >
TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >::ROperator_LeakyRelu ( )
inline

Definition at line 28 of file ROperator_LeakyRelu.hxx.

◆ ROperator_LeakyRelu() [2/2]

template<typename T >
TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >::ROperator_LeakyRelu ( float  alpha,
std::string  nameX,
std::string  nameY 
)
inline

Definition at line 29 of file ROperator_LeakyRelu.hxx.

Member Function Documentation

◆ Generate()

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >::Generate ( std::string  OpName)
inlinevirtual

Implements TMVA::Experimental::SOFIE::ROperator.

Definition at line 59 of file ROperator_LeakyRelu.hxx.

◆ Initialize()

template<typename T >
void TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >::Initialize ( RModel model)
inlinevirtual

Implements TMVA::Experimental::SOFIE::ROperator.

Definition at line 50 of file ROperator_LeakyRelu.hxx.

◆ ShapeInference()

template<typename T >
std::vector< std::vector< size_t > > TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >::ShapeInference ( std::vector< std::vector< size_t > >  input)
inlinevirtual

Implements TMVA::Experimental::SOFIE::ROperator.

Definition at line 45 of file ROperator_LeakyRelu.hxx.

◆ TypeInference()

template<typename T >
std::vector< ETensorType > TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >::TypeInference ( std::vector< ETensorType input)
inlinevirtual

Implements TMVA::Experimental::SOFIE::ROperator.

Definition at line 41 of file ROperator_LeakyRelu.hxx.

Member Data Documentation

◆ falpha

template<typename T >
float TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >::falpha =0.01
private

Definition at line 21 of file ROperator_LeakyRelu.hxx.

◆ fNX

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >::fNX
private

Definition at line 22 of file ROperator_LeakyRelu.hxx.

◆ fNY

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >::fNY
private

Definition at line 23 of file ROperator_LeakyRelu.hxx.

◆ fShape

template<typename T >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >::fShape
private

Definition at line 24 of file ROperator_LeakyRelu.hxx.

◆ fType

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >::fType
private

Definition at line 25 of file ROperator_LeakyRelu.hxx.

  • tmva/sofie/inc/TMVA/ROperator_LeakyRelu.hxx