diff options
author | SiCong Li <sicong.li@arm.com> | 2020-08-18 11:03:14 +0100 |
---|---|---|
committer | SiCong Li <sicong.li@arm.com> | 2020-08-24 09:10:31 +0000 |
commit | ebd8fb479aa978c428c54c12be6457a0e635c363 (patch) | |
tree | 3c35f8b3797709eec01b59e53f3b1ec672c0c403 /arm_compute | |
parent | a3e6b6d2c556227aea0c145014612beb6e5c15c8 (diff) | |
download | ComputeLibrary-ebd8fb479aa978c428c54c12be6457a0e635c363.tar.gz |
COMPMID-3747 Remove unnecessary and problematic constness from non-static private members
* These classes could not be moved or assigned to prior to the change
Signed-off-by: SiCong Li <sicong.li@arm.com>
Change-Id: I4c9d97726749cb6ba69ddd4f419fb0f63db2261f
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3784
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute')
-rw-r--r-- | arm_compute/core/Types.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index 97505001ea..022e20dadc 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -1741,11 +1741,11 @@ public: } private: - const bool _are_reshaped; - const unsigned int _kernel_width; - const unsigned int _kernel_height; - const unsigned int _num_kernels; - const bool _retain_internal_weights; + bool _are_reshaped; + unsigned int _kernel_width; + unsigned int _kernel_height; + unsigned int _num_kernels; + bool _retain_internal_weights; }; /** GEMM reshape information class. This class stores the necessary information about matrix A and matrix B reshape. @@ -1852,14 +1852,14 @@ public: }; private: - const int _m; - const int _n; - const int _k; - const int _mult_transpose1xW_width; - const int _mult_interleave4x4_height; - const int _depth_output_gemm3d; - const bool _reinterpret_input_as_3d; - const bool _broadcast_bias; + int _m; + int _n; + int _k; + int _mult_transpose1xW_width; + int _mult_interleave4x4_height; + int _depth_output_gemm3d; + bool _reinterpret_input_as_3d; + bool _broadcast_bias; }; struct DepthwiseConvolutionReshapeInfo |