Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
TMVA::Experimental::SOFIE::ROperator_Where< T > Class Template Referencefinal

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

Definition at line 17 of file ROperator_Where.hxx.

Public Member Functions

 ROperator_Where ()
 
 ROperator_Where (const std::string &nameA, const std::string &nameB, const std::string &nameC, const std::string &nameY)
 
std::string Generate (std::string OpName) override
 
std::string GenerateInitCode () 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 GenerateDeclCode ()
 
virtual std::string GenerateSessionMembersCode (std::string)
 
virtual std::vector< std::string > GetBlasRoutines ()
 
std::span< const std::string_view > GetOpInputTensors () const
 
std::span< const std::string_view > GetOpOutputTensors () const
 
virtual std::vector< std::string > GetStdLibs ()
 
virtual std::string Header ()
 

Private Attributes

bool fIsInputBoolTensor = false
 
std::string fNA
 
std::string fNB
 
std::string fNBroadcastedA
 
std::string fNBroadcastedB
 
std::string fNBroadcastedC
 
std::string fNC
 
std::string fNY
 
std::vector< size_t > fShapeA
 
std::vector< size_t > fShapeB
 
std::vector< size_t > fShapeC
 
std::vector< size_t > fShapeY
 

Additional Inherited Members

- Protected Attributes inherited from TMVA::Experimental::SOFIE::ROperator
std::vector< std::string_view > fInputTensorNames
 
bool fIsOutputConstant = false
 flag to identify if operator has a constant output (no need to generate code)
 
std::vector< std::string_view > fOutputTensorNames
 
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_Where.hxx>

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

Constructor & Destructor Documentation

◆ ROperator_Where() [1/2]

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

Definition at line 39 of file ROperator_Where.hxx.

◆ ROperator_Where() [2/2]

template<typename T >
TMVA::Experimental::SOFIE::ROperator_Where< T >::ROperator_Where ( const std::string & nameA,
const std::string & nameB,
const std::string & nameC,
const std::string & nameY )
inline

Definition at line 40 of file ROperator_Where.hxx.

Member Function Documentation

◆ Generate()

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Where< T >::Generate ( std::string OpName)
inlineoverridevirtual

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

Definition at line 188 of file ROperator_Where.hxx.

◆ GenerateInitCode()

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Where< T >::GenerateInitCode ( )
inlineoverridevirtual

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

Definition at line 183 of file ROperator_Where.hxx.

◆ Initialize()

template<typename T >
void TMVA::Experimental::SOFIE::ROperator_Where< T >::Initialize ( RModel & model)
inlineoverridevirtual

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

Definition at line 58 of file ROperator_Where.hxx.

◆ ShapeInference()

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

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

Definition at line 52 of file ROperator_Where.hxx.

◆ TypeInference()

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

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

Definition at line 47 of file ROperator_Where.hxx.

Member Data Documentation

◆ fIsInputBoolTensor

template<typename T >
bool TMVA::Experimental::SOFIE::ROperator_Where< T >::fIsInputBoolTensor = false
private

Definition at line 20 of file ROperator_Where.hxx.

◆ fNA

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Where< T >::fNA
private

Definition at line 23 of file ROperator_Where.hxx.

◆ fNB

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Where< T >::fNB
private

Definition at line 24 of file ROperator_Where.hxx.

◆ fNBroadcastedA

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Where< T >::fNBroadcastedA
private

Definition at line 26 of file ROperator_Where.hxx.

◆ fNBroadcastedB

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Where< T >::fNBroadcastedB
private

Definition at line 27 of file ROperator_Where.hxx.

◆ fNBroadcastedC

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Where< T >::fNBroadcastedC
private

Definition at line 28 of file ROperator_Where.hxx.

◆ fNC

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Where< T >::fNC
private

Definition at line 25 of file ROperator_Where.hxx.

◆ fNY

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

Definition at line 29 of file ROperator_Where.hxx.

◆ fShapeA

template<typename T >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Where< T >::fShapeA
private

Definition at line 32 of file ROperator_Where.hxx.

◆ fShapeB

template<typename T >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Where< T >::fShapeB
private

Definition at line 33 of file ROperator_Where.hxx.

◆ fShapeC

template<typename T >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Where< T >::fShapeC
private

Definition at line 34 of file ROperator_Where.hxx.

◆ fShapeY

template<typename T >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Where< T >::fShapeY
private

Definition at line 35 of file ROperator_Where.hxx.

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