From 097ee26fb8ed2ebc1f4d90fb7f6aee582fd5e663 Mon Sep 17 00:00:00 2001 From: NAUD Maxence <maxence.naud@cea.fr> Date: Mon, 3 Jun 2024 08:28:26 +0000 Subject: [PATCH] Move AvgPooling external class template declaration out of namespace --- include/aidge/operator/AvgPooling.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/aidge/operator/AvgPooling.hpp b/include/aidge/operator/AvgPooling.hpp index af2993d67..9a9fced14 100644 --- a/include/aidge/operator/AvgPooling.hpp +++ b/include/aidge/operator/AvgPooling.hpp @@ -102,13 +102,14 @@ inline std::shared_ptr<Node> AvgPooling( return AvgPooling(to_array(kernel_dims), name, stride_dims); } + +} // namespace Aidge + extern template class Aidge::AvgPooling_Op<1>; extern template class Aidge::AvgPooling_Op<2>; extern template class Aidge::AvgPooling_Op<3>; extern template class Aidge::AvgPooling_Op<4>; -} // namespace Aidge - namespace { template <> const char *const EnumStrings<Aidge::AvgPoolingAttr>::data[] = {"StrideDims", -- GitLab