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

Definition at line 15 of file ROperator_ScatterElements.hxx.

Public Member Functions

 ROperator_ScatterElements ()
 
 ROperator_ScatterElements (const std::string &nameX, const std::string &nameI, const std::string &nameU, const std::string &nameY, int axis, std::string reduction)
 
std::string Generate (std::string opName) override
 
std::string GenerateInitCode () 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 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 Member Functions

std::string ReductionFunction (const std::string &t1, const std::string &t2)
 

Private Attributes

int64_t fAxis
 
std::string fNI
 
std::string fNU
 
std::string fNX
 
std::string fNY
 
std::string fReduction
 
std::vector< size_t > fShapeI
 
std::vector< size_t > fShapeX
 
std::vector< size_t > fShapeY
 

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

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

Constructor & Destructor Documentation

◆ ROperator_ScatterElements() [1/2]

TMVA::Experimental::SOFIE::ROperator_ScatterElements::ROperator_ScatterElements ( )
inline

Definition at line 51 of file ROperator_ScatterElements.hxx.

◆ ROperator_ScatterElements() [2/2]

TMVA::Experimental::SOFIE::ROperator_ScatterElements::ROperator_ScatterElements ( const std::string & nameX,
const std::string & nameI,
const std::string & nameU,
const std::string & nameY,
int axis,
std::string reduction )
inline

Definition at line 52 of file ROperator_ScatterElements.hxx.

Member Function Documentation

◆ Generate()

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

◆ GenerateInitCode()

std::string TMVA::Experimental::SOFIE::ROperator_ScatterElements::GenerateInitCode ( )
inlineoverridevirtual

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

Definition at line 103 of file ROperator_ScatterElements.hxx.

◆ Initialize()

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

◆ ReductionFunction()

std::string TMVA::Experimental::SOFIE::ROperator_ScatterElements::ReductionFunction ( const std::string & t1,
const std::string & t2 )
inlineprivate

Definition at line 32 of file ROperator_ScatterElements.hxx.

◆ ShapeInference()

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

◆ TypeInference()

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

Member Data Documentation

◆ fAxis

int64_t TMVA::Experimental::SOFIE::ROperator_ScatterElements::fAxis
private

Definition at line 18 of file ROperator_ScatterElements.hxx.

◆ fNI

std::string TMVA::Experimental::SOFIE::ROperator_ScatterElements::fNI
private

Definition at line 21 of file ROperator_ScatterElements.hxx.

◆ fNU

std::string TMVA::Experimental::SOFIE::ROperator_ScatterElements::fNU
private

Definition at line 22 of file ROperator_ScatterElements.hxx.

◆ fNX

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

Definition at line 20 of file ROperator_ScatterElements.hxx.

◆ fNY

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

Definition at line 23 of file ROperator_ScatterElements.hxx.

◆ fReduction

std::string TMVA::Experimental::SOFIE::ROperator_ScatterElements::fReduction
private

Definition at line 24 of file ROperator_ScatterElements.hxx.

◆ fShapeI

std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_ScatterElements::fShapeI
private

Definition at line 27 of file ROperator_ScatterElements.hxx.

◆ fShapeX

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

Definition at line 26 of file ROperator_ScatterElements.hxx.

◆ fShapeY

std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_ScatterElements::fShapeY
private

Definition at line 28 of file ROperator_ScatterElements.hxx.

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