diff options
Diffstat (limited to 'delegate/opaque/src/Gather.hpp')
-rw-r--r-- | delegate/opaque/src/Gather.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/delegate/opaque/src/Gather.hpp b/delegate/opaque/src/Gather.hpp index b27016e06a..73bb8a0062 100644 --- a/delegate/opaque/src/Gather.hpp +++ b/delegate/opaque/src/Gather.hpp @@ -109,7 +109,8 @@ TfLiteStatus VisitGatherOperator(DelegateData& delegateData, return isSupported ? kTfLiteOk : kTfLiteError; } - armnn::IConnectableLayer* layer = delegateData.m_Network->AddGatherLayer(gatherDescriptor); + auto layerName = GetName(armnn::LayerType::Gather, nodeIndex); + armnn::IConnectableLayer* layer = delegateData.m_Network->AddGatherLayer(gatherDescriptor, layerName.c_str()); layer->SetBackendId(setBackend); ARMNN_ASSERT(layer != nullptr); layer->GetOutputSlot(0).SetTensorInfo(outputTensorInfo); @@ -117,7 +118,8 @@ TfLiteStatus VisitGatherOperator(DelegateData& delegateData, auto inputsTensorsProcess = ProcessInputs(layer, delegateData, tfLiteContext, - tfLiteNode); + tfLiteNode, + nodeIndex); if (inputsTensorsProcess == kTfLiteError) { return inputsTensorsProcess; |