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

template<class T>
class TMVA::Experimental::SOFIE::ROperator_NonZero< T >

Definition at line 15 of file ROperator_NonZero.hxx.

Public Member Functions

 ROperator_NonZero ()
 
 ROperator_NonZero (std::string nameX, std::string nameY)
 
std::string Generate (std::string opName) override
 
virtual std::string GenerateDeclCode ()
 
virtual std::string GenerateInitCode ()
 
std::string GenerateSessionMembersCode (std::string) 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
 

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 known at compile time)
 
std::vector< std::string_view > fOutputTensorNames
 
const std::string SP = " "
 space used to correctly indent the generated C++ code
 

Private Attributes

bool fDeclaresParam = false
 
std::string fNonZeroParam
 
std::string fNX
 
std::string fNY
 
std::vector< Dim > fShapeX
 
std::vector< Dim > fShapeY
 

#include <TMVA/ROperator_NonZero.hxx>

Inheritance diagram for TMVA::Experimental::SOFIE::ROperator_NonZero< T >:
[legend]

Constructor & Destructor Documentation

◆ ROperator_NonZero() [1/2]

template<class T >
TMVA::Experimental::SOFIE::ROperator_NonZero< T >::ROperator_NonZero ( )
inline

Definition at line 28 of file ROperator_NonZero.hxx.

◆ ROperator_NonZero() [2/2]

template<class T >
TMVA::Experimental::SOFIE::ROperator_NonZero< T >::ROperator_NonZero ( std::string nameX,
std::string nameY )
inline

Definition at line 29 of file ROperator_NonZero.hxx.

Member Function Documentation

◆ Generate()

template<class T >
std::string TMVA::Experimental::SOFIE::ROperator_NonZero< T >::Generate ( std::string opName)
inlineoverridevirtual

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

Definition at line 132 of file ROperator_NonZero.hxx.

◆ GenerateDeclCode()

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

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

Definition at line 26 of file ROperator.hxx.

◆ GenerateInitCode()

◆ GenerateSessionMembersCode()

template<class T >
std::string TMVA::Experimental::SOFIE::ROperator_NonZero< T >::GenerateSessionMembersCode ( std::string )
inlineoverridevirtual

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

Definition at line 123 of file ROperator_NonZero.hxx.

◆ GetBlasRoutines()

◆ GetOpInputTensors()

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

Definition at line 48 of file ROperator.hxx.

◆ GetOpOutputTensors()

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

Definition at line 52 of file ROperator.hxx.

◆ GetStdLibs()

◆ Header()

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

Definition at line 29 of file ROperator.hxx.

◆ Initialize()

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

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

Definition at line 37 of file ROperator_NonZero.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 32 of file ROperator.hxx.

Member Data Documentation

◆ fDeclaresParam

template<class T >
bool TMVA::Experimental::SOFIE::ROperator_NonZero< T >::fDeclaresParam = false
private

Definition at line 23 of file ROperator_NonZero.hxx.

◆ fInputTensorNames

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

Definition at line 44 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 41 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 known at compile time)

Definition at line 42 of file ROperator.hxx.

◆ fNonZeroParam

template<class T >
std::string TMVA::Experimental::SOFIE::ROperator_NonZero< T >::fNonZeroParam
private

Definition at line 22 of file ROperator_NonZero.hxx.

◆ fNX

template<class T >
std::string TMVA::Experimental::SOFIE::ROperator_NonZero< T >::fNX
private

Definition at line 20 of file ROperator_NonZero.hxx.

◆ fNY

template<class T >
std::string TMVA::Experimental::SOFIE::ROperator_NonZero< T >::fNY
private

Definition at line 21 of file ROperator_NonZero.hxx.

◆ fOutputTensorNames

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

Definition at line 45 of file ROperator.hxx.

◆ fShapeX

template<class T >
std::vector<Dim> TMVA::Experimental::SOFIE::ROperator_NonZero< T >::fShapeX
private

Definition at line 24 of file ROperator_NonZero.hxx.

◆ fShapeY

template<class T >
std::vector<Dim> TMVA::Experimental::SOFIE::ROperator_NonZero< T >::fShapeY
private

Definition at line 25 of file ROperator_NonZero.hxx.

◆ SP

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

space used to correctly indent the generated C++ code

Definition at line 40 of file ROperator.hxx.

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