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

Definition at line 16 of file ROperator_GatherND.hxx.

Public Member Functions

 ROperator_GatherND ()
 
 ROperator_GatherND (int batch_dims, std::string nameX, std::string nameIndices, std::string nameY)
 
std::string Generate (std::string opName) override
 
void Initialize (RModel &model) override
 
- Public Member Functions inherited from TMVA::Experimental::SOFIE::ROperator
virtual ~ROperator ()
 
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 ()
 
virtual std::vector< std::vector< size_t > > ShapeInference (std::vector< std::vector< size_t > >)
 
virtual std::vector< ETensorTypeTypeInference (std::vector< ETensorType >)
 

Private Attributes

size_t fBatchDims = 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
 

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

#include <TMVA/ROperator_GatherND.hxx>

Inheritance diagram for TMVA::Experimental::SOFIE::ROperator_GatherND:
[legend]

Constructor & Destructor Documentation

◆ ROperator_GatherND() [1/2]

TMVA::Experimental::SOFIE::ROperator_GatherND::ROperator_GatherND ( )
inline

Definition at line 34 of file ROperator_GatherND.hxx.

◆ ROperator_GatherND() [2/2]

TMVA::Experimental::SOFIE::ROperator_GatherND::ROperator_GatherND ( int batch_dims,
std::string nameX,
std::string nameIndices,
std::string nameY )
inline

Definition at line 35 of file ROperator_GatherND.hxx.

Member Function Documentation

◆ Generate()

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

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

Definition at line 172 of file ROperator_GatherND.hxx.

◆ Initialize()

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

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

Definition at line 41 of file ROperator_GatherND.hxx.

Member Data Documentation

◆ fBatchDims

size_t TMVA::Experimental::SOFIE::ROperator_GatherND::fBatchDims = 0
private

Definition at line 20 of file ROperator_GatherND.hxx.

◆ fIndices

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

Definition at line 29 of file ROperator_GatherND.hxx.

◆ fNIndices

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

Definition at line 22 of file ROperator_GatherND.hxx.

◆ fNX

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

Definition at line 21 of file ROperator_GatherND.hxx.

◆ fNY

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

Definition at line 23 of file ROperator_GatherND.hxx.

◆ fShapeIndices

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

Definition at line 26 of file ROperator_GatherND.hxx.

◆ fShapeX

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

Definition at line 25 of file ROperator_GatherND.hxx.

◆ fShapeY

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

Definition at line 27 of file ROperator_GatherND.hxx.

◆ fType

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

Definition at line 31 of file ROperator_GatherND.hxx.

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