Introduce enum for EQUALITY op. (#3853)
authorPrasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 <prasanna.r@samsung.com>
Thu, 6 Dec 2018 05:13:31 +0000 (10:43 +0530)
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Thu, 6 Dec 2018 05:13:31 +0000 (14:13 +0900)
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 <prasanna.r@samsung.com>
libs/ARMComputeEx/arm_compute/core/TypesEx.h

index 40bae08..cea75a2 100644 (file)
@@ -42,6 +42,12 @@ enum class LogicalOperation
   NOT, /**< NOT */
 };
 
+enum class ComparisonOperation
+{
+  EQUAL,     /**< EQUAL */
+  NOT_EQUAL, /**< NOT_EQUAL */
+};
+
 /** Activation Layer Information class */
 class ActivationLayerInfoEx
 {