diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-07-18 15:44:21 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:16:42 +0100 |
commit | d58cec032556abb103cdf7564ab29762d5c4c051 (patch) | |
tree | 1c938fdb7f087129ee54654eeee55c53ffe97ca5 /tests/validation/NEON/DepthConcatenateLayer.cpp | |
parent | 81527bff7d6fc337fb9edec23c0b63a96b500bd4 (diff) | |
download | ComputeLibrary-d58cec032556abb103cdf7564ab29762d5c4c051.tar.gz |
COMPMID-415: Cleanup accessors
Change-Id: Id19c8c1ea76f6e6679a4ac770e804f8012a2b5a6
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/80937
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/validation/NEON/DepthConcatenateLayer.cpp')
-rw-r--r-- | tests/validation/NEON/DepthConcatenateLayer.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/validation/NEON/DepthConcatenateLayer.cpp b/tests/validation/NEON/DepthConcatenateLayer.cpp index 40c2ada210..528d6f80d7 100644 --- a/tests/validation/NEON/DepthConcatenateLayer.cpp +++ b/tests/validation/NEON/DepthConcatenateLayer.cpp @@ -23,7 +23,7 @@ */ #include "AssetsLibrary.h" #include "Globals.h" -#include "NEON/NEAccessor.h" +#include "NEON/Accessor.h" #include "PaddingCalculator.h" #include "TypePrinter.h" #include "Utils.h" @@ -50,7 +50,6 @@ using namespace arm_compute; using namespace arm_compute::test; -using namespace arm_compute::test::neon; using namespace arm_compute::test::validation; namespace @@ -104,7 +103,7 @@ Tensor compute_depth_concatenate_layer(const std::vector<TensorShape> &shapes, D // Fill tensors for(unsigned int i = 0; i < srcs.size(); ++i) { - library->fill_tensor_uniform(NEAccessor(*srcs[i]), i); + library->fill_tensor_uniform(Accessor(*srcs[i]), i); } // Compute function @@ -137,7 +136,7 @@ BOOST_DATA_TEST_CASE(RunSmall, SmallShapes() * CNNFloatDataTypes(), shape, dt) RawTensor ref_dst = Reference::compute_reference_depth_concatenate_layer(shapes, dt); // Validate output - validate(NEAccessor(dst), ref_dst); + validate(Accessor(dst), ref_dst); } BOOST_TEST_DECORATOR(*boost::unit_test::label("precommit")) @@ -153,7 +152,7 @@ BOOST_DATA_TEST_CASE(RunSmallPad, CNNFloatDataTypes(), dt) RawTensor ref_dst = Reference::compute_reference_depth_concatenate_layer(shapes, dt); // Validate output - validate(NEAccessor(dst), ref_dst); + validate(Accessor(dst), ref_dst); } BOOST_AUTO_TEST_SUITE_END() @@ -176,7 +175,7 @@ BOOST_DATA_TEST_CASE(RunSmall, SmallShapes() * CNNFixedPointDataTypes() * boost: RawTensor ref_dst = Reference::compute_reference_depth_concatenate_layer(shapes, dt, fixed_point_position); // Validate output - validate(NEAccessor(dst), ref_dst); + validate(Accessor(dst), ref_dst); } BOOST_TEST_DECORATOR(*boost::unit_test::label("precommit")) @@ -192,7 +191,7 @@ BOOST_DATA_TEST_CASE(RunSmallPad, CNNFixedPointDataTypes() * boost::unit_test::d RawTensor ref_dst = Reference::compute_reference_depth_concatenate_layer(shapes, dt, fixed_point_position); // Validate output - validate(NEAccessor(dst), ref_dst); + validate(Accessor(dst), ref_dst); } BOOST_AUTO_TEST_SUITE_END() |