diff options
author | Sadik Armagan <sadik.armagan@arm.com> | 2022-02-09 14:58:03 +0000 |
---|---|---|
committer | Sadik Armagan <sadik.armagan@arm.com> | 2022-02-11 10:33:08 +0000 |
commit | bfa767ca56f9776e7dd3eecb4025cfeed87f9936 (patch) | |
tree | 893be201ca8f5cb3f7b5cb9cec377588567fa6a2 /delegate/src/ElementwiseBinary.hpp | |
parent | eef6b76fedad6ba812c4eae74266c2828f9e8de4 (diff) | |
download | armnn-bfa767ca56f9776e7dd3eecb4025cfeed87f9936.tar.gz |
MLCE-754 'Improve operator support error/warning from Arm NN Delegate'
* Improved error reporting on armnn_delegate
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I1bd131fb56d64b32b1fafad0465256178720226c
Diffstat (limited to 'delegate/src/ElementwiseBinary.hpp')
-rw-r--r-- | delegate/src/ElementwiseBinary.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/delegate/src/ElementwiseBinary.hpp b/delegate/src/ElementwiseBinary.hpp index 0534c070be..434694c40a 100644 --- a/delegate/src/ElementwiseBinary.hpp +++ b/delegate/src/ElementwiseBinary.hpp @@ -27,7 +27,7 @@ TfLiteStatus ValidateAddOperator(DelegateData& delegateData, bool isSupported = false; auto validateFunc = [&](const armnn::TensorInfo& outputTensorInfo, bool& isSupported) { - FORWARD_LAYER_SUPPORT_FUNC(__func__, + FORWARD_LAYER_SUPPORT_FUNC("ADD", tfLiteContext, IsAdditionSupported, delegateData.m_Backends, @@ -51,7 +51,7 @@ TfLiteStatus ValidateDivOperator(DelegateData& delegateData, bool isSupported = false; auto validateFunc = [&](const armnn::TensorInfo& outputTensorInfo, bool& isSupported) { - FORWARD_LAYER_SUPPORT_FUNC(__func__, + FORWARD_LAYER_SUPPORT_FUNC("DIV", tfLiteContext, IsDivisionSupported, delegateData.m_Backends, @@ -103,7 +103,7 @@ TfLiteStatus ValidateMaximumOperator(DelegateData& delegateData, bool isSupported = false; auto validateFunc = [&](const armnn::TensorInfo& outputTensorInfo, bool& isSupported) { - FORWARD_LAYER_SUPPORT_FUNC(__func__, + FORWARD_LAYER_SUPPORT_FUNC("MAXIMUM", tfLiteContext, IsMaximumSupported, delegateData.m_Backends, @@ -126,7 +126,7 @@ TfLiteStatus ValidateMinimumOperator(DelegateData& delegateData, bool isSupported = false; auto validateFunc = [&](const armnn::TensorInfo& outputTensorInfo, bool& isSupported) { - FORWARD_LAYER_SUPPORT_FUNC(__func__, + FORWARD_LAYER_SUPPORT_FUNC("MINIMUM", tfLiteContext, IsMinimumSupported, delegateData.m_Backends, @@ -149,7 +149,7 @@ TfLiteStatus ValidateMulOperator(DelegateData& delegateData, bool isSupported = false; auto validateFunc = [&](const armnn::TensorInfo& outputTensorInfo, bool& isSupported) { - FORWARD_LAYER_SUPPORT_FUNC(__func__, + FORWARD_LAYER_SUPPORT_FUNC("MUL", tfLiteContext, IsMultiplicationSupported, delegateData.m_Backends, @@ -172,7 +172,7 @@ TfLiteStatus ValidateSubOperator(DelegateData& delegateData, bool isSupported = false; auto validateFunc = [&](const armnn::TensorInfo& outputTensorInfo, bool& isSupported) { - FORWARD_LAYER_SUPPORT_FUNC(__func__, + FORWARD_LAYER_SUPPORT_FUNC("SUB", tfLiteContext, IsSubtractionSupported, delegateData.m_Backends, |