From 7c0e3fd7596abde1cf2eca96147e1c37491e1816 Mon Sep 17 00:00:00 2001 From: James Ward Date: Mon, 16 Nov 2020 18:46:12 +0000 Subject: IVGCVSW-5385 Use specific data-type instead of auto (Transpose TfLiteDelegate) Signed-off-by: James Ward Change-Id: I0227c8af5ea70976973291614859d956e48d267a --- delegate/src/Transpose.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delegate/src/Transpose.hpp b/delegate/src/Transpose.hpp index 37005e0b4d..dd79bd3bee 100644 --- a/delegate/src/Transpose.hpp +++ b/delegate/src/Transpose.hpp @@ -62,7 +62,7 @@ TfLiteStatus VisitTransposeOperator(DelegateData& delegateData, const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor); auto* permTensorDataPtr = tflite::GetTensorData(&tfLiteInputTensor1); - auto numEl = tfLiteInputTensor1.dims->data[0]; + unsigned int numEl = tfLiteInputTensor1.dims->data[0]; ARMNN_ASSERT( numEl <= armnn::MaxNumOfTensorDimensions); ARMNN_ASSERT( tfLiteInputTensor1.dims->size == 1); // ensure only single dimension to the permutation tensor -- cgit v1.2.1