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

Definition at line 18 of file ROperator_Reshape.hxx.

Public Member Functions

 ROperator_Reshape ()
 
 ROperator_Reshape (ReshapeOpMode opMode, int attr_value, std::string nameData, std::string nameShape, std::string nameOutput)
 
 ROperator_Reshape (ReshapeOpMode opMode, std::vector< int64_t > attrAxes, std::string nameData, std::string nameOutput)
 
std::string Generate (std::string OpName)
 
void Initialize (RModel &model)
 
std::string Name () const
 
std::vector< std::vector< size_t > > ShapeInference (std::vector< std::vector< size_t > > input)
 
std::vector< ETensorTypeTypeInference (std::vector< ETensorType > input)
 
- Public Member Functions inherited from TMVA::Experimental::SOFIE::ROperator
virtual ~ROperator ()
 
virtual std::string GenerateInitCode ()
 
virtual std::string GenerateSessionMembersCode (std::string)
 
virtual std::vector< std::string > GetBlasRoutines ()
 
virtual std::vector< std::string > GetStdLibs ()
 
virtual std::string Header ()
 

Private Attributes

int fAllowZero = 0
 
std::vector< int64_t > fAttrAxes
 
int fAxis = 1
 
std::string fNData
 
std::string fNOutput
 
std::string fNShape
 
ReshapeOpMode fOpMode = Reshape
 
std::vector< size_t > fShapeInput
 
std::vector< size_t > fShapeOutput
 
bool fVerbose = false
 

Additional Inherited Members

- Protected Attributes inherited from TMVA::Experimental::SOFIE::ROperator
bool fIsOutputConstant = false
 flag to identify if operator has a constant output (no need to generate code)
 
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_Reshape.hxx>

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

Constructor & Destructor Documentation

◆ ROperator_Reshape() [1/3]

TMVA::Experimental::SOFIE::ROperator_Reshape::ROperator_Reshape ( )
inline

Definition at line 46 of file ROperator_Reshape.hxx.

◆ ROperator_Reshape() [2/3]

TMVA::Experimental::SOFIE::ROperator_Reshape::ROperator_Reshape ( ReshapeOpMode  opMode,
int  attr_value,
std::string  nameData,
std::string  nameShape,
std::string  nameOutput 
)
inline

Definition at line 47 of file ROperator_Reshape.hxx.

◆ ROperator_Reshape() [3/3]

TMVA::Experimental::SOFIE::ROperator_Reshape::ROperator_Reshape ( ReshapeOpMode  opMode,
std::vector< int64_t >  attrAxes,
std::string  nameData,
std::string  nameOutput 
)
inline

Definition at line 57 of file ROperator_Reshape.hxx.

Member Function Documentation

◆ Generate()

std::string TMVA::Experimental::SOFIE::ROperator_Reshape::Generate ( std::string  OpName)
inlinevirtual

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

Definition at line 217 of file ROperator_Reshape.hxx.

◆ Initialize()

void TMVA::Experimental::SOFIE::ROperator_Reshape::Initialize ( RModel model)
inlinevirtual

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

Definition at line 163 of file ROperator_Reshape.hxx.

◆ Name()

std::string TMVA::Experimental::SOFIE::ROperator_Reshape::Name ( ) const
inline

Definition at line 38 of file ROperator_Reshape.hxx.

◆ ShapeInference()

std::vector< std::vector< size_t > > TMVA::Experimental::SOFIE::ROperator_Reshape::ShapeInference ( std::vector< std::vector< size_t > >  input)
inlinevirtual

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

Definition at line 71 of file ROperator_Reshape.hxx.

◆ TypeInference()

std::vector< ETensorType > TMVA::Experimental::SOFIE::ROperator_Reshape::TypeInference ( std::vector< ETensorType input)
inlinevirtual

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

Definition at line 65 of file ROperator_Reshape.hxx.

Member Data Documentation

◆ fAllowZero

int TMVA::Experimental::SOFIE::ROperator_Reshape::fAllowZero = 0
private

Definition at line 26 of file ROperator_Reshape.hxx.

◆ fAttrAxes

std::vector<int64_t> TMVA::Experimental::SOFIE::ROperator_Reshape::fAttrAxes
private

Definition at line 34 of file ROperator_Reshape.hxx.

◆ fAxis

int TMVA::Experimental::SOFIE::ROperator_Reshape::fAxis = 1
private

Definition at line 27 of file ROperator_Reshape.hxx.

◆ fNData

std::string TMVA::Experimental::SOFIE::ROperator_Reshape::fNData
private

Definition at line 29 of file ROperator_Reshape.hxx.

◆ fNOutput

std::string TMVA::Experimental::SOFIE::ROperator_Reshape::fNOutput
private

Definition at line 31 of file ROperator_Reshape.hxx.

◆ fNShape

std::string TMVA::Experimental::SOFIE::ROperator_Reshape::fNShape
private

Definition at line 30 of file ROperator_Reshape.hxx.

◆ fOpMode

ReshapeOpMode TMVA::Experimental::SOFIE::ROperator_Reshape::fOpMode = Reshape
private

Definition at line 24 of file ROperator_Reshape.hxx.

◆ fShapeInput

std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Reshape::fShapeInput
private

Definition at line 32 of file ROperator_Reshape.hxx.

◆ fShapeOutput

std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Reshape::fShapeOutput
private

Definition at line 33 of file ROperator_Reshape.hxx.

◆ fVerbose

bool TMVA::Experimental::SOFIE::ROperator_Reshape::fVerbose = false
private

Definition at line 23 of file ROperator_Reshape.hxx.

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