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

template<typename T, EBasicNaryOperator Op>
class TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >

Definition at line 79 of file ROperator_BasicNary.hxx.

Public Member Functions

 ROperator_BasicNary ()
 
 ROperator_BasicNary (const std::vector< std::string > &inputNames, const std::string &nameY)
 
std::string Generate (std::string OpName)
 
std::vector< std::string > GetStdLibs ()
 
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::string Header ()
 

Private Attributes

bool fBroadcast = false
 
std::vector< std::string > fNBroadcastedInputs
 
std::vector< std::string > fNInputs
 
std::string fNY
 
std::vector< std::vector< size_t > > fShapeInputs
 
std::vector< size_t > fShapeY
 
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_BasicNary.hxx>

Inheritance diagram for TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >:
[legend]

Constructor & Destructor Documentation

◆ ROperator_BasicNary() [1/2]

template<typename T , EBasicNaryOperator Op>
TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::ROperator_BasicNary ( )
inline

Definition at line 96 of file ROperator_BasicNary.hxx.

◆ ROperator_BasicNary() [2/2]

template<typename T , EBasicNaryOperator Op>
TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::ROperator_BasicNary ( const std::vector< std::string > &  inputNames,
const std::string &  nameY 
)
inline

Definition at line 98 of file ROperator_BasicNary.hxx.

Member Function Documentation

◆ Generate()

template<typename T , EBasicNaryOperator Op>
std::string TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::Generate ( std::string  OpName)
inlinevirtual

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

Definition at line 142 of file ROperator_BasicNary.hxx.

◆ GetStdLibs()

template<typename T , EBasicNaryOperator Op>
std::vector< std::string > TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::GetStdLibs ( )
inlinevirtual

Reimplemented from TMVA::Experimental::SOFIE::ROperator.

Definition at line 179 of file ROperator_BasicNary.hxx.

◆ Initialize()

template<typename T , EBasicNaryOperator Op>
void TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::Initialize ( RModel model)
inlinevirtual

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

Definition at line 116 of file ROperator_BasicNary.hxx.

◆ ShapeInference()

template<typename T , EBasicNaryOperator Op>
std::vector< std::vector< size_t > > TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::ShapeInference ( std::vector< std::vector< size_t > >  input)
inlinevirtual

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

Definition at line 111 of file ROperator_BasicNary.hxx.

◆ TypeInference()

template<typename T , EBasicNaryOperator Op>
std::vector< ETensorType > TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::TypeInference ( std::vector< ETensorType input)
inlinevirtual

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

Definition at line 106 of file ROperator_BasicNary.hxx.

Member Data Documentation

◆ fBroadcast

template<typename T , EBasicNaryOperator Op>
bool TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::fBroadcast = false
private

Definition at line 91 of file ROperator_BasicNary.hxx.

◆ fNBroadcastedInputs

template<typename T , EBasicNaryOperator Op>
std::vector<std::string> TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::fNBroadcastedInputs
private

Definition at line 88 of file ROperator_BasicNary.hxx.

◆ fNInputs

template<typename T , EBasicNaryOperator Op>
std::vector<std::string> TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::fNInputs
private

Definition at line 84 of file ROperator_BasicNary.hxx.

◆ fNY

template<typename T , EBasicNaryOperator Op>
std::string TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::fNY
private

Definition at line 85 of file ROperator_BasicNary.hxx.

◆ fShapeInputs

template<typename T , EBasicNaryOperator Op>
std::vector<std::vector<size_t> > TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::fShapeInputs
private

Definition at line 86 of file ROperator_BasicNary.hxx.

◆ fShapeY

template<typename T , EBasicNaryOperator Op>
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::fShapeY
private

Definition at line 89 of file ROperator_BasicNary.hxx.

◆ fType

template<typename T , EBasicNaryOperator Op>
std::string TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >::fType
private

Definition at line 93 of file ROperator_BasicNary.hxx.

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