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

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

Definition at line 17 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::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 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< T, IType >:
[legend]

Constructor & Destructor Documentation

◆ ROperator_Slice() [1/3]

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

Definition at line 38 of file ROperator_Slice.hxx.

◆ ROperator_Slice() [2/3]

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

Definition at line 41 of file ROperator_Slice.hxx.

◆ ROperator_Slice() [3/3]

template<typename T , typename IType >
TMVA::Experimental::SOFIE::ROperator_Slice< T, 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 57 of file ROperator_Slice.hxx.

Member Function Documentation

◆ Generate()

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

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

Definition at line 160 of file ROperator_Slice.hxx.

◆ Initialize()

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

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

Definition at line 85 of file ROperator_Slice.hxx.

◆ ShapeInference()

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

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

Definition at line 73 of file ROperator_Slice.hxx.

◆ TypeInference()

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

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

Definition at line 67 of file ROperator_Slice.hxx.

Member Data Documentation

◆ fAttributes

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

Definition at line 33 of file ROperator_Slice.hxx.

◆ fEnd

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

Definition at line 30 of file ROperator_Slice.hxx.

◆ fNames

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

Definition at line 24 of file ROperator_Slice.hxx.

◆ fNData

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

Definition at line 22 of file ROperator_Slice.hxx.

◆ fNOutput

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

Definition at line 23 of file ROperator_Slice.hxx.

◆ fShapeInput

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

Definition at line 25 of file ROperator_Slice.hxx.

◆ fShapeOutput

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

Definition at line 26 of file ROperator_Slice.hxx.

◆ fStart

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

Definition at line 29 of file ROperator_Slice.hxx.

◆ fSteps

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

Definition at line 31 of file ROperator_Slice.hxx.

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