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

Private Attributes

int64_t fAttrAxis = 0
 
std::vector< int64_t > fIndices
 
std::string fNIndices
 
std::string fNX
 
std::string fNY
 
std::vector< size_t > fShapeIndices
 
std::vector< size_t > fShapeX
 
std::vector< size_t > fShapeY
 
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)
 
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_Gather.hxx>

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

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 122 of file ROperator_Gather.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.

◆ ShapeInference()

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

Implements 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

Implements 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.

◆ 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.

◆ fShapeIndices

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

Definition at line 27 of file ROperator_Gather.hxx.

◆ fShapeX

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

Definition at line 26 of file ROperator_Gather.hxx.

◆ fShapeY

std::vector<size_t> 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.

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