diff options
author | Keith Davis <keith.davis@arm.com> | 2020-11-26 17:40:35 +0000 |
---|---|---|
committer | KeithARM <keith.davis@arm.com> | 2020-11-30 16:11:50 +0000 |
commit | 892fafe510077fac11610a9081fc10de09ffbef3 (patch) | |
tree | bcb331dbf71c3507b83316dd831f6bbd73323fd8 /delegate/src/Resize.hpp | |
parent | 34fa1bd7994af9abf52dbcc4aa808d0fa5f14aa3 (diff) | |
download | armnn-892fafe510077fac11610a9081fc10de09ffbef3.tar.gz |
IVGCVSW-5374 Provide Android Build for Delegate
* Fix Arm Android Compiler errors
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: If5fae0fda08b6102eb46217564a096f87a3b6740
Diffstat (limited to 'delegate/src/Resize.hpp')
-rw-r--r-- | delegate/src/Resize.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
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<TfLiteResizeBilinearParams*>(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<TfLiteResizeNearestNeighborParams*>(tfLiteNode->builtin_data); |