aboutsummaryrefslogtreecommitdiff
path: root/delegate/classic/src/Fill.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/classic/src/Fill.hpp')
-rw-r--r--delegate/classic/src/Fill.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/delegate/classic/src/Fill.hpp b/delegate/classic/src/Fill.hpp
index 15dc91e481..e0ba2f9b75 100644
--- a/delegate/classic/src/Fill.hpp
+++ b/delegate/classic/src/Fill.hpp
@@ -92,7 +92,8 @@ TfLiteStatus VisitFillOperator(DelegateData& delegateData,
return isSupported ? kTfLiteOk : kTfLiteError;
}
- armnn::IConnectableLayer* layer = delegateData.m_Network->AddFillLayer(descriptor);
+ auto layerName = GetLayerName(armnn::LayerType::Fill, nodeIndex);
+ armnn::IConnectableLayer* layer = delegateData.m_Network->AddFillLayer(descriptor, layerName.c_str());
layer->SetBackendId(setBackend);
ARMNN_ASSERT(layer != nullptr);
@@ -102,7 +103,8 @@ TfLiteStatus VisitFillOperator(DelegateData& delegateData,
auto inputsTensorsProcess = ProcessInputs(layer,
delegateData,
tfLiteContext,
- tfLiteNode);
+ tfLiteNode,
+ nodeIndex);
if (inputsTensorsProcess == kTfLiteError)
{
return inputsTensorsProcess;