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

Definition at line 17 of file ROperator_Shape.hxx.

Public Member Functions

 ROperator_Shape ()
 
 ROperator_Shape (int start, int end, std::string nameX, 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

int fEnd = 0
 
std::string fNX
 
std::string fNY
 
std::vector< size_t > fOutput_shape
 
std::vector< size_t > fShape
 
int fStart = 0
 

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

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

Constructor & Destructor Documentation

◆ ROperator_Shape() [1/2]

TMVA::Experimental::SOFIE::ROperator_Shape::ROperator_Shape ( )
inline

Definition at line 31 of file ROperator_Shape.hxx.

◆ ROperator_Shape() [2/2]

TMVA::Experimental::SOFIE::ROperator_Shape::ROperator_Shape ( int start,
int end,
std::string nameX,
std::string nameY )
inline

Definition at line 32 of file ROperator_Shape.hxx.

Member Function Documentation

◆ Generate()

std::string TMVA::Experimental::SOFIE::ROperator_Shape::Generate ( std::string OpName)
inlineoverridevirtual

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

Definition at line 74 of file ROperator_Shape.hxx.

◆ Initialize()

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

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

Definition at line 38 of file ROperator_Shape.hxx.

Member Data Documentation

◆ fEnd

int TMVA::Experimental::SOFIE::ROperator_Shape::fEnd = 0
private

Definition at line 24 of file ROperator_Shape.hxx.

◆ fNX

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

Definition at line 25 of file ROperator_Shape.hxx.

◆ fNY

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

Definition at line 26 of file ROperator_Shape.hxx.

◆ fOutput_shape

std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Shape::fOutput_shape
private

Definition at line 28 of file ROperator_Shape.hxx.

◆ fShape

std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Shape::fShape
private

Definition at line 27 of file ROperator_Shape.hxx.

◆ fStart

int TMVA::Experimental::SOFIE::ROperator_Shape::fStart = 0
private

Definition at line 23 of file ROperator_Shape.hxx.

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