Logo ROOT  
Reference Guide
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 15 of file ROperator_Where.hxx.

Public Member Functions

 ROperator_Where ()
 ROperator_Where (const std::string &nameC, const std::string &nameX, const std::string &nameY, const std::string &nameZ)
std::string Generate (std::string opName) override
virtual std::string GenerateDeclCode ()
std::string GenerateInitCode () override
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 ()
void Initialize (RModel &model) override
bool IsOutputConstant () const
 check if the output of the operator is Constant and is evaluated at initialization time
std::vector< std::vector< size_t > > ShapeInference (std::vector< std::vector< size_t > > input) override
std::vector< ETensorTypeTypeInference (std::vector< ETensorType > input) override

Protected Attributes

std::vector< std::string_view > fInputTensorNames
bool fIsOutputConstant = false
 flag to identify if operator has a constant output (no need to generate code)
bool fIsOutputParamShape = false
 flag to identify of the output represents a parametric shape (can be knwon at compile time)
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

Private Attributes

int fBroadcastFlag = 0
std::vector< DimfDimShapeC
std::vector< DimfDimShapeX
std::vector< DimfDimShapeY
std::vector< DimfDimShapeZ
bool fIsInputBoolTensor = false
std::string fNBroadcastedC
std::string fNBroadcastedX
std::string fNBroadcastedY
std::string fNC
std::string fNX
std::string fNY
std::string fNZ
std::vector< size_t > fShapeC
std::vector< size_t > fShapeX
std::vector< size_t > fShapeY
std::vector< size_t > fShapeZ

#include <TMVA/ROperator_Where.hxx>

Inheritance diagram for TMVA::Experimental::SOFIE::ROperator_Where< T >:
TMVA::Experimental::SOFIE::ROperator

Constructor & Destructor Documentation

◆ ROperator_Where() [1/2]

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

Definition at line 49 of file ROperator_Where.hxx.

◆ ROperator_Where() [2/2]

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

Definition at line 50 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 256 of file ROperator_Where.hxx.

◆ GenerateDeclCode()

virtual std::string TMVA::Experimental::SOFIE::ROperator::GenerateDeclCode ( )
inlinevirtualinherited

Reimplemented in TMVA::Experimental::SOFIE::ROperator_Random.

Definition at line 31 of file ROperator.hxx.

◆ GenerateInitCode()

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

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

Definition at line 250 of file ROperator_Where.hxx.

◆ GenerateSessionMembersCode()

virtual std::string TMVA::Experimental::SOFIE::ROperator::GenerateSessionMembersCode ( std::string )
inlinevirtualinherited

◆ GetBlasRoutines()

◆ GetOpInputTensors()

std::span< const std::string_view > TMVA::Experimental::SOFIE::ROperator::GetOpInputTensors ( ) const
inlineinherited

Definition at line 54 of file ROperator.hxx.

◆ GetOpOutputTensors()

std::span< const std::string_view > TMVA::Experimental::SOFIE::ROperator::GetOpOutputTensors ( ) const
inlineinherited

Definition at line 58 of file ROperator.hxx.

◆ GetStdLibs()

◆ Header()

virtual std::string TMVA::Experimental::SOFIE::ROperator::Header ( )
inlinevirtualinherited

Definition at line 34 of file ROperator.hxx.

◆ Initialize()

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

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

Definition at line 77 of file ROperator_Where.hxx.

◆ IsOutputConstant()

bool TMVA::Experimental::SOFIE::ROperator::IsOutputConstant ( ) const
inlineinherited

check if the output of the operator is Constant and is evaluated at initialization time

Definition at line 37 of file ROperator.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

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

Definition at line 71 of file ROperator_Where.hxx.

◆ TypeInference()

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

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

Definition at line 64 of file ROperator_Where.hxx.

Member Data Documentation

◆ fBroadcastFlag

template<typename T>
int TMVA::Experimental::SOFIE::ROperator_Where< T >::fBroadcastFlag = 0
private

Definition at line 46 of file ROperator_Where.hxx.

◆ fDimShapeC

template<typename T>
std::vector<Dim> TMVA::Experimental::SOFIE::ROperator_Where< T >::fDimShapeC
private

Definition at line 36 of file ROperator_Where.hxx.

◆ fDimShapeX

template<typename T>
std::vector<Dim> TMVA::Experimental::SOFIE::ROperator_Where< T >::fDimShapeX
private

Definition at line 37 of file ROperator_Where.hxx.

◆ fDimShapeY

template<typename T>
std::vector<Dim> TMVA::Experimental::SOFIE::ROperator_Where< T >::fDimShapeY
private

Definition at line 38 of file ROperator_Where.hxx.

◆ fDimShapeZ

template<typename T>
std::vector<Dim> TMVA::Experimental::SOFIE::ROperator_Where< T >::fDimShapeZ
private

Definition at line 39 of file ROperator_Where.hxx.

◆ fInputTensorNames

std::vector<std::string_view> TMVA::Experimental::SOFIE::ROperator::fInputTensorNames
mutableprotectedinherited

Definition at line 50 of file ROperator.hxx.

◆ fIsInputBoolTensor

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

Definition at line 18 of file ROperator_Where.hxx.

◆ fIsOutputConstant

bool TMVA::Experimental::SOFIE::ROperator::fIsOutputConstant = false
protectedinherited

flag to identify if operator has a constant output (no need to generate code)

Definition at line 47 of file ROperator.hxx.

◆ fIsOutputParamShape

bool TMVA::Experimental::SOFIE::ROperator::fIsOutputParamShape = false
protectedinherited

flag to identify of the output represents a parametric shape (can be knwon at compile time)

Definition at line 48 of file ROperator.hxx.

◆ fNBroadcastedC

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

Definition at line 25 of file ROperator_Where.hxx.

◆ fNBroadcastedX

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

Definition at line 26 of file ROperator_Where.hxx.

◆ fNBroadcastedY

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

Definition at line 27 of file ROperator_Where.hxx.

◆ fNC

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

Definition at line 21 of file ROperator_Where.hxx.

◆ fNX

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

Definition at line 22 of file ROperator_Where.hxx.

◆ fNY

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

Definition at line 23 of file ROperator_Where.hxx.

◆ fNZ

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

Definition at line 24 of file ROperator_Where.hxx.

◆ fOutputTensorNames

std::vector<std::string_view> TMVA::Experimental::SOFIE::ROperator::fOutputTensorNames
mutableprotectedinherited

Definition at line 51 of file ROperator.hxx.

◆ fShapeC

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

Definition at line 30 of file ROperator_Where.hxx.

◆ fShapeX

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

Definition at line 31 of file ROperator_Where.hxx.

◆ fShapeY

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

Definition at line 32 of file ROperator_Where.hxx.

◆ fShapeZ

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

Definition at line 33 of file ROperator_Where.hxx.

◆ fUseSession

bool TMVA::Experimental::SOFIE::ROperator::fUseSession = false
protectedinherited

flag to identify if using the session class

Definition at line 46 of file ROperator.hxx.

◆ SP

const std::string TMVA::Experimental::SOFIE::ROperator::SP = " "
protectedinherited

space used to correctly indent the generated C++ code

Definition at line 45 of file ROperator.hxx.


The documentation for this class was generated from the following file: