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_Cast Class Referencefinal

Definition at line 15 of file ROperator_Cast.hxx.

Public Member Functions

 ROperator_Cast ()
 
 ROperator_Cast (std::string attr_type, std::string nameX, 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

std::string fAttrType = "float"
 
std::string fNX
 
std::string fNY
 
std::vector< size_t > fShape
 

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

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

Constructor & Destructor Documentation

◆ ROperator_Cast() [1/2]

TMVA::Experimental::SOFIE::ROperator_Cast::ROperator_Cast ( )
inline

Definition at line 26 of file ROperator_Cast.hxx.

◆ ROperator_Cast() [2/2]

TMVA::Experimental::SOFIE::ROperator_Cast::ROperator_Cast ( std::string attr_type,
std::string nameX,
std::string nameY )
inline

Definition at line 27 of file ROperator_Cast.hxx.

Member Function Documentation

◆ Generate()

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

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

Definition at line 71 of file ROperator_Cast.hxx.

◆ Initialize()

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

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

Definition at line 43 of file ROperator_Cast.hxx.

◆ ShapeInference()

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

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

Definition at line 38 of file ROperator_Cast.hxx.

◆ TypeInference()

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

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

Definition at line 34 of file ROperator_Cast.hxx.

Member Data Documentation

◆ fAttrType

std::string TMVA::Experimental::SOFIE::ROperator_Cast::fAttrType = "float"
private

Definition at line 23 of file ROperator_Cast.hxx.

◆ fNX

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

Definition at line 20 of file ROperator_Cast.hxx.

◆ fNY

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

Definition at line 21 of file ROperator_Cast.hxx.

◆ fShape

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

Definition at line 22 of file ROperator_Cast.hxx.

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