diff options
Diffstat (limited to 'tests/validation/NEON/Fixedpoint')
-rw-r--r-- | tests/validation/NEON/Fixedpoint/Exp_QS16.cpp | 5 | ||||
-rw-r--r-- | tests/validation/NEON/Fixedpoint/Exp_QS8.cpp | 5 | ||||
-rw-r--r-- | tests/validation/NEON/Fixedpoint/Invsqrt_QS16.cpp | 5 | ||||
-rw-r--r-- | tests/validation/NEON/Fixedpoint/Invsqrt_QS8.cpp | 5 | ||||
-rw-r--r-- | tests/validation/NEON/Fixedpoint/Log_QS16.cpp | 5 | ||||
-rw-r--r-- | tests/validation/NEON/Fixedpoint/Log_QS8.cpp | 5 | ||||
-rw-r--r-- | tests/validation/NEON/Fixedpoint/Reciprocal_QS16.cpp | 5 | ||||
-rw-r--r-- | tests/validation/NEON/Fixedpoint/Reciprocal_QS8.cpp | 5 |
8 files changed, 16 insertions, 24 deletions
diff --git a/tests/validation/NEON/Fixedpoint/Exp_QS16.cpp b/tests/validation/NEON/Fixedpoint/Exp_QS16.cpp index e6d7d860cb..bb8961af73 100644 --- a/tests/validation/NEON/Fixedpoint/Exp_QS16.cpp +++ b/tests/validation/NEON/Fixedpoint/Exp_QS16.cpp @@ -22,7 +22,6 @@ * SOFTWARE. */ #include "Globals.h" -#include "NEON/Helper.h" #include "NEON/NEAccessor.h" #include "TensorLibrary.h" #include "TypePrinter.h" @@ -60,8 +59,8 @@ const float tolerance = 1.0f; /**< Tolerance value for comparing reference's out Tensor compute_exp_qs16(const TensorShape &shape, int fixed_point_position) { // Create tensors - Tensor src = create_tensor(shape, DataType::QS16, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::QS16, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::QS16, 1, fixed_point_position); + Tensor dst = create_tensor<Tensor>(shape, DataType::QS16, 1, fixed_point_position); constexpr unsigned int num_elems_processed_per_iteration = 8; Window window = calculate_max_window(*src.info(), Steps(num_elems_processed_per_iteration)); diff --git a/tests/validation/NEON/Fixedpoint/Exp_QS8.cpp b/tests/validation/NEON/Fixedpoint/Exp_QS8.cpp index f8fc0c2ea3..e901f60986 100644 --- a/tests/validation/NEON/Fixedpoint/Exp_QS8.cpp +++ b/tests/validation/NEON/Fixedpoint/Exp_QS8.cpp @@ -22,7 +22,6 @@ * SOFTWARE. */ #include "Globals.h" -#include "NEON/Helper.h" #include "NEON/NEAccessor.h" #include "TensorLibrary.h" #include "TypePrinter.h" @@ -60,8 +59,8 @@ const float tolerance = 0.0f; /**< Tolerance value for comparing reference's out Tensor compute_exp_qs8(const TensorShape &shape, int fixed_point_position) { // Create tensors - Tensor src = create_tensor(shape, DataType::QS8, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::QS8, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::QS8, 1, fixed_point_position); + Tensor dst = create_tensor<Tensor>(shape, DataType::QS8, 1, fixed_point_position); constexpr unsigned int num_elems_processed_per_iteration = 16; Window window = calculate_max_window(*src.info(), Steps(num_elems_processed_per_iteration)); diff --git a/tests/validation/NEON/Fixedpoint/Invsqrt_QS16.cpp b/tests/validation/NEON/Fixedpoint/Invsqrt_QS16.cpp index 9211ccfe50..6b674860d8 100644 --- a/tests/validation/NEON/Fixedpoint/Invsqrt_QS16.cpp +++ b/tests/validation/NEON/Fixedpoint/Invsqrt_QS16.cpp @@ -22,7 +22,6 @@ * SOFTWARE. */ #include "Globals.h" -#include "NEON/Helper.h" #include "NEON/NEAccessor.h" #include "TensorLibrary.h" #include "TypePrinter.h" @@ -60,8 +59,8 @@ const float tolerance = 5.0f; /**< Tolerance value for comparing reference's out Tensor compute_invsqrt_qs16(const TensorShape &shape, int fixed_point_position) { // Create tensors - Tensor src = create_tensor(shape, DataType::QS16, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::QS16, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::QS16, 1, fixed_point_position); + Tensor dst = create_tensor<Tensor>(shape, DataType::QS16, 1, fixed_point_position); constexpr unsigned int num_elems_processed_per_iteration = 8; Window window = calculate_max_window(*src.info(), Steps(num_elems_processed_per_iteration)); diff --git a/tests/validation/NEON/Fixedpoint/Invsqrt_QS8.cpp b/tests/validation/NEON/Fixedpoint/Invsqrt_QS8.cpp index ab63cbe76f..78719d1290 100644 --- a/tests/validation/NEON/Fixedpoint/Invsqrt_QS8.cpp +++ b/tests/validation/NEON/Fixedpoint/Invsqrt_QS8.cpp @@ -22,7 +22,6 @@ * SOFTWARE. */ #include "Globals.h" -#include "NEON/Helper.h" #include "NEON/NEAccessor.h" #include "TensorLibrary.h" #include "TypePrinter.h" @@ -60,8 +59,8 @@ const float tolerance = 4.0f; /**< Tolerance value for comparing reference's out Tensor compute_invsqrt_qs8(const TensorShape &shape, int fixed_point_position) { // Create tensors - Tensor src = create_tensor(shape, DataType::QS8, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::QS8, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::QS8, 1, fixed_point_position); + Tensor dst = create_tensor<Tensor>(shape, DataType::QS8, 1, fixed_point_position); constexpr unsigned int num_elems_processed_per_iteration = 16; Window window = calculate_max_window(*src.info(), Steps(num_elems_processed_per_iteration)); diff --git a/tests/validation/NEON/Fixedpoint/Log_QS16.cpp b/tests/validation/NEON/Fixedpoint/Log_QS16.cpp index c23d12725b..f7a9bc8ccc 100644 --- a/tests/validation/NEON/Fixedpoint/Log_QS16.cpp +++ b/tests/validation/NEON/Fixedpoint/Log_QS16.cpp @@ -22,7 +22,6 @@ * SOFTWARE. */ #include "Globals.h" -#include "NEON/Helper.h" #include "NEON/NEAccessor.h" #include "TensorLibrary.h" #include "TypePrinter.h" @@ -60,8 +59,8 @@ const float tolerance = 7.0f; /**< Tolerance value for comparing reference's out Tensor compute_log_qs16(const TensorShape &shape, int fixed_point_position) { // Create tensors - Tensor src = create_tensor(shape, DataType::QS16, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::QS16, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::QS16, 1, fixed_point_position); + Tensor dst = create_tensor<Tensor>(shape, DataType::QS16, 1, fixed_point_position); constexpr unsigned int num_elems_processed_per_iteration = 8; Window window = calculate_max_window(*src.info(), Steps(num_elems_processed_per_iteration)); diff --git a/tests/validation/NEON/Fixedpoint/Log_QS8.cpp b/tests/validation/NEON/Fixedpoint/Log_QS8.cpp index 6789ec7264..8cdbd30867 100644 --- a/tests/validation/NEON/Fixedpoint/Log_QS8.cpp +++ b/tests/validation/NEON/Fixedpoint/Log_QS8.cpp @@ -22,7 +22,6 @@ * SOFTWARE. */ #include "Globals.h" -#include "NEON/Helper.h" #include "NEON/NEAccessor.h" #include "TensorLibrary.h" #include "TypePrinter.h" @@ -60,8 +59,8 @@ const float tolerance = 5; /**< Tolerance value for comparing reference's output Tensor compute_log_qs8(const TensorShape &shape, int fixed_point_position) { // Create tensors - Tensor src = create_tensor(shape, DataType::QS8, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::QS8, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::QS8, 1, fixed_point_position); + Tensor dst = create_tensor<Tensor>(shape, DataType::QS8, 1, fixed_point_position); constexpr unsigned int num_elems_processed_per_iteration = 16; Window window = calculate_max_window(*src.info(), Steps(num_elems_processed_per_iteration)); diff --git a/tests/validation/NEON/Fixedpoint/Reciprocal_QS16.cpp b/tests/validation/NEON/Fixedpoint/Reciprocal_QS16.cpp index c66cf0e6e6..1ef73e2847 100644 --- a/tests/validation/NEON/Fixedpoint/Reciprocal_QS16.cpp +++ b/tests/validation/NEON/Fixedpoint/Reciprocal_QS16.cpp @@ -22,7 +22,6 @@ * SOFTWARE. */ #include "Globals.h" -#include "NEON/Helper.h" #include "NEON/NEAccessor.h" #include "TensorLibrary.h" #include "TypePrinter.h" @@ -60,8 +59,8 @@ const float tolerance = 9.0f; /**< Tolerance value for comparing reference's out Tensor compute_reciprocal_qs16(const TensorShape &shape, int fixed_point_position) { // Create tensors - Tensor src = create_tensor(shape, DataType::QS16, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::QS16, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::QS16, 1, fixed_point_position); + Tensor dst = create_tensor<Tensor>(shape, DataType::QS16, 1, fixed_point_position); constexpr unsigned int num_elems_processed_per_iteration = 8; Window window = calculate_max_window(*src.info(), Steps(num_elems_processed_per_iteration)); diff --git a/tests/validation/NEON/Fixedpoint/Reciprocal_QS8.cpp b/tests/validation/NEON/Fixedpoint/Reciprocal_QS8.cpp index f1f130a9cb..9c33a9ebcb 100644 --- a/tests/validation/NEON/Fixedpoint/Reciprocal_QS8.cpp +++ b/tests/validation/NEON/Fixedpoint/Reciprocal_QS8.cpp @@ -22,7 +22,6 @@ * SOFTWARE. */ #include "Globals.h" -#include "NEON/Helper.h" #include "NEON/NEAccessor.h" #include "TensorLibrary.h" #include "TypePrinter.h" @@ -60,8 +59,8 @@ const float tolerance = 3; /**< Tolerance value for comparing reference's output Tensor compute_reciprocal_qs8(const TensorShape &shape, int fixed_point_position) { // Create tensors - Tensor src = create_tensor(shape, DataType::QS8, 1, fixed_point_position); - Tensor dst = create_tensor(shape, DataType::QS8, 1, fixed_point_position); + Tensor src = create_tensor<Tensor>(shape, DataType::QS8, 1, fixed_point_position); + Tensor dst = create_tensor<Tensor>(shape, DataType::QS8, 1, fixed_point_position); constexpr unsigned int num_elems_processed_per_iteration = 16; Window window = calculate_max_window(*src.info(), Steps(num_elems_processed_per_iteration)); |