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

template<typename IType>
class TMVA::Experimental::SOFIE::ROperator_Slice< IType >

Definition at line 19 of file ROperator_Slice.hxx.

Public Member Functions

 ROperator_Slice ()
 
 ROperator_Slice (std::string nameData, std::vector< IType > starts, std::vector< IType > ends, std::vector< IType > axes, std::string nameOutput)
 
 ROperator_Slice (std::string nameData, std::vector< std::string > names, std::string nameOutput)
 
std::string Generate (std::string OpName)
 
void Initialize (RModel &model)
 
std::vector< std::vector< size_t > > ShapeInference (std::vector< std::vector< size_t > > input)
 
std::vector< ETensorTypeTypeInference (std::vector< ETensorType > input)
 
- Public Member Functions inherited from TMVA::Experimental::SOFIE::ROperator
virtual ~ROperator ()
 
virtual std::string GenerateInitCode ()
 
virtual std::string GenerateSessionMembersCode (std::string)
 
virtual std::vector< std::string > GetBlasRoutines ()
 
virtual std::vector< std::string > GetStdLibs ()
 
virtual std::string Header ()
 

Private Attributes

std::vector< std::vector< IType > > fAttributes
 
std::vector< size_t > fEnd
 
std::vector< std::string > fNames
 
std::string fNData
 
std::string fNOutput
 
std::vector< size_t > fShapeInput
 
std::vector< size_t > fShapeOutput
 
std::vector< size_t > fStart
 
std::vector< size_t > fSteps
 

Additional Inherited Members

- Protected Attributes inherited from TMVA::Experimental::SOFIE::ROperator
bool fIsOutputConstant = false
 flag to identify if operator has a constant output (no need to generate code)
 
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_Slice.hxx>

Inheritance diagram for TMVA::Experimental::SOFIE::ROperator_Slice< IType >:
[legend]

Constructor & Destructor Documentation

◆ ROperator_Slice() [1/3]

template<typename IType >
TMVA::Experimental::SOFIE::ROperator_Slice< IType >::ROperator_Slice ( )
inline

Definition at line 40 of file ROperator_Slice.hxx.

◆ ROperator_Slice() [2/3]

template<typename IType >
TMVA::Experimental::SOFIE::ROperator_Slice< IType >::ROperator_Slice ( std::string  nameData,
std::vector< std::string >  names,
std::string  nameOutput 
)
inline

Definition at line 43 of file ROperator_Slice.hxx.

◆ ROperator_Slice() [3/3]

template<typename IType >
TMVA::Experimental::SOFIE::ROperator_Slice< IType >::ROperator_Slice ( std::string  nameData,
std::vector< IType >  starts,
std::vector< IType >  ends,
std::vector< IType >  axes,
std::string  nameOutput 
)
inline

Definition at line 63 of file ROperator_Slice.hxx.

Member Function Documentation

◆ Generate()

template<typename IType >
std::string TMVA::Experimental::SOFIE::ROperator_Slice< IType >::Generate ( std::string  OpName)
inlinevirtual

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

Definition at line 179 of file ROperator_Slice.hxx.

◆ Initialize()

template<typename IType >
void TMVA::Experimental::SOFIE::ROperator_Slice< IType >::Initialize ( RModel model)
inlinevirtual

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

Definition at line 91 of file ROperator_Slice.hxx.

◆ ShapeInference()

template<typename IType >
std::vector< std::vector< size_t > > TMVA::Experimental::SOFIE::ROperator_Slice< IType >::ShapeInference ( std::vector< std::vector< size_t > >  input)
inlinevirtual

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

Definition at line 79 of file ROperator_Slice.hxx.

◆ TypeInference()

template<typename IType >
std::vector< ETensorType > TMVA::Experimental::SOFIE::ROperator_Slice< IType >::TypeInference ( std::vector< ETensorType input)
inlinevirtual

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

Definition at line 73 of file ROperator_Slice.hxx.

Member Data Documentation

◆ fAttributes

template<typename IType >
std::vector<std::vector<IType> > TMVA::Experimental::SOFIE::ROperator_Slice< IType >::fAttributes
private

Definition at line 35 of file ROperator_Slice.hxx.

◆ fEnd

template<typename IType >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Slice< IType >::fEnd
private

Definition at line 32 of file ROperator_Slice.hxx.

◆ fNames

template<typename IType >
std::vector<std::string> TMVA::Experimental::SOFIE::ROperator_Slice< IType >::fNames
private

Definition at line 26 of file ROperator_Slice.hxx.

◆ fNData

template<typename IType >
std::string TMVA::Experimental::SOFIE::ROperator_Slice< IType >::fNData
private

Definition at line 24 of file ROperator_Slice.hxx.

◆ fNOutput

template<typename IType >
std::string TMVA::Experimental::SOFIE::ROperator_Slice< IType >::fNOutput
private

Definition at line 25 of file ROperator_Slice.hxx.

◆ fShapeInput

template<typename IType >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Slice< IType >::fShapeInput
private

Definition at line 27 of file ROperator_Slice.hxx.

◆ fShapeOutput

template<typename IType >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Slice< IType >::fShapeOutput
private

Definition at line 28 of file ROperator_Slice.hxx.

◆ fStart

template<typename IType >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Slice< IType >::fStart
private

Definition at line 31 of file ROperator_Slice.hxx.

◆ fSteps

template<typename IType >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Slice< IType >::fSteps
private

Definition at line 33 of file ROperator_Slice.hxx.

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