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

Definition at line 17 of file ROperator_Transpose.hxx.

Public Member Functions

 ROperator_Transpose ()
 
 ROperator_Transpose (std::vector< int64_t > attr_perm, std::string nameData, std::string nameOutput)
 
std::string Generate (std::string opName) override
 
void Initialize (RModel &model) override
 
template<class T >
void ProcessInitializedTensor (RModel &model)
 
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 ()
 
bool IsOutputConstant () const
 check if the output of the operator is Constant and is evaluated at initialization time
 

Private Attributes

std::vector< int64_t > fAttrPerm
 
std::string fNX
 
std::string fNY
 
std::vector< DimfShapeX
 
std::vector< DimfShapeY
 

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_Transpose.hxx>

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

Constructor & Destructor Documentation

◆ ROperator_Transpose() [1/2]

TMVA::Experimental::SOFIE::ROperator_Transpose::ROperator_Transpose ( )
inline

Definition at line 31 of file ROperator_Transpose.hxx.

◆ ROperator_Transpose() [2/2]

TMVA::Experimental::SOFIE::ROperator_Transpose::ROperator_Transpose ( std::vector< int64_t > attr_perm,
std::string nameData,
std::string nameOutput )
inline

Definition at line 32 of file ROperator_Transpose.hxx.

Member Function Documentation

◆ Generate()

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

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

Definition at line 143 of file ROperator_Transpose.hxx.

◆ Initialize()

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

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

Definition at line 94 of file ROperator_Transpose.hxx.

◆ ProcessInitializedTensor()

template<class T >
void TMVA::Experimental::SOFIE::ROperator_Transpose::ProcessInitializedTensor ( RModel & model)
inline

Definition at line 59 of file ROperator_Transpose.hxx.

◆ ShapeInference()

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

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

Definition at line 43 of file ROperator_Transpose.hxx.

◆ TypeInference()

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

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

Definition at line 39 of file ROperator_Transpose.hxx.

Member Data Documentation

◆ fAttrPerm

std::vector<int64_t> TMVA::Experimental::SOFIE::ROperator_Transpose::fAttrPerm
private

Definition at line 22 of file ROperator_Transpose.hxx.

◆ fNX

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

Definition at line 24 of file ROperator_Transpose.hxx.

◆ fNY

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

Definition at line 25 of file ROperator_Transpose.hxx.

◆ fShapeX

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

Definition at line 26 of file ROperator_Transpose.hxx.

◆ fShapeY

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

Definition at line 27 of file ROperator_Transpose.hxx.

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