aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/test/layerTests/LstmTestImpl.cpp
diff options
context:
space:
mode:
authorDerek Lamberti <derek.lamberti@arm.com>2019-12-10 21:57:35 +0000
committerJim Flynn Arm <jim.flynn@arm.com>2019-12-17 19:56:24 +0000
commitc374ff06b9e9f45bcf48f4af6bda054f4b243cf6 (patch)
treebbf246ffa218df56ccbfda30e5e64c1e6bbfdf06 /src/backends/backendsCommon/test/layerTests/LstmTestImpl.cpp
parent7f834729c3d967f5b0f774c13eb4ebb3bf9041d5 (diff)
downloadarmnn-c374ff06b9e9f45bcf48f4af6bda054f4b243cf6.tar.gz
IVGCVSW-4246 Clean build of LayerTests with -Wextra
Change-Id: If3d98e45a6e2fa8e1afd19a4052334335feacf63 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
Diffstat (limited to 'src/backends/backendsCommon/test/layerTests/LstmTestImpl.cpp')
-rw-r--r--src/backends/backendsCommon/test/layerTests/LstmTestImpl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/backends/backendsCommon/test/layerTests/LstmTestImpl.cpp b/src/backends/backendsCommon/test/layerTests/LstmTestImpl.cpp
index 6cea777a25..e755aa54cb 100644
--- a/src/backends/backendsCommon/test/layerTests/LstmTestImpl.cpp
+++ b/src/backends/backendsCommon/test/layerTests/LstmTestImpl.cpp
@@ -143,6 +143,7 @@ LstmNoCifgNoPeepholeNoProjectionTestImpl(
int32_t qOffset = 0,
armnn::DataType constantDataType = armnn::DataType::Float32)
{
+ boost::ignore_unused(memoryManager);
unsigned int batchSize = boost::numeric_cast<unsigned int>(input.shape()[0]);
unsigned int inputSize = boost::numeric_cast<unsigned int>(input.shape()[1]);
unsigned int outputSize = boost::numeric_cast<unsigned int>(outputExpected.shape()[1]);
@@ -345,6 +346,7 @@ LstmLayerNoCifgWithPeepholeWithProjectionTestImpl(armnn::IWorkloadFactory& workl
int32_t qOffset = 0,
armnn::DataType constantDataType = armnn::DataType::Float32)
{
+ boost::ignore_unused(memoryManager);
unsigned int batchSize = 2;
unsigned int outputSize = 16;
unsigned int inputSize = 5;
@@ -1059,6 +1061,7 @@ LayerTestResult<T, 2> LstmLayerWithCifgWithPeepholeNoProjectionTestImpl(
int32_t qOffset = 0,
armnn::DataType constantDataType = armnn::DataType::Float32)
{
+ boost::ignore_unused(memoryManager);
bool cifgEnabled = true;
bool peepholeEnabled = true;
bool projectionEnabled = false;
@@ -1283,6 +1286,7 @@ LstmLayerNoCifgWithPeepholeWithProjectionWithLayerNormTestImpl(armnn::IWorkloadF
int32_t qOffset = 0,
armnn::DataType constantDataType = armnn::DataType::Float32)
{
+ boost::ignore_unused(memoryManager);
unsigned int batchSize = 2;
unsigned int outputSize = 3;
unsigned int inputSize = 5;
@@ -1549,6 +1553,7 @@ LayerTestResult<uint8_t, 2> QuantizedLstmTestImpl(
const boost::multi_array<uint8_t, 2>& input,
const boost::multi_array<uint8_t, 2>& outputExpected)
{
+ boost::ignore_unused(memoryManager);
auto numBatches = boost::numeric_cast<unsigned int>(input.shape()[0]);
auto inputSize = boost::numeric_cast<unsigned int>(input.shape()[1]);
auto outputSize = boost::numeric_cast<unsigned int>(outputExpected.shape()[1]);