Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TMVA::Experimental::SOFIE::ROperator_Gather Class Referencefinal

Definition at line 16 of file ROperator_Gather.hxx.

Public Member Functions

 ROperator_Gather ()
 ROperator_Gather (int64_t attrAxis, std::string nameX, std::string nameIndices, std::string nameY)
std::string Generate (std::string opName) override
virtual std::string GenerateDeclCode ()
virtual std::string GenerateInitCode ()
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

int64_t fAttrAxis = 0
std::vector< int64_t > fIndices
std::string fNIndices
std::string fNX
std::string fNY
std::vector< DimfShapeIndices
std::vector< DimfShapeX
std::vector< DimfShapeY
std::string fType

#include <TMVA/ROperator_Gather.hxx>

Inheritance diagram for TMVA::Experimental::SOFIE::ROperator_Gather:
TMVA::Experimental::SOFIE::ROperator

Constructor & Destructor Documentation

◆ ROperator_Gather() [1/2]

TMVA::Experimental::SOFIE::ROperator_Gather::ROperator_Gather ( )
inline

Definition at line 35 of file ROperator_Gather.hxx.

◆ ROperator_Gather() [2/2]

TMVA::Experimental::SOFIE::ROperator_Gather::ROperator_Gather ( int64_t attrAxis,
std::string nameX,
std::string nameIndices,
std::string nameY )
inline

Definition at line 36 of file ROperator_Gather.hxx.

Member Function Documentation

◆ Generate()

std::string TMVA::Experimental::SOFIE::ROperator_Gather::Generate ( std::string opName)
inlineoverridevirtual

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

Definition at line 153 of file ROperator_Gather.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()

◆ 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()

void TMVA::Experimental::SOFIE::ROperator_Gather::Initialize ( RModel & model)
inlineoverridevirtual

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

Definition at line 51 of file ROperator_Gather.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()

std::vector< std::vector< size_t > > TMVA::Experimental::SOFIE::ROperator_Gather::ShapeInference ( std::vector< std::vector< size_t > > input)
inlineoverridevirtual

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

Definition at line 46 of file ROperator_Gather.hxx.

◆ TypeInference()

std::vector< ETensorType > TMVA::Experimental::SOFIE::ROperator_Gather::TypeInference ( std::vector< ETensorType > input)
inlineoverridevirtual

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

Definition at line 42 of file ROperator_Gather.hxx.

Member Data Documentation

◆ fAttrAxis

int64_t TMVA::Experimental::SOFIE::ROperator_Gather::fAttrAxis = 0
private

Definition at line 20 of file ROperator_Gather.hxx.

◆ fIndices

std::vector<int64_t> TMVA::Experimental::SOFIE::ROperator_Gather::fIndices
private

Definition at line 30 of file ROperator_Gather.hxx.

◆ fInputTensorNames

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

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

◆ fNIndices

std::string TMVA::Experimental::SOFIE::ROperator_Gather::fNIndices
private

Definition at line 23 of file ROperator_Gather.hxx.

◆ fNX

std::string TMVA::Experimental::SOFIE::ROperator_Gather::fNX
private

Definition at line 22 of file ROperator_Gather.hxx.

◆ fNY

std::string TMVA::Experimental::SOFIE::ROperator_Gather::fNY
private

Definition at line 24 of file ROperator_Gather.hxx.

◆ fOutputTensorNames

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

Definition at line 51 of file ROperator.hxx.

◆ fShapeIndices

std::vector<Dim> TMVA::Experimental::SOFIE::ROperator_Gather::fShapeIndices
private

Definition at line 27 of file ROperator_Gather.hxx.

◆ fShapeX

std::vector<Dim> TMVA::Experimental::SOFIE::ROperator_Gather::fShapeX
private

Definition at line 26 of file ROperator_Gather.hxx.

◆ fShapeY

std::vector<Dim> TMVA::Experimental::SOFIE::ROperator_Gather::fShapeY
private

Definition at line 28 of file ROperator_Gather.hxx.

◆ fType

std::string TMVA::Experimental::SOFIE::ROperator_Gather::fType
private

Definition at line 32 of file ROperator_Gather.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: