aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/test/Pooling2dTestHelper.hpp
diff options
context:
space:
mode:
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]);