11namespace Experimental {
17 throw std::runtime_error(
"TMVA SOFIE GNN doesn't currently supports the provided activation function for " +
fFuncName +
" update.");
30 std::string fGemmInput;
32 std::unique_ptr<ROperator> op_concat;
41 std::unique_ptr<ROperator> op_gemm;
47 std::unique_ptr<ROperator> op_relu;
59 std::unique_ptr<ROperator> op_relu;
68 std::unique_ptr<ROperator> tmp(i);
75 const std::string &nameScale,
const std::string &nameB,
const std::string &nameY) {
77 nameScale, nameB, nameY,
"",
"");
78 fAddlOp.push_back((op_layerNorm));
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t target
std::vector< std::string > fKernelTensors
RFunction_MLP(FunctionTarget target, Int_t numLayers, Activation activation_function=Activation::RELU, bool activate_final=false, GraphType gType=GraphType::GNN)
void AddLayerNormalization(int axis, float epsilon, size_t stashType, const std::string &nameX, const std::string &nameScale, const std::string &nameB, const std::string &nameY)
std::vector< std::string > fBiasTensors
Activation fActivationFunction
std::vector< ROperator * > fAddlOp
std::shared_ptr< RModel > function_block
std::vector< std::string > fInputTensors
std::string Clean_name(std::string input_tensor_name)
create variable transformations