diff options
author | Nikolaj Jensen <nikolaj.jensen@arm.com> | 2023-07-03 09:44:42 +0100 |
---|---|---|
committer | Nikolaj Jensen <nikolaj.jensen@arm.com> | 2023-07-07 08:51:11 +0000 |
commit | acea4071a7f457bab696dc3c895ba47d60345541 (patch) | |
tree | 66a5f659f995ea110bcb8e217dc6a94e1f7ac47d /compute_kernel_writer/validation/tests/UtilsTest.hpp | |
parent | e86f992d26a79cad76244c4444d113e45afa9b88 (diff) | |
download | ComputeLibrary-acea4071a7f457bab696dc3c895ba47d60345541.tar.gz |
Fix code formatting in CKW
Signed-off-by: Nikolaj Jensen <nikolaj.jensen@arm.com>
Change-Id: I8064b345c1efd243f8bded12ed5d561afe7c339a
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9854
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Jakub Sujak <jakub.sujak@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'compute_kernel_writer/validation/tests/UtilsTest.hpp')
-rw-r--r-- | compute_kernel_writer/validation/tests/UtilsTest.hpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/compute_kernel_writer/validation/tests/UtilsTest.hpp b/compute_kernel_writer/validation/tests/UtilsTest.hpp index 4a09d53f73..db1c8fd4ae 100644 --- a/compute_kernel_writer/validation/tests/UtilsTest.hpp +++ b/compute_kernel_writer/validation/tests/UtilsTest.hpp @@ -25,8 +25,8 @@ #define COMPUTE_KERNEL_WRITER_TESTS_UTILSTEST_HPP #include "ckw/TensorInfo.h" -#include "src/TensorUtils.h" #include "common/Common.h" +#include "src/TensorUtils.h" #include <vector> @@ -74,14 +74,15 @@ public: bool all_tests_passed = true; VALIDATE_ON_MSG(_layout.size() == _component.size(), "The number of layouts and components does not match"); - VALIDATE_ON_MSG(_layout.size() == _expected.size(), "The number of layouts and expected outputs does not match"); + VALIDATE_ON_MSG(_layout.size() == _expected.size(), + "The number of layouts and expected outputs does not match"); const size_t num_tests = _layout.size(); for(size_t i = 0; i < num_tests; ++i) { const TensorDataLayout layout = _layout[i]; const TensorDataLayoutComponent component = _component[i]; const TensorComponent expected = _expected[i]; - const TensorComponent out = get_tensor_dimension(layout, component); + const TensorComponent out = get_tensor_dimension(layout, component); VALIDATE_TEST(out == expected, all_tests_passed, i); } return all_tests_passed; @@ -93,10 +94,10 @@ public: } private: - std::vector<TensorDataLayout> _layout {}; - std::vector<TensorDataLayoutComponent> _component {}; - std::vector<TensorComponent> _expected {}; + std::vector<TensorDataLayout> _layout{}; + std::vector<TensorDataLayoutComponent> _component{}; + std::vector<TensorComponent> _expected{}; }; -} +} // namespace ckw #endif /* COMPUTE_KERNEL_WRITER_TESTS_UTILSTEST_HPP */ |