aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/1.2/Capabilities.cpp1
-rw-r--r--test/Dilation.hpp18
-rw-r--r--test/Lstm.hpp4
3 files changed, 12 insertions, 11 deletions
diff --git a/test/1.2/Capabilities.cpp b/test/1.2/Capabilities.cpp
index 2bbd7bed..5f817591 100644
--- a/test/1.2/Capabilities.cpp
+++ b/test/1.2/Capabilities.cpp
@@ -8,7 +8,6 @@
#include "Utils.h"
#include <boost/test/unit_test.hpp>
-#include <boost/core/ignore_unused.hpp>
#include <sys/system_properties.h>
diff --git a/test/Dilation.hpp b/test/Dilation.hpp
index adc9947d..d0189c96 100644
--- a/test/Dilation.hpp
+++ b/test/Dilation.hpp
@@ -8,8 +8,8 @@
#include "DriverTestHelpers.hpp"
#include <armnn/LayerVisitorBase.hpp>
+#include <armnn/utility/IgnoreUnused.hpp>
-#include <boost/core/ignore_unused.hpp>
#include <boost/test/unit_test.hpp>
#include <numeric>
@@ -53,10 +53,10 @@ public:
const Optional<ConstTensor>& biases,
const char *name = nullptr) override
{
- ignore_unused(layer);
- ignore_unused(weights);
- ignore_unused(biases);
- ignore_unused(name);
+ IgnoreUnused(layer);
+ IgnoreUnused(weights);
+ IgnoreUnused(biases);
+ IgnoreUnused(name);
CheckDilationParams(descriptor);
}
@@ -67,10 +67,10 @@ public:
const Optional<ConstTensor>& biases,
const char *name = nullptr) override
{
- ignore_unused(layer);
- ignore_unused(weights);
- ignore_unused(biases);
- ignore_unused(name);
+ IgnoreUnused(layer);
+ IgnoreUnused(weights);
+ IgnoreUnused(biases);
+ IgnoreUnused(name);
CheckDilationParams(descriptor);
}
diff --git a/test/Lstm.hpp b/test/Lstm.hpp
index d3e03d75..3ac095dc 100644
--- a/test/Lstm.hpp
+++ b/test/Lstm.hpp
@@ -7,6 +7,8 @@
#include "DriverTestHelpers.hpp"
+#include <armnn/utility/IgnoreUnused.hpp>
+
#include <boost/array.hpp>
#include <boost/math/special_functions/relative_difference.hpp>
@@ -2371,7 +2373,7 @@ void LstmCifgPeepholeProjectionNoClippingLayerNorm(armnn::Compute compute)
template <typename HalPolicy>
void QuantizedLstm(armnn::Compute compute)
{
- boost::ignore_unused(compute);
+ armnn::IgnoreUnused(compute);
// This replicates android/frameworks/ml/nn/runtime/test/generated/vts_models/quantized_lstm.model.cpp
// with values from android/frameworks/ml/nn/runtime/test/generated/examples/quantized_lstm.example.cpp
// and weights, biases and scalars passed as CONSTANT_COPY tensors (instead of MODEL_INPUT tensors).