From 0b7a419c156e6f9eaf36ec166d4a3e0878b16959 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Mon, 9 Mar 2020 18:20:42 +0000 Subject: IVGCVSW-4482 Remove boost::ignore_unused * replaced boost::ignore_unused with armnn::IgnoreUnused Signed-off-by: Jan Eilers Change-Id: I4443a3620ed7d51b151af67c070d4225e410b5fa --- test/1.2/Capabilities.cpp | 1 - test/Dilation.hpp | 18 +++++++++--------- test/Lstm.hpp | 4 +++- 3 files changed, 12 insertions(+), 11 deletions(-) (limited to 'test') 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 -#include #include 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 +#include -#include #include #include @@ -53,10 +53,10 @@ public: const Optional& 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& 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 + #include #include @@ -2371,7 +2373,7 @@ void LstmCifgPeepholeProjectionNoClippingLayerNorm(armnn::Compute compute) template 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). -- cgit v1.2.1