aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/Types.h
diff options
context:
space:
mode:
authorgiuros01 <giuseppe.rossini@arm.com>2018-11-20 18:34:46 +0000
committerGiuseppe Rossini <giuseppe.rossini@arm.com>2018-11-30 18:00:25 +0000
commit164a2727d3bbce0e575d24b7db787c85e2e2c203 (patch)
tree983fc1f519032ac9a056e19f87e32597ca1874a1 /arm_compute/core/Types.h
parent7930db48e12dd3a14c1971f41f5b83527efea281 (diff)
downloadComputeLibrary-164a2727d3bbce0e575d24b7db787c85e2e2c203.tar.gz
COMPMID-1717: CL: Implement Maximum, Minimum, SquaredDifference
Change-Id: Ice653e48211053bd3cd20a693bd76de6b4efc370 Reviewed-on: https://review.mlplatform.org/270 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/Types.h')
-rw-r--r--arm_compute/core/Types.h11
1 files changed, 11 insertions, 0 deletions
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
{