Definition at line 18 of file ROperator.hxx.
Public Member Functions | |
virtual | ~ROperator () |
virtual std::string | Generate (std::string OpName)=0 |
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 () |
virtual void | Initialize (RModel &)=0 |
virtual std::vector< std::vector< size_t > > | ShapeInference (std::vector< std::vector< size_t > >)=0 |
virtual std::vector< ETensorType > | TypeInference (std::vector< ETensorType >)=0 |
Protected Attributes | |
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.hxx>
|
inlinevirtual |
Definition at line 37 of file ROperator.hxx.
|
pure virtual |
Implemented in TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >, TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >, TMVA::Experimental::SOFIE::ROperator_Cast< T >, TMVA::Experimental::SOFIE::ROperator_Concat< T >, TMVA::Experimental::SOFIE::ROperator_Conv< T >, TMVA::Experimental::SOFIE::ROperator_Custom< T >, TMVA::Experimental::SOFIE::ROperator_Erf< T >, TMVA::Experimental::SOFIE::ROperator_Gather< T >, TMVA::Experimental::SOFIE::ROperator_Gemm< T >, TMVA::Experimental::SOFIE::ROperator_Identity< T >, TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >, TMVA::Experimental::SOFIE::ROperator_LSTM< T >, TMVA::Experimental::SOFIE::ROperator_Pool< T >, TMVA::Experimental::SOFIE::ROperator_Reduce< T, Op >, TMVA::Experimental::SOFIE::ROperator_Relu< T >, TMVA::Experimental::SOFIE::ROperator_Reshape< T >, TMVA::Experimental::SOFIE::ROperator_RNN< T >, TMVA::Experimental::SOFIE::ROperator_Selu< T >, TMVA::Experimental::SOFIE::ROperator_Shape, TMVA::Experimental::SOFIE::ROperator_Sigmoid< T >, TMVA::Experimental::SOFIE::ROperator_Slice< T, IType >, TMVA::Experimental::SOFIE::ROperator_Softmax< T >, TMVA::Experimental::SOFIE::ROperator_Swish< T >, TMVA::Experimental::SOFIE::ROperator_Tanh< T >, TMVA::Experimental::SOFIE::ROperator_Transpose< T >, TMVA::Experimental::SOFIE::ROperator_BasicBinary< T, Op >, TMVA::Experimental::SOFIE::ROperator_BasicUnary< T, Op >, TMVA::Experimental::SOFIE::ROperator_ConvTranspose< T >, TMVA::Experimental::SOFIE::ROperator_Expand< T >, TMVA::Experimental::SOFIE::ROperator_LayerNormalization< T >, and TMVA::Experimental::SOFIE::ROperator_GRU< T >.
|
inlinevirtual |
Reimplemented in TMVA::Experimental::SOFIE::ROperator_Conv< T >, TMVA::Experimental::SOFIE::ROperator_Gemm< T >, TMVA::Experimental::SOFIE::ROperator_Pool< T >, TMVA::Experimental::SOFIE::ROperator_BasicBinary< T, Op >, TMVA::Experimental::SOFIE::ROperator_ConvTranspose< T >, TMVA::Experimental::SOFIE::ROperator_Expand< T >, and TMVA::Experimental::SOFIE::ROperator_LayerNormalization< T >.
Definition at line 29 of file ROperator.hxx.
|
inlinevirtual |
Reimplemented in TMVA::Experimental::SOFIE::ROperator_Conv< T >, TMVA::Experimental::SOFIE::ROperator_GRU< T >, TMVA::Experimental::SOFIE::ROperator_LSTM< T >, TMVA::Experimental::SOFIE::ROperator_Pool< T >, TMVA::Experimental::SOFIE::ROperator_RNN< T >, and TMVA::Experimental::SOFIE::ROperator_ConvTranspose< T >.
Definition at line 31 of file ROperator.hxx.
|
inlinevirtual |
Reimplemented in TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >, TMVA::Experimental::SOFIE::ROperator_Conv< T >, TMVA::Experimental::SOFIE::ROperator_Gemm< T >, TMVA::Experimental::SOFIE::ROperator_GRU< T >, TMVA::Experimental::SOFIE::ROperator_LSTM< T >, TMVA::Experimental::SOFIE::ROperator_RNN< T >, TMVA::Experimental::SOFIE::ROperator_ConvTranspose< T >, and TMVA::Experimental::SOFIE::ROperator_LayerNormalization< T >.
Definition at line 22 of file ROperator.hxx.
|
inlinevirtual |
Reimplemented in TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >, TMVA::Experimental::SOFIE::ROperator_Erf< T >, TMVA::Experimental::SOFIE::ROperator_Selu< T >, TMVA::Experimental::SOFIE::ROperator_Sigmoid< T >, TMVA::Experimental::SOFIE::ROperator_Swish< T >, TMVA::Experimental::SOFIE::ROperator_Tanh< T >, TMVA::Experimental::SOFIE::ROperator_BasicBinary< T, Op >, and TMVA::Experimental::SOFIE::ROperator_LayerNormalization< T >.
Definition at line 23 of file ROperator.hxx.
|
inlinevirtual |
Definition at line 32 of file ROperator.hxx.
|
pure virtual |
Implemented in TMVA::Experimental::SOFIE::ROperator_GRU< T >, TMVA::Experimental::SOFIE::ROperator_ConvTranspose< T >, TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >, TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >, TMVA::Experimental::SOFIE::ROperator_Cast< T >, TMVA::Experimental::SOFIE::ROperator_Concat< T >, TMVA::Experimental::SOFIE::ROperator_Conv< T >, TMVA::Experimental::SOFIE::ROperator_Custom< T >, TMVA::Experimental::SOFIE::ROperator_Erf< T >, TMVA::Experimental::SOFIE::ROperator_Gather< T >, TMVA::Experimental::SOFIE::ROperator_Gemm< T >, TMVA::Experimental::SOFIE::ROperator_Identity< T >, TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >, TMVA::Experimental::SOFIE::ROperator_LSTM< T >, TMVA::Experimental::SOFIE::ROperator_Pool< T >, TMVA::Experimental::SOFIE::ROperator_Reduce< T, Op >, TMVA::Experimental::SOFIE::ROperator_Relu< T >, TMVA::Experimental::SOFIE::ROperator_Reshape< T >, TMVA::Experimental::SOFIE::ROperator_RNN< T >, TMVA::Experimental::SOFIE::ROperator_Selu< T >, TMVA::Experimental::SOFIE::ROperator_Shape, TMVA::Experimental::SOFIE::ROperator_Sigmoid< T >, TMVA::Experimental::SOFIE::ROperator_Slice< T, IType >, TMVA::Experimental::SOFIE::ROperator_Softmax< T >, TMVA::Experimental::SOFIE::ROperator_Swish< T >, TMVA::Experimental::SOFIE::ROperator_Tanh< T >, TMVA::Experimental::SOFIE::ROperator_Transpose< T >, TMVA::Experimental::SOFIE::ROperator_BasicBinary< T, Op >, TMVA::Experimental::SOFIE::ROperator_BasicUnary< T, Op >, TMVA::Experimental::SOFIE::ROperator_Expand< T >, and TMVA::Experimental::SOFIE::ROperator_LayerNormalization< T >.
|
pure virtual |
Implemented in TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >, TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >, TMVA::Experimental::SOFIE::ROperator_Cast< T >, TMVA::Experimental::SOFIE::ROperator_Conv< T >, TMVA::Experimental::SOFIE::ROperator_Erf< T >, TMVA::Experimental::SOFIE::ROperator_Gather< T >, TMVA::Experimental::SOFIE::ROperator_Gemm< T >, TMVA::Experimental::SOFIE::ROperator_Identity< T >, TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >, TMVA::Experimental::SOFIE::ROperator_LSTM< T >, TMVA::Experimental::SOFIE::ROperator_Pool< T >, TMVA::Experimental::SOFIE::ROperator_Reduce< T, Op >, TMVA::Experimental::SOFIE::ROperator_Relu< T >, TMVA::Experimental::SOFIE::ROperator_Reshape< T >, TMVA::Experimental::SOFIE::ROperator_RNN< T >, TMVA::Experimental::SOFIE::ROperator_Selu< T >, TMVA::Experimental::SOFIE::ROperator_Shape, TMVA::Experimental::SOFIE::ROperator_Sigmoid< T >, TMVA::Experimental::SOFIE::ROperator_Slice< T, IType >, TMVA::Experimental::SOFIE::ROperator_Softmax< T >, TMVA::Experimental::SOFIE::ROperator_Swish< T >, TMVA::Experimental::SOFIE::ROperator_Tanh< T >, TMVA::Experimental::SOFIE::ROperator_Transpose< T >, TMVA::Experimental::SOFIE::ROperator_BasicBinary< T, Op >, TMVA::Experimental::SOFIE::ROperator_BasicUnary< T, Op >, TMVA::Experimental::SOFIE::ROperator_Expand< T >, TMVA::Experimental::SOFIE::ROperator_LayerNormalization< T >, TMVA::Experimental::SOFIE::ROperator_Concat< T >, TMVA::Experimental::SOFIE::ROperator_Custom< T >, TMVA::Experimental::SOFIE::ROperator_GRU< T >, and TMVA::Experimental::SOFIE::ROperator_ConvTranspose< T >.
|
pure virtual |
Implemented in TMVA::Experimental::SOFIE::ROperator_BasicNary< T, Op >, TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >, TMVA::Experimental::SOFIE::ROperator_Cast< T >, TMVA::Experimental::SOFIE::ROperator_Concat< T >, TMVA::Experimental::SOFIE::ROperator_Conv< T >, TMVA::Experimental::SOFIE::ROperator_Erf< T >, TMVA::Experimental::SOFIE::ROperator_Gather< T >, TMVA::Experimental::SOFIE::ROperator_Gemm< T >, TMVA::Experimental::SOFIE::ROperator_Identity< T >, TMVA::Experimental::SOFIE::ROperator_LeakyRelu< T >, TMVA::Experimental::SOFIE::ROperator_LSTM< T >, TMVA::Experimental::SOFIE::ROperator_Pool< T >, TMVA::Experimental::SOFIE::ROperator_Reduce< T, Op >, TMVA::Experimental::SOFIE::ROperator_Relu< T >, TMVA::Experimental::SOFIE::ROperator_Reshape< T >, TMVA::Experimental::SOFIE::ROperator_RNN< T >, TMVA::Experimental::SOFIE::ROperator_Selu< T >, TMVA::Experimental::SOFIE::ROperator_Shape, TMVA::Experimental::SOFIE::ROperator_Sigmoid< T >, TMVA::Experimental::SOFIE::ROperator_Slice< T, IType >, TMVA::Experimental::SOFIE::ROperator_Softmax< T >, TMVA::Experimental::SOFIE::ROperator_Swish< T >, TMVA::Experimental::SOFIE::ROperator_Tanh< T >, TMVA::Experimental::SOFIE::ROperator_Transpose< T >, TMVA::Experimental::SOFIE::ROperator_BasicBinary< T, Op >, TMVA::Experimental::SOFIE::ROperator_BasicUnary< T, Op >, TMVA::Experimental::SOFIE::ROperator_ConvTranspose< T >, TMVA::Experimental::SOFIE::ROperator_Expand< T >, TMVA::Experimental::SOFIE::ROperator_LayerNormalization< T >, TMVA::Experimental::SOFIE::ROperator_Custom< T >, and TMVA::Experimental::SOFIE::ROperator_GRU< T >.
|
protected |
flag to identify if using the session class
Definition at line 42 of file ROperator.hxx.
|
protected |
space used to correctly indent the generated C++ code
Definition at line 41 of file ROperator.hxx.