From 892fafe510077fac11610a9081fc10de09ffbef3 Mon Sep 17 00:00:00 2001 From: Keith Davis Date: Thu, 26 Nov 2020 17:40:35 +0000 Subject: IVGCVSW-5374 Provide Android Build for Delegate * Fix Arm Android Compiler errors Signed-off-by: Keith Davis Change-Id: If5fae0fda08b6102eb46217564a096f87a3b6740 --- delegate/src/Resize.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'delegate/src/Resize.hpp') diff --git a/delegate/src/Resize.hpp b/delegate/src/Resize.hpp index 626112aa37..937cc00c8f 100644 --- a/delegate/src/Resize.hpp +++ b/delegate/src/Resize.hpp @@ -86,7 +86,6 @@ TfLiteStatus VisitResizeOperator(DelegateData& delegateData, } const armnn::TensorInfo& inputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteInputTensor); - const armnn::TensorInfo& sizeTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteSizeTensor); const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor); std::string layerName("Resize"); @@ -99,7 +98,7 @@ TfLiteStatus VisitResizeOperator(DelegateData& delegateData, { desc.m_Method = armnn::ResizeMethod::Bilinear; - layerName += "Bilinear:" + nodeIndex; + layerName += "Bilinear:" + std::to_string(nodeIndex); TfLiteResizeBilinearParams* biliniarOptions = reinterpret_cast(tfLiteNode->builtin_data); @@ -111,7 +110,7 @@ TfLiteStatus VisitResizeOperator(DelegateData& delegateData, case kTfLiteBuiltinResizeNearestNeighbor: { desc.m_Method = armnn::ResizeMethod::NearestNeighbor; - layerName += "NearestNeighbor:" + nodeIndex; + layerName += "NearestNeighbor:" + std::to_string(nodeIndex); TfLiteResizeNearestNeighborParams* nearestNeighborOptions = reinterpret_cast(tfLiteNode->builtin_data); -- cgit v1.2.1