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

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

Definition at line 20 of file ROperator_Conv.hxx.

Public Member Functions

 ROperator_Conv ()
 
 ROperator_Conv (std::string autopad, std::vector< size_t > dilations, size_t group, std::vector< size_t > kernelShape, std::vector< size_t > pads, std::vector< size_t > strides, std::string nameX, std::string nameW, std::string nameB, std::string nameY)
 
 ROperator_Conv (std::string autopad, std::vector< size_t > dilations, size_t group, std::vector< size_t > kernelShape, std::vector< size_t > pads, std::vector< size_t > strides, std::string nameX, std::string nameW, std::string nameY)
 
std::string Generate (std::string OpName)
 
std::string GenerateInitCode ()
 
virtual std::string GenerateSessionMembersCode (std::string opName)
 
std::vector< std::string > GetBlasRoutines ()
 Returns the blas routines needed to compile the generated code.
 
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::vector< std::string > GetStdLibs ()
 
virtual std::string Header ()
 

Private Attributes

std::string fAttrAutopad
 
std::vector< size_t > fAttrDilations
 
size_t fAttrGroup
 
std::vector< size_t > fAttrKernelShape
 
std::vector< size_t > fAttrPads
 
std::vector< size_t > fAttrStrides
 
size_t fDim
 
std::string fNB
 
std::string fNB2
 
std::string fNW
 
std::string fNX
 
std::string fNY
 
std::vector< size_t > fShapeB
 
std::vector< size_t > fShapeW
 
std::vector< size_t > fShapeX
 
std::vector< size_t > fShapeY
 
std::string fType
 

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

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

Constructor & Destructor Documentation

◆ ROperator_Conv() [1/3]

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

Definition at line 48 of file ROperator_Conv.hxx.

◆ ROperator_Conv() [2/3]

template<typename T >
TMVA::Experimental::SOFIE::ROperator_Conv< T >::ROperator_Conv ( std::string  autopad,
std::vector< size_t >  dilations,
size_t  group,
std::vector< size_t >  kernelShape,
std::vector< size_t >  pads,
std::vector< size_t >  strides,
std::string  nameX,
std::string  nameW,
std::string  nameB,
std::string  nameY 
)
inline

Definition at line 50 of file ROperator_Conv.hxx.

◆ ROperator_Conv() [3/3]

template<typename T >
TMVA::Experimental::SOFIE::ROperator_Conv< T >::ROperator_Conv ( std::string  autopad,
std::vector< size_t >  dilations,
size_t  group,
std::vector< size_t >  kernelShape,
std::vector< size_t >  pads,
std::vector< size_t >  strides,
std::string  nameX,
std::string  nameW,
std::string  nameY 
)
inline

Definition at line 67 of file ROperator_Conv.hxx.

Member Function Documentation

◆ Generate()

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

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

Definition at line 303 of file ROperator_Conv.hxx.

◆ GenerateInitCode()

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Conv< T >::GenerateInitCode ( )
inlinevirtual

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

Definition at line 262 of file ROperator_Conv.hxx.

◆ GenerateSessionMembersCode()

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

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

Definition at line 281 of file ROperator_Conv.hxx.

◆ GetBlasRoutines()

template<typename T >
std::vector< std::string > TMVA::Experimental::SOFIE::ROperator_Conv< T >::GetBlasRoutines ( )
inlinevirtual

Returns the blas routines needed to compile the generated code.

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

Definition at line 541 of file ROperator_Conv.hxx.

◆ Initialize()

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

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

Definition at line 197 of file ROperator_Conv.hxx.

◆ ShapeInference()

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

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

Definition at line 89 of file ROperator_Conv.hxx.

◆ TypeInference()

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

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

Definition at line 83 of file ROperator_Conv.hxx.

Member Data Documentation

◆ fAttrAutopad

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

Definition at line 23 of file ROperator_Conv.hxx.

◆ fAttrDilations

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

Definition at line 24 of file ROperator_Conv.hxx.

◆ fAttrGroup

template<typename T >
size_t TMVA::Experimental::SOFIE::ROperator_Conv< T >::fAttrGroup
private

Definition at line 25 of file ROperator_Conv.hxx.

◆ fAttrKernelShape

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

Definition at line 26 of file ROperator_Conv.hxx.

◆ fAttrPads

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

Definition at line 27 of file ROperator_Conv.hxx.

◆ fAttrStrides

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

Definition at line 28 of file ROperator_Conv.hxx.

◆ fDim

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

Definition at line 43 of file ROperator_Conv.hxx.

◆ fNB

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Conv< T >::fNB
private

Definition at line 32 of file ROperator_Conv.hxx.

◆ fNB2

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Conv< T >::fNB2
private

Definition at line 33 of file ROperator_Conv.hxx.

◆ fNW

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_Conv< T >::fNW
private

Definition at line 31 of file ROperator_Conv.hxx.

◆ fNX

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

Definition at line 30 of file ROperator_Conv.hxx.

◆ fNY

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

Definition at line 34 of file ROperator_Conv.hxx.

◆ fShapeB

template<typename T >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Conv< T >::fShapeB
private

Definition at line 38 of file ROperator_Conv.hxx.

◆ fShapeW

template<typename T >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_Conv< T >::fShapeW
private

Definition at line 37 of file ROperator_Conv.hxx.

◆ fShapeX

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

Definition at line 36 of file ROperator_Conv.hxx.

◆ fShapeY

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

Definition at line 39 of file ROperator_Conv.hxx.

◆ fType

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

Definition at line 41 of file ROperator_Conv.hxx.

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