From 1600e82bcbe22bf9a371a12893fce174ebed0956 Mon Sep 17 00:00:00 2001
From: hrouis <houssemeddine.rouis92@gmail.com>
Date: Fri, 15 Dec 2023 15:22:35 +0100
Subject: [PATCH] fix ReduceMean type

---
 include/aidge/operator/ReduceMean.hpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/aidge/operator/ReduceMean.hpp b/include/aidge/operator/ReduceMean.hpp
index f217df0ae..0acd21b28 100644
--- a/include/aidge/operator/ReduceMean.hpp
+++ b/include/aidge/operator/ReduceMean.hpp
@@ -132,6 +132,10 @@ inline std::shared_ptr<Node> ReduceMean(
     static_assert(DIM<=MaxDim,"Too many kernel dimensions required by ReduceMean, not supported");
     return ReduceMean(to_array(axes), keep_dims, name);
 }
+
+template <DimIdx_t DIM>
+const std::string ReduceMean_Op<DIM>::Type = "ReduceMean";
+
 }  // namespace Aidge
 
 namespace {
-- 
GitLab