From 9492987bde667457e71c4de78bc35610a984ee33 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Prasanna=20R/SNAP=20/SRI-Bangalore/Engineer/=EC=82=BC?= =?utf8?q?=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Thu, 6 Dec 2018 10:43:31 +0530 Subject: [PATCH] Introduce enum for EQUALITY op. (#3853) This patch introduces an enum for EQUALITY operations like EQUAL, NOT_EQUAL. This is related to #3851. This is reduce code redundancy to a good extent in future. Signed-off-by: prasannar --- libs/ARMComputeEx/arm_compute/core/TypesEx.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/ARMComputeEx/arm_compute/core/TypesEx.h b/libs/ARMComputeEx/arm_compute/core/TypesEx.h index 40bae08..cea75a2 100644 --- a/libs/ARMComputeEx/arm_compute/core/TypesEx.h +++ b/libs/ARMComputeEx/arm_compute/core/TypesEx.h @@ -42,6 +42,12 @@ enum class LogicalOperation NOT, /**< NOT */ }; +enum class ComparisonOperation +{ + EQUAL, /**< EQUAL */ + NOT_EQUAL, /**< NOT_EQUAL */ +}; + /** Activation Layer Information class */ class ActivationLayerInfoEx { -- 2.7.4