aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/dynamic_fusion/sketch/attributes
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/dynamic_fusion/sketch/attributes')
-rw-r--r--arm_compute/dynamic_fusion/sketch/attributes/CastAttributes.h4
-rw-r--r--arm_compute/dynamic_fusion/sketch/attributes/Conv2dAttributes.h7
-rw-r--r--arm_compute/dynamic_fusion/sketch/attributes/DepthwiseConv2dAttributes.h11
-rw-r--r--arm_compute/dynamic_fusion/sketch/attributes/Pool2dAttributes.h4
-rw-r--r--arm_compute/dynamic_fusion/sketch/attributes/ResizeAttributes.h7
-rw-r--r--arm_compute/dynamic_fusion/sketch/attributes/SoftmaxAttributes.h2
6 files changed, 19 insertions, 16 deletions
diff --git a/arm_compute/dynamic_fusion/sketch/attributes/CastAttributes.h b/arm_compute/dynamic_fusion/sketch/attributes/CastAttributes.h
index 59efc8bd5d..ba2f658c7c 100644
--- a/arm_compute/dynamic_fusion/sketch/attributes/CastAttributes.h
+++ b/arm_compute/dynamic_fusion/sketch/attributes/CastAttributes.h
@@ -49,8 +49,8 @@ public:
ConvertPolicy convert_policy() const;
private:
- DataType _data_type{}; /**< Data Type to be casted to */
- ConvertPolicy _convert_policy{ ConvertPolicy::SATURATE }; /**< Convert Policy */
+ DataType _data_type{}; /**< Data Type to be casted to */
+ ConvertPolicy _convert_policy{ConvertPolicy::SATURATE}; /**< Convert Policy */
};
} // namespace dynamic_fusion
} // namespace experimental
diff --git a/arm_compute/dynamic_fusion/sketch/attributes/Conv2dAttributes.h b/arm_compute/dynamic_fusion/sketch/attributes/Conv2dAttributes.h
index 58102d8d88..a98ef0363e 100644
--- a/arm_compute/dynamic_fusion/sketch/attributes/Conv2dAttributes.h
+++ b/arm_compute/dynamic_fusion/sketch/attributes/Conv2dAttributes.h
@@ -26,6 +26,7 @@
#include "arm_compute/core/Size2D.h"
#include "arm_compute/core/Types.h"
+
#include <cstdint>
namespace arm_compute
@@ -55,9 +56,9 @@ public:
Size2D dilation() const;
private:
- Padding2D _pad{}; /**< Padding */
- Size2D _stride{ 1U, 1U }; /**< Stride */
- Size2D _dilation{ 1U, 1U }; /**< Dilation */
+ Padding2D _pad{}; /**< Padding */
+ Size2D _stride{1U, 1U}; /**< Stride */
+ Size2D _dilation{1U, 1U}; /**< Dilation */
};
} // namespace dynamic_fusion
} // namespace experimental
diff --git a/arm_compute/dynamic_fusion/sketch/attributes/DepthwiseConv2dAttributes.h b/arm_compute/dynamic_fusion/sketch/attributes/DepthwiseConv2dAttributes.h
index 6d05e9e4d6..c46b25cb5d 100644
--- a/arm_compute/dynamic_fusion/sketch/attributes/DepthwiseConv2dAttributes.h
+++ b/arm_compute/dynamic_fusion/sketch/attributes/DepthwiseConv2dAttributes.h
@@ -26,6 +26,7 @@
#include "arm_compute/core/Size2D.h"
#include "arm_compute/core/Types.h"
+
#include <cstdint>
namespace arm_compute
@@ -63,11 +64,11 @@ public:
DimensionRoundingType dimension_rounding_type() const;
private:
- Padding2D _pad{}; /**< Padding */
- Size2D _stride{ 1U, 1U }; /**< Stride */
- Size2D _dilation{ 1U, 1U }; /**< Dilation */
- uint32_t _depth_multiplier{ 1U }; /**< Depth multiplier */
- DimensionRoundingType _dimension_rounding_type{ DimensionRoundingType::FLOOR }; /**< Dimension rounding type */
+ Padding2D _pad{}; /**< Padding */
+ Size2D _stride{1U, 1U}; /**< Stride */
+ Size2D _dilation{1U, 1U}; /**< Dilation */
+ uint32_t _depth_multiplier{1U}; /**< Depth multiplier */
+ DimensionRoundingType _dimension_rounding_type{DimensionRoundingType::FLOOR}; /**< Dimension rounding type */
};
} // namespace dynamic_fusion
} // namespace experimental
diff --git a/arm_compute/dynamic_fusion/sketch/attributes/Pool2dAttributes.h b/arm_compute/dynamic_fusion/sketch/attributes/Pool2dAttributes.h
index be30781d86..19d8b96dcf 100644
--- a/arm_compute/dynamic_fusion/sketch/attributes/Pool2dAttributes.h
+++ b/arm_compute/dynamic_fusion/sketch/attributes/Pool2dAttributes.h
@@ -72,8 +72,8 @@ private:
PoolingType _pool_type{};
Padding2D _pad{};
Size2D _pool_size{};
- Size2D _stride{ 1U, 1U };
- bool _exclude_padding{ true };
+ Size2D _stride{1U, 1U};
+ bool _exclude_padding{true};
};
} // namespace dynamic_fusion
diff --git a/arm_compute/dynamic_fusion/sketch/attributes/ResizeAttributes.h b/arm_compute/dynamic_fusion/sketch/attributes/ResizeAttributes.h
index 8992693cd1..7410cc7e70 100644
--- a/arm_compute/dynamic_fusion/sketch/attributes/ResizeAttributes.h
+++ b/arm_compute/dynamic_fusion/sketch/attributes/ResizeAttributes.h
@@ -27,6 +27,7 @@
#include "arm_compute/core/PixelValue.h"
#include "arm_compute/core/Types.h"
+
#include <cstdint>
namespace arm_compute
@@ -75,9 +76,9 @@ public:
private:
int32_t _output_width{};
int32_t _output_height{};
- InterpolationPolicy _interpolation_policy{ InterpolationPolicy::BILINEAR };
- SamplingPolicy _sampling_policy{ SamplingPolicy::CENTER };
- bool _align_corners{ false };
+ InterpolationPolicy _interpolation_policy{InterpolationPolicy::BILINEAR};
+ SamplingPolicy _sampling_policy{SamplingPolicy::CENTER};
+ bool _align_corners{false};
};
} // namespace dynamic_fusion
diff --git a/arm_compute/dynamic_fusion/sketch/attributes/SoftmaxAttributes.h b/arm_compute/dynamic_fusion/sketch/attributes/SoftmaxAttributes.h
index fc50aa0f68..61654bfa27 100644
--- a/arm_compute/dynamic_fusion/sketch/attributes/SoftmaxAttributes.h
+++ b/arm_compute/dynamic_fusion/sketch/attributes/SoftmaxAttributes.h
@@ -51,7 +51,7 @@ public:
int axis() const;
private:
- float _beta{ 1.f }; /**< Scaling factor for the exponent */
+ float _beta{1.f}; /**< Scaling factor for the exponent */
bool _is_log_softmax{}; /**< True if operation is log-softmax */
int _axis{}; /**< Axis/Dimension to perform the operation */
};