aboutsummaryrefslogtreecommitdiff
path: root/delegate/classic/src/Lstm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/classic/src/Lstm.hpp')
-rw-r--r--delegate/classic/src/Lstm.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/delegate/classic/src/Lstm.hpp b/delegate/classic/src/Lstm.hpp
index 518559fc21..2abc47f0d3 100644
--- a/delegate/classic/src/Lstm.hpp
+++ b/delegate/classic/src/Lstm.hpp
@@ -242,7 +242,8 @@ TfLiteStatus VisitLstmOperator(DelegateData& delegateData,
return isSupported ? kTfLiteOk : kTfLiteError;
}
- armnn::IConnectableLayer* layer = delegateData.m_Network->AddLstmLayer(desc, params);
+ auto layerName = GetLayerName(armnn::LayerType::Lstm, nodeIndex);
+ armnn::IConnectableLayer* layer = delegateData.m_Network->AddLstmLayer(desc, params, layerName.c_str());
layer->SetBackendId(setBackend);
ARMNN_ASSERT(layer != nullptr);