aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/NEON/NormalizationLayer.cpp
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-07-18 15:44:21 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-09-17 14:16:42 +0100
commitd58cec032556abb103cdf7564ab29762d5c4c051 (patch)
tree1c938fdb7f087129ee54654eeee55c53ffe97ca5 /tests/validation/NEON/NormalizationLayer.cpp
parent81527bff7d6fc337fb9edec23c0b63a96b500bd4 (diff)
downloadComputeLibrary-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/NormalizationLayer.cpp')
-rw-r--r--tests/validation/NEON/NormalizationLayer.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/validation/NEON/NormalizationLayer.cpp b/tests/validation/NEON/NormalizationLayer.cpp
index 60c2646b77..8a5db369d1 100644
--- a/tests/validation/NEON/NormalizationLayer.cpp
+++ b/tests/validation/NEON/NormalizationLayer.cpp
@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
-#include "NEON/NEAccessor.h"
+#include "NEON/Accessor.h"
#include "TypePrinter.h"
#include "tests/Globals.h"
#include "tests/Utils.h"
@@ -35,7 +35,6 @@
using namespace arm_compute;
using namespace arm_compute::test;
-using namespace arm_compute::test::neon;
using namespace arm_compute::test::validation;
namespace
@@ -92,11 +91,11 @@ Tensor compute_normalization_layer(const TensorShape &shape, DataType dt, Normal
{
const int8_t one_fixed_point = 1 << fixed_point_position;
const int8_t minus_one_fixed_point = -one_fixed_point;
- library->fill_tensor_uniform(NEAccessor(src), 0, minus_one_fixed_point, one_fixed_point);
+ library->fill_tensor_uniform(Accessor(src), 0, minus_one_fixed_point, one_fixed_point);
}
else
{
- library->fill_tensor_uniform(NEAccessor(src), 0);
+ library->fill_tensor_uniform(Accessor(src), 0);
}
// Compute function
@@ -127,7 +126,7 @@ BOOST_DATA_TEST_CASE(RunSmall,
RawTensor ref_dst = Reference::compute_reference_normalization_layer(shape, dt, norm_info);
// Validate output
- validate(NEAccessor(dst), ref_dst, normalization_layer_tolerance(DataType::F16));
+ validate(Accessor(dst), ref_dst, normalization_layer_tolerance(DataType::F16));
}
BOOST_AUTO_TEST_SUITE_END()
@@ -149,7 +148,7 @@ BOOST_DATA_TEST_CASE(RunSmall,
RawTensor ref_dst = Reference::compute_reference_normalization_layer(shape, dt, norm_info);
// Validate output
- validate(NEAccessor(dst), ref_dst, normalization_layer_tolerance(DataType::F32));
+ validate(Accessor(dst), ref_dst, normalization_layer_tolerance(DataType::F32));
}
BOOST_AUTO_TEST_SUITE_END()
@@ -169,7 +168,7 @@ BOOST_DATA_TEST_CASE(RunSmall,
RawTensor ref_dst = Reference::compute_reference_normalization_layer(shape, dt, norm_info, fixed_point_position);
// Validate output
- validate(NEAccessor(dst), ref_dst, normalization_layer_tolerance(DataType::QS8));
+ validate(Accessor(dst), ref_dst, normalization_layer_tolerance(DataType::QS8));
}
BOOST_AUTO_TEST_SUITE_END()