diff options
Diffstat (limited to 'delegate/opaque/src/Resize.hpp')
-rw-r--r-- | delegate/opaque/src/Resize.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/delegate/opaque/src/Resize.hpp b/delegate/opaque/src/Resize.hpp index 509ae62524..948b600625 100644 --- a/delegate/opaque/src/Resize.hpp +++ b/delegate/opaque/src/Resize.hpp @@ -203,13 +203,16 @@ TfLiteStatus VisitResizeOperator(DelegateData& delegateData, armnn::IConnectableLayer* resizeLayer = nullptr; + layerName += ":"; + layerName += nodeIndex; + resizeLayer = delegateData.m_Network->AddResizeLayer(desc, layerName.c_str()); armnn::IOutputSlot& outputSlot = resizeLayer->GetOutputSlot(0); outputSlot.SetTensorInfo(outputTensorInfo); // try to connect the Constant Inputs if there are any - if(ProcessInputs(resizeLayer,delegateData, tfLiteContext, tfLiteNode) != kTfLiteOk ) + if (ProcessInputs(resizeLayer, delegateData, tfLiteContext, tfLiteNode, nodeIndex) != kTfLiteOk) { return kTfLiteError; } |