aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/test/Pooling2dTestHelper.hpp
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2020-11-13 13:23:15 +0000
committerFinn Williams <Finn.Williams@arm.com>2020-11-16 12:31:03 +0000
commit6f9f99024df71b6b7f7115b58d85eb100c66f3c5 (patch)
tree412f5c3b4f9ade8fa9cc66cfe84c76b5ac52b461 /delegate/src/test/Pooling2dTestHelper.hpp
parent72a7cf21453253ed4ac0c17c39773179c857935f (diff)
downloadarmnn-6f9f99024df71b6b7f7115b58d85eb100c66f3c5.tar.gz
IVGCVSW-5508 Activate compiler warnings in ArmNN TfLite Delegate
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I1a8e2aa618ff693c61010e6150f3ca41b8ab1201
Diffstat (limited to 'delegate/src/test/Pooling2dTestHelper.hpp')
-rw-r--r--delegate/src/test/Pooling2dTestHelper.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/delegate/src/test/Pooling2dTestHelper.hpp b/delegate/src/test/Pooling2dTestHelper.hpp
index a344650814..f107d9473f 100644
--- a/delegate/src/test/Pooling2dTestHelper.hpp
+++ b/delegate/src/test/Pooling2dTestHelper.hpp
@@ -191,7 +191,7 @@ void Pooling2dTest(tflite::BuiltinOperator poolingOperatorCode,
auto armnnDelegateOutputData = armnnDelegateInterpreter->typed_tensor<T>(armnnDelegateOutputId);
auto armnnDelegateOutputTensor = armnnDelegateInterpreter->tensor(armnnDelegateOutputId);
- for (size_t i = 0; i < tfLiteDelegateOutputTensor->dims->size; i++)
+ for (size_t i = 0; i < static_cast<size_t>(tfLiteDelegateOutputTensor->dims->size); i++)
{
CHECK(outputShape[i] == armnnDelegateOutputTensor->dims->data[i]);
CHECK(tfLiteDelegateOutputTensor->dims->data[i] == armnnDelegateOutputTensor->dims->data[i]);