aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/test/ResizeEndToEndTestImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/backends/backendsCommon/test/ResizeEndToEndTestImpl.hpp')
-rw-r--r--src/backends/backendsCommon/test/ResizeEndToEndTestImpl.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backends/backendsCommon/test/ResizeEndToEndTestImpl.hpp b/src/backends/backendsCommon/test/ResizeEndToEndTestImpl.hpp
index 4bf9d510a6..1eeb944805 100644
--- a/src/backends/backendsCommon/test/ResizeEndToEndTestImpl.hpp
+++ b/src/backends/backendsCommon/test/ResizeEndToEndTestImpl.hpp
@@ -9,6 +9,7 @@
#include <armnn/ArmNN.hpp>
#include <Permute.hpp>
+#include <QuantizeHelper.hpp>
#include <ResolveType.hpp>
#include <backendsCommon/test/CommonTestUtils.hpp>
@@ -119,8 +120,8 @@ void ResizeEndToEnd(const std::vector<armnn::BackendId>& backends,
}
// quantize data
- std::vector<T> qInputData = QuantizedVector<T>(qScale, qOffset, inputData);
- std::vector<T> qExpectedOutputData = QuantizedVector<T>(qScale, qOffset, expectedOutputData);
+ std::vector<T> qInputData = armnnUtils::QuantizedVector<T>(inputData, qScale, qOffset);
+ std::vector<T> qExpectedOutputData = armnnUtils::QuantizedVector<T>(expectedOutputData, qScale, qOffset);
INetworkPtr network = CreateResizeNetwork(descriptor, inputInfo, outputInfo);
@@ -144,4 +145,4 @@ void ResizeNearestNeighborEndToEnd(const std::vector<armnn::BackendId>& backends
armnn::DataLayout dataLayout)
{
ResizeEndToEnd<ArmnnType>(backends, dataLayout, armnn::ResizeMethod::NearestNeighbor);
-} \ No newline at end of file
+}