diff options
Diffstat (limited to 'delegate/opaque/src/Fill.hpp')
-rw-r--r-- | delegate/opaque/src/Fill.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/delegate/opaque/src/Fill.hpp b/delegate/opaque/src/Fill.hpp index a8cdf3a56f..fe27255590 100644 --- a/delegate/opaque/src/Fill.hpp +++ b/delegate/opaque/src/Fill.hpp @@ -112,7 +112,8 @@ namespace armnnOpaqueDelegate return isSupported ? kTfLiteOk : kTfLiteError; } - armnn::IConnectableLayer* layer = delegateData.m_Network->AddFillLayer(descriptor); + auto layerName = GetName(armnn::LayerType::Fill, nodeIndex); + armnn::IConnectableLayer* layer = delegateData.m_Network->AddFillLayer(descriptor, layerName.c_str()); layer->SetBackendId(setBackend); ARMNN_ASSERT(layer != nullptr); @@ -122,7 +123,8 @@ namespace armnnOpaqueDelegate auto inputsTensorsProcess = ProcessInputs(layer, delegateData, tfLiteContext, - tfLiteNode); + tfLiteNode, + nodeIndex); if (inputsTensorsProcess == kTfLiteError) { return inputsTensorsProcess; |