aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/Resize.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/src/Resize.hpp')
-rw-r--r--delegate/src/Resize.hpp5
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);