From da816752cad76c8e1b367e8e9c648994a1af599a Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 2 Jul 2021 09:22:14 +0100 Subject: Remove redundant implementations of Add/Sub operators Allows only implementations where inputs/output are of the same data type and removes legacy Computer Vision ones. Signed-off-by: Georgios Pinitas Change-Id: Ia2b3d23a04236aab682f0c36a1110a30f7c06d1c Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5900 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- src/runtime/cpu/operators/CpuAdd.h | 3 --- src/runtime/cpu/operators/CpuSub.h | 3 --- 2 files changed, 6 deletions(-) (limited to 'src/runtime/cpu') diff --git a/src/runtime/cpu/operators/CpuAdd.h b/src/runtime/cpu/operators/CpuAdd.h index febb79e4cd..3ff135fe41 100644 --- a/src/runtime/cpu/operators/CpuAdd.h +++ b/src/runtime/cpu/operators/CpuAdd.h @@ -39,9 +39,6 @@ public: * Valid configurations (src0,src1) -> dst : * * - (U8,U8) -> U8 - * - (U8,U8) -> S16 - * - (S16,U8) -> S16 - * - (U8,S16) -> S16 * - (S16,S16) -> S16 * - (S32,S32) -> S32 * - (F16,F16) -> F16 diff --git a/src/runtime/cpu/operators/CpuSub.h b/src/runtime/cpu/operators/CpuSub.h index aad01fe4dc..07f5be89cd 100644 --- a/src/runtime/cpu/operators/CpuSub.h +++ b/src/runtime/cpu/operators/CpuSub.h @@ -39,11 +39,8 @@ public: * Valid configurations (src0,src1) -> dst : * * - (U8,U8) -> U8 - * - (U8,U8) -> S16 * - (QASYMM8, QASYMM8) -> QASYMM8 * - (QASYMM8_SIGNED, QASYMM8_SIGNED) -> QASYMM8_SIGNED - * - (S16,U8) -> S16 - * - (U8,S16) -> S16 * - (S16,S16) -> S16 * - (S32,S32) -> S32 * - (F16,F16) -> F16 -- cgit v1.2.1