aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--delegate/classic/src/armnn_delegate.cpp3
-rw-r--r--delegate/opaque/src/armnn_delegate.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/delegate/classic/src/armnn_delegate.cpp b/delegate/classic/src/armnn_delegate.cpp
index 6054de5c5e..9861a11bfe 100644
--- a/delegate/classic/src/armnn_delegate.cpp
+++ b/delegate/classic/src/armnn_delegate.cpp
@@ -220,6 +220,9 @@ TfLiteIntArray* Delegate::IdentifyOperatorsToDelegate(TfLiteContext* tfLiteConte
{
ARMNN_LOG(error) << "ArmNN Failed to visit node with error: " << ex.what();
visitStatus = kTfLiteError;
+ TF_LITE_KERNEL_LOG(tfLiteContext,
+ "Exception text: %s",
+ ex.what());
}
if ( visitStatus != kTfLiteOk)
diff --git a/delegate/opaque/src/armnn_delegate.cpp b/delegate/opaque/src/armnn_delegate.cpp
index 129bc4333b..2340e4910e 100644
--- a/delegate/opaque/src/armnn_delegate.cpp
+++ b/delegate/opaque/src/armnn_delegate.cpp
@@ -333,6 +333,9 @@ TfLiteIntArray* ArmnnOpaqueDelegate::IdentifyOperatorsToDelegate(TfLiteOpaqueCon
{
ARMNN_LOG(error) << "ArmNN Failed to visit node with error: " << ex.what();
visitStatus = kTfLiteError;
+ TF_LITE_OPAQUE_KERNEL_LOG(tfLiteContext,
+ "Exception text: %s",
+ ex.what());
}
if (visitStatus != kTfLiteOk)