Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TMVA::Experimental::SOFIE::ROperator_Pool< T > Class Template Referencefinal

template<typename T>
class TMVA::Experimental::SOFIE::ROperator_Pool< T >

Definition at line 34 of file ROperator_Pool.hxx.

Public Member Functions

 ROperator_Pool ()
 ROperator_Pool (PoolOpMode mode, RAttributes_Pool attr, std::string nameX, std::string nameY)
std::string Generate (std::string OpName) override
virtual std::string GenerateDeclCode ()
std::string GenerateInitCode () override
virtual std::string GenerateSessionMembersCode (std::string opName) override
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 ()
void Initialize (RModel &model) override
bool IsOutputConstant () const
 check if the output of the operator is Constant and is evaluated at initialization time
std::string Name ()
std::vector< std::vector< size_t > > ShapeInference (std::vector< std::vector< size_t > > input) override
std::vector< ETensorTypeTypeInference (std::vector< ETensorType > input) override

Protected Attributes

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
const std::string SP = " "
 space used to correctly indent the generated C++ code

Private Attributes

std::string fAttrAutopad
size_t fAttrCeilMode
size_t fAttrCountIncludePad
std::vector< size_t > fAttrDilations
std::vector< size_t > fAttrKernelShape
std::vector< size_t > fAttrPads
size_t fAttrStorageOrder
std::vector< size_t > fAttrStrides
size_t fDim
std::string fNX
std::string fNY
PoolOpMode fPoolMode
std::vector< size_t > fShapeX
std::vector< size_t > fShapeY
std::string fType
bool fUseSession = false

#include <TMVA/ROperator_Pool.hxx>

Inheritance diagram for TMVA::Experimental::SOFIE::ROperator_Pool< T >:
TMVA::Experimental::SOFIE::ROperator

Constructor & Destructor Documentation

◆ ROperator_Pool() [1/2]

template<typename T>
TMVA::Experimental::SOFIE::ROperator_Pool< T >::ROperator_Pool ( )
inline

Definition at line 69 of file ROperator_Pool.hxx.

◆ ROperator_Pool() [2/2]

template<typename T>
TMVA::Experimental::SOFIE::ROperator_Pool< T >::ROperator_Pool ( PoolOpMode mode,
RAttributes_Pool attr,
std::string nameX,
std::string nameY )
inline

Definition at line 71 of file ROperator_Pool.hxx.

Member Function Documentation

◆ Generate()

template<typename T>
std::string TMVA::Experimental::SOFIE::ROperator_Pool< T >::Generate ( std::string OpName)
inlineoverridevirtual

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

Definition at line 271 of file ROperator_Pool.hxx.

◆ GenerateDeclCode()

virtual std::string TMVA::Experimental::SOFIE::ROperator::GenerateDeclCode ( )
inlinevirtualinherited

Reimplemented in TMVA::Experimental::SOFIE::ROperator_Random.

Definition at line 31 of file ROperator.hxx.

◆ GenerateInitCode()

template<typename T>
std::string TMVA::Experimental::SOFIE::ROperator_Pool< T >::GenerateInitCode ( )
inlineoverridevirtual

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

Definition at line 243 of file ROperator_Pool.hxx.

◆ GenerateSessionMembersCode()

template<typename T>
virtual std::string TMVA::Experimental::SOFIE::ROperator_Pool< T >::GenerateSessionMembersCode ( std::string opName)
inlineoverridevirtual

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

Definition at line 249 of file ROperator_Pool.hxx.

◆ GetBlasRoutines()

◆ GetOpInputTensors()

std::span< const std::string_view > TMVA::Experimental::SOFIE::ROperator::GetOpInputTensors ( ) const
inlineinherited

Definition at line 54 of file ROperator.hxx.

◆ GetOpOutputTensors()

std::span< const std::string_view > TMVA::Experimental::SOFIE::ROperator::GetOpOutputTensors ( ) const
inlineinherited

Definition at line 58 of file ROperator.hxx.

◆ GetStdLibs()

◆ Header()

virtual std::string TMVA::Experimental::SOFIE::ROperator::Header ( )
inlinevirtualinherited

Definition at line 34 of file ROperator.hxx.

◆ Initialize()

template<typename T>
void TMVA::Experimental::SOFIE::ROperator_Pool< T >::Initialize ( RModel & model)
inlineoverridevirtual

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

Definition at line 206 of file ROperator_Pool.hxx.

◆ IsOutputConstant()

bool TMVA::Experimental::SOFIE::ROperator::IsOutputConstant ( ) const
inlineinherited

check if the output of the operator is Constant and is evaluated at initialization time

Definition at line 37 of file ROperator.hxx.

◆ Name()

template<typename T>
std::string TMVA::Experimental::SOFIE::ROperator_Pool< T >::Name ( )
inline

