11namespace Experimental {
15 RFunction_Update(
target, gType), fNumLayers(numLayers), fActivationFunction(activation_function), fActivateFinal(activate_final)
20 throw std::runtime_error(
"TMVA SOFIE GNN doesn't currently supports the provided activation function for " +
31 std::string fGemmInput;
33 std::unique_ptr<ROperator> op_concat;
42 std::unique_ptr<ROperator> op_gemm;
49 std::unique_ptr<ROperator> op_relu;
61 std::unique_ptr<ROperator> op_relu;
70 std::unique_ptr<ROperator> tmp(i);
77 const std::string &nameScale,
const std::string &nameB,
const std::string &nameY) {
79 nameScale, nameB, nameY,
"",
"");
80 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