From: Prasanna R/SNAP /SRI-Bangalore/Engineer/삼성전자 Date: Thu, 6 Dec 2018 05:13:31 +0000 (+0530) Subject: Introduce enum for EQUALITY op. (#3853) X-Git-Tag: 0.3~186 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9492987bde667457e71c4de78bc35610a984ee33;p=platform%2Fcore%2Fml%2Fnnfw.git 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 --- 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 {