From bfa767ca56f9776e7dd3eecb4025cfeed87f9936 Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Wed, 9 Feb 2022 14:58:03 +0000 Subject: MLCE-754 'Improve operator support error/warning from Arm NN Delegate' * Improved error reporting on armnn_delegate Signed-off-by: Sadik Armagan Change-Id: I1bd131fb56d64b32b1fafad0465256178720226c --- delegate/src/ElementwiseBinary.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'delegate/src/ElementwiseBinary.hpp') 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, -- cgit v1.2.1