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

template<typename T, EComparisionOperator Op>
class TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >

Definition at line 51 of file ROperator_Comparision.hxx.

Public Member Functions

 ROperator_Comparision ()
 
 ROperator_Comparision (const std::string &nameX1, const std::string &nameX2, const std::string &nameY)
 
std::string Generate (std::string OpName) override
 
void Initialize (RModel &model) override
 
std::vector< std::vector< size_t > > ShapeInference (std::vector< std::vector< size_t > > input) override
 
std::vector< ETensorTypeTypeInference (std::vector< ETensorType > input) override
 
- 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

bool fBroadcast = false
 
bool fIsModelOutput = false
 
std::string fNBroadcastedX1
 
std::string fNBroadcastedX2
 
std::string fNX1
 
std::string fNX2
 
std::string fNY
 
std::vector< size_t > fShapeX1
 
std::vector< size_t > fShapeX2
 
std::vector< size_t > fShapeY
 
ETensorType fTensorType1 = ETensorType::UNDEFINED
 
ETensorType fTensorType2 = ETensorType::UNDEFINED
 

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

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

Constructor & Destructor Documentation

◆ ROperator_Comparision() [1/2]

template<typename T , EComparisionOperator Op>
TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::ROperator_Comparision ( )
inline

Definition at line 69 of file ROperator_Comparision.hxx.

◆ ROperator_Comparision() [2/2]

template<typename T , EComparisionOperator Op>
TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::ROperator_Comparision ( const std::string &  nameX1,
const std::string &  nameX2,
const std::string &  nameY 
)
inline

Definition at line 70 of file ROperator_Comparision.hxx.

Member Function Documentation

◆ Generate()

template<typename T , EComparisionOperator Op>
std::string TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::Generate ( std::string  OpName)
inlineoverridevirtual

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

Definition at line 145 of file ROperator_Comparision.hxx.

◆ Initialize()

template<typename T , EComparisionOperator Op>
void TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::Initialize ( RModel model)
inlineoverridevirtual

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

Definition at line 84 of file ROperator_Comparision.hxx.

◆ ShapeInference()

template<typename T , EComparisionOperator Op>
std::vector< std::vector< size_t > > TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::ShapeInference ( std::vector< std::vector< size_t > >  input)
inlineoverridevirtual

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

Definition at line 79 of file ROperator_Comparision.hxx.

◆ TypeInference()

template<typename T , EComparisionOperator Op>
std::vector< ETensorType > TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::TypeInference ( std::vector< ETensorType input)
inlineoverridevirtual

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

Definition at line 74 of file ROperator_Comparision.hxx.

Member Data Documentation

◆ fBroadcast

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

Definition at line 65 of file ROperator_Comparision.hxx.

◆ fIsModelOutput

template<typename T , EComparisionOperator Op>
bool TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::fIsModelOutput = false
private

Definition at line 54 of file ROperator_Comparision.hxx.

◆ fNBroadcastedX1

template<typename T , EComparisionOperator Op>
std::string TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::fNBroadcastedX1
private

Definition at line 61 of file ROperator_Comparision.hxx.

◆ fNBroadcastedX2

template<typename T , EComparisionOperator Op>
std::string TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::fNBroadcastedX2
private

Definition at line 62 of file ROperator_Comparision.hxx.

◆ fNX1

template<typename T , EComparisionOperator Op>
std::string TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::fNX1
private

Definition at line 55 of file ROperator_Comparision.hxx.

◆ fNX2

template<typename T , EComparisionOperator Op>
std::string TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::fNX2
private

Definition at line 56 of file ROperator_Comparision.hxx.

◆ fNY

template<typename T , EComparisionOperator Op>
std::string TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::fNY
private

Definition at line 57 of file ROperator_Comparision.hxx.

◆ fShapeX1

template<typename T , EComparisionOperator Op>
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::fShapeX1
private

Definition at line 58 of file ROperator_Comparision.hxx.

◆ fShapeX2

template<typename T , EComparisionOperator Op>
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Comparision< T, Op >::fShapeX2
private

Definition at line 59 of file ROperator_Comparision.hxx.

◆ fShapeY

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

Definition at line 60 of file ROperator_Comparision.hxx.

◆ fTensorType1

Definition at line 63 of file ROperator_Comparision.hxx.

◆ fTensorType2

Definition at line 64 of file ROperator_Comparision.hxx.

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