diff options
author | Ciara Sookarry <ciara.sookarry@arm.com> | 2023-10-31 15:44:41 +0000 |
---|---|---|
committer | Ciara Sookarry <ciara.sookarry@arm.com> | 2023-11-01 12:00:01 +0000 |
commit | 394361575bd3fdcd1f9ddc6cff631a2da698fae9 (patch) | |
tree | 2f4e3fb0132a4b0b8a7476fa84c78bf1699e2510 /delegate/classic | |
parent | 8f1f2cf374327b8b5b56a7163542840ad0bae6dd (diff) | |
download | armnn-394361575bd3fdcd1f9ddc6cff631a2da698fae9.tar.gz |
IVGCVSW-8112: Print caught exceptions to console in the delegate
Signed-off-by: Ciara Sookarry <ciara.sookarry@arm.com>
Change-Id: I16ef18a4d4afce0ae17c98cfb5267f51b7708539
Diffstat (limited to 'delegate/classic')
-rw-r--r-- | delegate/classic/src/armnn_delegate.cpp | 3 |
1 files changed, 3 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) |