aboutsummaryrefslogtreecommitdiff
path: root/delegate/opaque/src/armnn_delegate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'delegate/opaque/src/armnn_delegate.cpp')
-rw-r--r--delegate/opaque/src/armnn_delegate.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/delegate/opaque/src/armnn_delegate.cpp b/delegate/opaque/src/armnn_delegate.cpp
index 33a07f244d..54bdf36982 100644
--- a/delegate/opaque/src/armnn_delegate.cpp
+++ b/delegate/opaque/src/armnn_delegate.cpp
@@ -678,7 +678,10 @@ TfLiteStatus ArmnnSubgraph::Invoke(TfLiteOpaqueContext* tfLiteContext, TfLiteOpa
}
catch (armnn::InvalidArgumentException& ex)
{
- ARMNN_LOG(error) << "ArmNN Failed to EnqueueWorkload with error: " << ex.what();
+ std::stringstream exMessage;
+ exMessage << "ArmNN Failed to EnqueueWorkload with error: " << ex.what();
+ ARMNN_LOG(error) << exMessage.str();
+ TFLITE_LOG_PROD_ONCE(tflite::TFLITE_LOG_INFO, exMessage.str().c_str());
// This should really be kTfLiteDelegateError but the Delegate Test Suite expects kTfLiteError so we return
// that instead
return kTfLiteError;