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

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

Definition at line 15 of file ROperator_Constant.hxx.

Public Member Functions

 ROperator_Constant ()
 
 ROperator_Constant (const std::string &type, const std::vector< T > &values, const std::vector< size_t > &shape, std::string nameX, std::string nameY)
 
std::string Generate (std::string)
 
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

std::string fAttrType
 
bool fIsConstantOfShape = false
 
std::string fNX
 
std::string fNY
 
std::vector< size_t > fShape
 
std::vector< T > fValues
 

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_Constant.hxx>

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

Constructor & Destructor Documentation

◆ ROperator_Constant() [1/2]

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

Definition at line 28 of file ROperator_Constant.hxx.

◆ ROperator_Constant() [2/2]

template<typename T >
TMVA::Experimental::SOFIE::ROperator_Constant< T >::ROperator_Constant ( const std::string &  type,
const std::vector< T > &  values,
const std::vector< size_t > &  shape,
std::string  nameX,
std::string  nameY 
)
inline

Definition at line 30 of file ROperator_Constant.hxx.

Member Function Documentation

◆ Generate()

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

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

Definition at line 99 of file ROperator_Constant.hxx.

◆ Initialize()

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

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

Definition at line 47 of file ROperator_Constant.hxx.

◆ ShapeInference()

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

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

Definition at line 42 of file ROperator_Constant.hxx.

◆ TypeInference()

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

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

Definition at line 38 of file ROperator_Constant.hxx.

Member Data Documentation

◆ fAttrType

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Constant< T >::fAttrType
private

Definition at line 24 of file ROperator_Constant.hxx.

◆ fIsConstantOfShape

template<typename T >
bool TMVA::Experimental::SOFIE::ROperator_Constant< T >::fIsConstantOfShape = false
private

Definition at line 25 of file ROperator_Constant.hxx.

◆ fNX

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

Definition at line 20 of file ROperator_Constant.hxx.

◆ fNY

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

Definition at line 21 of file ROperator_Constant.hxx.

◆ fShape

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

Definition at line 22 of file ROperator_Constant.hxx.

◆ fValues

template<typename T >
std::vector<T> TMVA::Experimental::SOFIE::ROperator_Constant< T >::fValues
private

Definition at line 23 of file ROperator_Constant.hxx.

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