Definition at line 63 of file ROperator_Pool.hxx.

◆ ShapeInference()

template<typename T>
std::vector< std::vector< size_t > > TMVA::Experimental::SOFIE::ROperator_Pool< T >::ShapeInference ( std::vector< std::vector< size_t > > input)
inlineoverridevirtual

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

Definition at line 94 of file ROperator_Pool.hxx.

◆ TypeInference()

template<typename T>
std::vector< ETensorType > TMVA::Experimental::SOFIE::ROperator_Pool< T >::TypeInference ( std::vector< ETensorType > input)
inlineoverridevirtual

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

Definition at line 88 of file ROperator_Pool.hxx.

Member Data Documentation

◆ fAttrAutopad

template<typename T>
std::string TMVA::Experimental::SOFIE::ROperator_Pool< T >::fAttrAutopad
private

Definition at line 44 of file ROperator_Pool.hxx.

◆ fAttrCeilMode

template<typename T>
size_t TMVA::Experimental::SOFIE::ROperator_Pool< T >::fAttrCeilMode
private

Definition at line 41 of file ROperator_Pool.hxx.

◆ fAttrCountIncludePad

template<typename T>
size_t TMVA::Experimental::SOFIE::ROperator_Pool< T >::fAttrCountIncludePad
private

Definition at line 42 of file ROperator_Pool.hxx.

◆ fAttrDilations

template<typename T>
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Pool< T >::fAttrDilations
private

Definition at line 45 of file ROperator_Pool.hxx.

◆ fAttrKernelShape

template<typename T>
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Pool< T >::fAttrKernelShape
private

Definition at line 46 of file ROperator_Pool.hxx.

◆ fAttrPads

template<typename T>
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Pool< T >::fAttrPads
private

Definition at line 47 of file ROperator_Pool.hxx.

◆ fAttrStorageOrder

template<typename T>
size_t TMVA::Experimental::SOFIE::ROperator_Pool< T >::fAttrStorageOrder
private

Definition at line 43 of file ROperator_Pool.hxx.

◆ fAttrStrides

template<typename T>
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Pool< T >::fAttrStrides
private

Definition at line 48 of file ROperator_Pool.hxx.

◆ fDim

template<typename T>
size_t TMVA::Experimental::SOFIE::ROperator_Pool< T >::fDim
private

Definition at line 58 of file ROperator_Pool.hxx.

◆ fInputTensorNames

std::vector<std::string_view> TMVA::Experimental::SOFIE::ROperator::fInputTensorNames
mutableprotectedinherited

Definition at line 50 of file ROperator.hxx.

◆ fIsOutputConstant

bool TMVA::Experimental::SOFIE::ROperator::fIsOutputConstant = false
protectedinherited

flag to identify if operator has a constant output (no need to generate code)

Definition at line 47 of file ROperator.hxx.

◆ fIsOutputParamShape

bool TMVA::Experimental::SOFIE::ROperator::fIsOutputParamShape = false
protectedinherited

flag to identify of the output represents a parametric shape (can be knwon at compile time)

Definition at line 48 of file ROperator.hxx.

◆ fNX

template<typename T>
std::string TMVA::Experimental::SOFIE::ROperator_Pool< T >::fNX
private

Definition at line 50 of file ROperator_Pool.hxx.

◆ fNY

template<typename T>
std::string TMVA::Experimental::SOFIE::ROperator_Pool< T >::fNY
private

Definition at line 51 of file ROperator_Pool.hxx.

◆ fOutputTensorNames

std::vector<std::string_view> TMVA::Experimental::SOFIE::ROperator::fOutputTensorNames
mutableprotectedinherited

Definition at line 51 of file ROperator.hxx.

◆ fPoolMode

template<typename T>
PoolOpMode TMVA::Experimental::SOFIE::ROperator_Pool< T >::fPoolMode
private

Definition at line 39 of file ROperator_Pool.hxx.

◆ fShapeX

template<typename T>
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Pool< T >::fShapeX
private

Definition at line 53 of file ROperator_Pool.hxx.

◆ fShapeY

template<typename T>
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Pool< T >::fShapeY
private

Definition at line 54 of file ROperator_Pool.hxx.

◆ fType

template<typename T>
std::string TMVA::Experimental::SOFIE::ROperator_Pool< T >::fType
private

Definition at line 56 of file ROperator_Pool.hxx.

◆ fUseSession

template<typename T>
bool TMVA::Experimental::SOFIE::ROperator_Pool< T >::fUseSession = false
private

Definition at line 59 of file ROperator_Pool.hxx.

◆ SP

const std::string TMVA::Experimental::SOFIE::ROperator::SP = " "
protectedinherited

space used to correctly indent the generated C++ code

Definition at line 45 of file ROperator.hxx.


The documentation for this class was generated from the following file: