From b8fdfffd7fb714ad61f99db51e94c59a3557f98e Mon Sep 17 00:00:00 2001
From: cmoineau <cyril.moineau@cea.fr>
Date: Fri, 14 Feb 2025 13:05:00 +0000
Subject: [PATCH] Switch multiple attribute name to follow snake case
 convention.

---
 include/aidge/operator/BitShift.hpp  | 6 +++---
 include/aidge/operator/Resize.hpp    | 8 ++++----
 include/aidge/operator/Squeeze.hpp   | 2 +-
 include/aidge/operator/Unsqueeze.hpp | 2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/include/aidge/operator/BitShift.hpp b/include/aidge/operator/BitShift.hpp
index 711cf8585..9368e3461 100644
--- a/include/aidge/operator/BitShift.hpp
+++ b/include/aidge/operator/BitShift.hpp
@@ -28,7 +28,7 @@ namespace Aidge {
 
 enum class BitShiftAttr {
     /**
-     * 
+     *
      */
     BitShiftdirection
 };
@@ -41,7 +41,7 @@ enum class BitShiftAttr {
  * - **InputTensor**: The tensor whose elements will be shifted.
  * - **ShiftAmount**: The tensor specifying the shift amount for each element.
  *
- * The shift is applied in the direction specified by the attribute `BitShiftdirection`, 
+ * The shift is applied in the direction specified by the attribute `BitShiftdirection`,
  * which can either be `left` or `right`.
  *
  * @see OperatorTensor
@@ -166,7 +166,7 @@ namespace {
  * @brief Specialization of `EnumStrings` for `BitShiftAttr`.
  */
 template <>
-const char* const EnumStrings<Aidge::BitShiftAttr>::data[] = { "BitShiftdirection" };
+const char* const EnumStrings<Aidge::BitShiftAttr>::data[] = { "bit_shift_direction" };
 }
 
 #endif /* AIDGE_CORE_OPERATOR_BITSHIFT_H_ */
diff --git a/include/aidge/operator/Resize.hpp b/include/aidge/operator/Resize.hpp
index c3c7838ef..89224f927 100644
--- a/include/aidge/operator/Resize.hpp
+++ b/include/aidge/operator/Resize.hpp
@@ -225,10 +225,10 @@ Resize(std::vector<float> scale = std::vector<float>(),
 namespace {
 template <>
 const char *const EnumStrings<Aidge::ResizeAttr>::data[] = {
-    "coordinateTransformationMode",
-    "cubicCoeffA",
-    "InterpolationMode",
-    "PaddingMode"
+    "coordinate_transformation_mode",
+    "cubic_coeff_a",
+    "interpolation_mode",
+    "padding_mode"
 };
 }
 #endif /* AIDGE_CORE_OPERATOR_RESIZE_H_ */
diff --git a/include/aidge/operator/Squeeze.hpp b/include/aidge/operator/Squeeze.hpp
index 5c966edaf..e3c1f4de1 100644
--- a/include/aidge/operator/Squeeze.hpp
+++ b/include/aidge/operator/Squeeze.hpp
@@ -154,7 +154,7 @@ inline std::shared_ptr<Node> Squeeze(const std::vector<int8_t> axes = {},
 
 namespace {
 template <>
-const char *const EnumStrings<Aidge::SqueezeAttr>::data[] = {"Axes"};
+const char *const EnumStrings<Aidge::SqueezeAttr>::data[] = {"axes"};
 }
 
 #endif // AIDGE_CORE_OPERATOR_SQUEEZE_H_
diff --git a/include/aidge/operator/Unsqueeze.hpp b/include/aidge/operator/Unsqueeze.hpp
index c07105405..c25800acb 100644
--- a/include/aidge/operator/Unsqueeze.hpp
+++ b/include/aidge/operator/Unsqueeze.hpp
@@ -152,7 +152,7 @@ inline std::shared_ptr<Node> Unsqueeze(const std::vector<int8_t> &axes = {},
 
 namespace {
 template <>
-const char *const EnumStrings<Aidge::UnsqueezeAttr>::data[] = {"Axes"};
+const char *const EnumStrings<Aidge::UnsqueezeAttr>::data[] = {"axes"};
 }
 
 #endif // AIDGE_CORE_OPERATOR_UNSQUEEZE_H_
-- 
GitLab