Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::Experimental::SOFIE::RFunction_Update Class Reference

Definition at line 33 of file RFunction.hxx.

Public Member Functions

 RFunction_Update ()
 
 RFunction_Update (FunctionTarget target, GraphType gType)
 
virtual ~RFunction_Update ()
 
virtual void AddInitializedTensors (const std::vector< std::vector< std::string > > &)
 
void AddInputTensors (const std::vector< std::vector< Dim > > &inputShapes)
 
void AddInputTensors (const std::vector< std::vector< std::size_t > > &inputShapes)
 
virtual void AddLayerNormalization (int, float, size_t, const std::string &, const std::string &, const std::string &, const std::string &)
 
std::string Generate (const std::vector< std::string > &inputPtrs)
 
std::string GenerateModel (const std::string &filename, long read_pos=0, long block_size=-1)
 
std::shared_ptr< RModelGetFunctionBlock ()
 
FunctionTarget GetFunctionTarget ()
 
virtual void Initialize ()
 
- Public Member Functions inherited from TMVA::Experimental::SOFIE::RFunction
 RFunction ()
 
 RFunction (std::string funcName, FunctionType type)
 
virtual ~RFunction ()
 
FunctionType GetFunctionType ()
 

Protected Attributes

std::vector< ROperator * > fAddlOp
 
GraphType fGraphType
 
std::vector< std::string > fInputTensors
 
FunctionTarget fTarget
 
std::shared_ptr< RModelfunction_block
 
- Protected Attributes inherited from TMVA::Experimental::SOFIE::RFunction
std::string fFuncName
 
FunctionType fType
 

#include <TMVA/RFunction.hxx>

Inheritance diagram for TMVA::Experimental::SOFIE::RFunction_Update:
[legend]

Constructor & Destructor Documentation

◆ ~RFunction_Update()

virtual TMVA::Experimental::SOFIE::RFunction_Update::~RFunction_Update ( )
inlinevirtual

Definition at line 42 of file RFunction.hxx.

◆ RFunction_Update() [1/2]

TMVA::Experimental::SOFIE::RFunction_Update::RFunction_Update ( )
inline

Definition at line 43 of file RFunction.hxx.

◆ RFunction_Update() [2/2]

TMVA::Experimental::SOFIE::RFunction_Update::RFunction_Update ( FunctionTarget  target,
GraphType  gType 
)

Definition at line 11 of file RFunction.cxx.

Member Function Documentation

◆ AddInitializedTensors()

virtual void TMVA::Experimental::SOFIE::RFunction_Update::AddInitializedTensors ( const std::vector< std::vector< std::string > > &  )
inlinevirtual

Reimplemented in TMVA::Experimental::SOFIE::RFunction_MLP.

Definition at line 46 of file RFunction.hxx.

◆ AddInputTensors() [1/2]

void TMVA::Experimental::SOFIE::RFunction_Update::AddInputTensors ( const std::vector< std::vector< Dim > > &  inputShapes)

Definition at line 56 of file RFunction.cxx.

◆ AddInputTensors() [2/2]

void TMVA::Experimental::SOFIE::RFunction_Update::AddInputTensors ( const std::vector< std::vector< std::size_t > > &  inputShapes)

Definition at line 50 of file RFunction.cxx.

◆ AddLayerNormalization()

virtual void TMVA::Experimental::SOFIE::RFunction_Update::AddLayerNormalization ( int  ,
float  ,
size_t  ,
const std::string &  ,
const std::string &  ,
const std::string &  ,
const std::string &   
)
inlinevirtual

Reimplemented in TMVA::Experimental::SOFIE::RFunction_MLP.

Definition at line 48 of file RFunction.hxx.

◆ Generate()

std::string TMVA::Experimental::SOFIE::RFunction_Update::Generate ( const std::vector< std::string > &  inputPtrs)

Definition at line 74 of file RFunction.cxx.

◆ GenerateModel()

std::string TMVA::Experimental::SOFIE::RFunction_Update::GenerateModel ( const std::string &  filename,
long  read_pos = 0,
long  block_size = -1 
)

Definition at line 63 of file RFunction.cxx.

◆ GetFunctionBlock()

std::shared_ptr< RModel > TMVA::Experimental::SOFIE::RFunction_Update::GetFunctionBlock ( )
inline

Definition at line 52 of file RFunction.hxx.

◆ GetFunctionTarget()

FunctionTarget TMVA::Experimental::SOFIE::RFunction_Update::GetFunctionTarget ( )
inline

Definition at line 57 of file RFunction.hxx.

◆ Initialize()

virtual void TMVA::Experimental::SOFIE::RFunction_Update::Initialize ( )
inlinevirtual

Reimplemented in TMVA::Experimental::SOFIE::RFunction_MLP.

Definition at line 47 of file RFunction.hxx.

Member Data Documentation

◆ fAddlOp

std::vector<ROperator*> TMVA::Experimental::SOFIE::RFunction_Update::fAddlOp
protected

Definition at line 39 of file RFunction.hxx.

◆ fGraphType

GraphType TMVA::Experimental::SOFIE::RFunction_Update::fGraphType
protected

Definition at line 37 of file RFunction.hxx.

◆ fInputTensors

std::vector<std::string> TMVA::Experimental::SOFIE::RFunction_Update::fInputTensors
protected

Definition at line 38 of file RFunction.hxx.

◆ fTarget

FunctionTarget TMVA::Experimental::SOFIE::RFunction_Update::fTarget
protected

Definition at line 36 of file RFunction.hxx.

◆ function_block

std::shared_ptr<RModel> TMVA::Experimental::SOFIE::RFunction_Update::function_block
protected

Definition at line 35 of file RFunction.hxx.

  • tmva/sofie/inc/TMVA/RFunction.hxx
  • tmva/sofie/src/RFunction.cxx