From 77bfb5e32faadb1383d48364a6f54adbff84ad80 Mon Sep 17 00:00:00 2001 From: Aron Virginas-Tar Date: Wed, 16 Oct 2019 17:45:38 +0100 Subject: IVGCVSW-3993 Add frontend and reference workload for ComparisonLayer * Added frontend for ComparisonLayer * Added RefComparisonWorkload * Deprecated and removed Equal and Greater layers and workloads * Updated tests to ensure backward compatibility Signed-off-by: Aron Virginas-Tar Change-Id: Id50c880be1b567c531efff919c0c366d0a71cbe9 --- src/armnn/LayerSupport.cpp | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/armnn/LayerSupport.cpp') diff --git a/src/armnn/LayerSupport.cpp b/src/armnn/LayerSupport.cpp index f88e4e1cc9..997b5f245a 100644 --- a/src/armnn/LayerSupport.cpp +++ b/src/armnn/LayerSupport.cpp @@ -262,7 +262,12 @@ bool IsEqualSupported(const BackendId& backend, char* reasonIfUnsupported, size_t reasonIfUnsupportedMaxLength) { - FORWARD_LAYER_SUPPORT_FUNC(backend, IsEqualSupported, input0, input1, output); + FORWARD_LAYER_SUPPORT_FUNC(backend, + IsComparisonSupported, + input0, + input1, + output, + ComparisonDescriptor(ComparisonOperation::Equal)); } bool IsFakeQuantizationSupported(const BackendId& backend, @@ -317,7 +322,12 @@ bool IsGreaterSupported(const BackendId& backend, char* reasonIfUnsupported, size_t reasonIfUnsupportedMaxLength) { - FORWARD_LAYER_SUPPORT_FUNC(backend, IsGreaterSupported, input0, input1, output); + FORWARD_LAYER_SUPPORT_FUNC(backend, + IsComparisonSupported, + input0, + input1, + output, + ComparisonDescriptor(ComparisonOperation::Greater)); } bool IsInputSupported(const BackendId& backend, -- cgit v1.2.1