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

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

Definition at line 17 of file ROperator_BatchNormalization.hxx.

Public Member Functions

 ROperator_BatchNormalization ()=delete
 
 ROperator_BatchNormalization (float epsilon, float momentum, std::size_t training_mode, std::string nameX, std::string nameScale, std::string nameB, std::string nameMean, std::string nameVar, std::string nameY)
 
std::string Generate (std::string OpName)
 
std::vector< std::string > GetBlasRoutines ()
 
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 > GetStdLibs ()
 
virtual std::string Header ()
 

Private Attributes

float fepsilon = 1e-05
 
float fmomentum = 0.9
 
std::string fNB
 
std::string fNMean
 
std::string fNScale
 
std::string fNVar
 
std::string fNX
 
std::string fNY
 
std::vector< size_t > fShapeB
 
std::vector< size_t > fShapeMean
 
std::vector< size_t > fShapeScale
 
std::vector< size_t > fShapeVar
 
std::vector< size_t > fShapeX
 
std::vector< size_t > fShapeY
 
std::size_t ftraining_mode = 0
 
std::string fType
 

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

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

Constructor & Destructor Documentation

◆ ROperator_BatchNormalization() [1/2]

template<typename T >
TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >::ROperator_BatchNormalization ( )
delete

◆ ROperator_BatchNormalization() [2/2]

template<typename T >
TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >::ROperator_BatchNormalization ( float  epsilon,
float  momentum,
std::size_t  training_mode,
std::string  nameX,
std::string  nameScale,
std::string  nameB,
std::string  nameMean,
std::string  nameVar,
std::string  nameY 
)
inline

Definition at line 47 of file ROperator_BatchNormalization.hxx.

Member Function Documentation

◆ Generate()

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

◆ GetBlasRoutines()

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

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

Definition at line 222 of file ROperator_BatchNormalization.hxx.

◆ Initialize()

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

◆ ShapeInference()

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

◆ TypeInference()

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

Member Data Documentation

◆ fepsilon

template<typename T >
float TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >::fepsilon = 1e-05
private

Definition at line 23 of file ROperator_BatchNormalization.hxx.

◆ fmomentum

template<typename T >
float TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >::fmomentum = 0.9
private

Definition at line 24 of file ROperator_BatchNormalization.hxx.

◆ fNB

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

Definition at line 29 of file ROperator_BatchNormalization.hxx.

◆ fNMean

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >::fNMean
private

Definition at line 30 of file ROperator_BatchNormalization.hxx.

◆ fNScale

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >::fNScale
private

Definition at line 28 of file ROperator_BatchNormalization.hxx.

◆ fNVar

template<typename T >
std::string TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >::fNVar
private

Definition at line 31 of file ROperator_BatchNormalization.hxx.

◆ fNX

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

Definition at line 27 of file ROperator_BatchNormalization.hxx.

◆ fNY

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

Definition at line 32 of file ROperator_BatchNormalization.hxx.

◆ fShapeB

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

Definition at line 36 of file ROperator_BatchNormalization.hxx.

◆ fShapeMean

template<typename T >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >::fShapeMean
private

Definition at line 37 of file ROperator_BatchNormalization.hxx.

◆ fShapeScale

template<typename T >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >::fShapeScale
private

Definition at line 35 of file ROperator_BatchNormalization.hxx.

◆ fShapeVar

template<typename T >
std::vector<size_t> TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >::fShapeVar
private

Definition at line 38 of file ROperator_BatchNormalization.hxx.

◆ fShapeX

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

Definition at line 34 of file ROperator_BatchNormalization.hxx.

◆ fShapeY

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

Definition at line 39 of file ROperator_BatchNormalization.hxx.

◆ ftraining_mode

template<typename T >
std::size_t TMVA::Experimental::SOFIE::ROperator_BatchNormalization< T >::ftraining_mode = 0
private

Definition at line 25 of file ROperator_BatchNormalization.hxx.

◆ fType

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

Definition at line 41 of file ROperator_BatchNormalization.hxx.

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