From 164a2727d3bbce0e575d24b7db787c85e2e2c203 Mon Sep 17 00:00:00 2001 From: giuros01 Date: Tue, 20 Nov 2018 18:34:46 +0000 Subject: COMPMID-1717: CL: Implement Maximum, Minimum, SquaredDifference Change-Id: Ice653e48211053bd3cd20a693bd76de6b4efc370 Reviewed-on: https://review.mlplatform.org/270 Reviewed-by: Georgios Pinitas Tested-by: Arm Jenkins --- arm_compute/core/Types.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'arm_compute/core/Types.h') diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index 7db2f5fddf..7d632fec28 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -552,6 +552,17 @@ enum class ReductionOperation ARG_IDX_MIN /**< Index of the min value */ }; +/** Available element-wise operations */ +enum class ArithmeticOperation +{ + ADD, /**< (x + y) */ + SUB, /**< (x - y) */ + DIV, /**< (x / y) */ + MIN, /**< Min(x, y) */ + MAX, /**< Max(x, y) */ + SQUARED_DIFF, /**< (x - y)^2 */ +}; + /** The normalization type used for the normalization layer */ enum class NormType { -- cgit v1.2.1