diff options
Diffstat (limited to 'delegate/classic/src/LogicalBinary.hpp')
-rw-r--r-- | delegate/classic/src/LogicalBinary.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/delegate/classic/src/LogicalBinary.hpp b/delegate/classic/src/LogicalBinary.hpp index d71618ee9c..b80b837e23 100644 --- a/delegate/classic/src/LogicalBinary.hpp +++ b/delegate/classic/src/LogicalBinary.hpp @@ -80,7 +80,9 @@ TfLiteStatus VisitLogicalBinaryOperator(DelegateData& delegateData, return isSupported ? kTfLiteOk : kTfLiteError; } - armnn::IConnectableLayer* logicalBinaryLayer = delegateData.m_Network->AddLogicalBinaryLayer(desc); + auto layerName = GetLayerName(desc.m_Operation, nodeIndex); + armnn::IConnectableLayer* logicalBinaryLayer = delegateData.m_Network->AddLogicalBinaryLayer(desc, + layerName.c_str()); logicalBinaryLayer->SetBackendId(setBackend); ARMNN_ASSERT(logicalBinaryLayer != nullptr); @@ -90,7 +92,8 @@ TfLiteStatus VisitLogicalBinaryOperator(DelegateData& delegateData, auto inputsTensorsProcess = ProcessInputs(logicalBinaryLayer, delegateData, tfLiteContext, - tfLiteNode); + tfLiteNode, + nodeIndex); if (inputsTensorsProcess == kTfLiteError) { return inputsTensorsProcess; |