aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/NEON/functions/NECast.h
diff options
context:
space:
mode:
authorLuca Foschiani <luca.foschiani@arm.com>2020-01-08 15:55:08 +0000
committerLuca Foschiani <luca.foschiani@arm.com>2020-01-10 09:53:34 +0000
commitdaa3aba64d01fd02fc74d0707d50d2571e5f0ce8 (patch)
tree054aa85892af83aab05524a52b62662b2abc3d80 /arm_compute/runtime/NEON/functions/NECast.h
parentdceacdc7e0b0d1246140940ae67d4f8f80886966 (diff)
downloadComputeLibrary-daa3aba64d01fd02fc74d0707d50d2571e5f0ce8.tar.gz
COMPMID-2799 Add support for QASYMM8_SIGNED in NECast
Change-Id: I671d645cb458bfd5820192156c86cc8d6182fb5a Signed-off-by: Luca Foschiani <luca.foschiani@arm.com> Reviewed-on: https://review.mlplatform.org/c/2553 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NECast.h')
-rw-r--r--arm_compute/runtime/NEON/functions/NECast.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/arm_compute/runtime/NEON/functions/NECast.h b/arm_compute/runtime/NEON/functions/NECast.h
index 705cddc662..55c21a01ec 100644
--- a/arm_compute/runtime/NEON/functions/NECast.h
+++ b/arm_compute/runtime/NEON/functions/NECast.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2019 ARM Limited.
+ * Copyright (c) 2019-2020 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -43,23 +43,24 @@ public:
*
* Valid conversions Input -> Output :
*
+ * - QASYMM8_SIGNED -> S16, S32, F32, F16
* - QASYMM8 -> U16, S16, S32, F32, F16
* - U8 -> U16, S16, S32, F32, F16
* - U16 -> U8, U32
- * - S16 -> U8, S32
- * - F16 -> QASYMM8, F32, S32, U8
- * - S32 -> QASYMM8, F16, F32, U8
- * - F32 -> QASYMM8, F16, S32, U8
+ * - S16 -> QASYMM8_SIGNED, U8, S32
+ * - F16 -> QASYMM8_SIGNED, QASYMM8, F32, S32, U8
+ * - S32 -> QASYMM8_SIGNED, QASYMM8, F16, F32, U8
+ * - F32 -> QASYMM8_SIGNED, QASYMM8, F16, S32, U8
*
- * @param[in] input The input tensor to convert. Data types supported: QASYMM8, U8, U16, S16, F16, S32, F32.
- * @param[out] output The output tensor. Data types supported: S8/U16/S16/U32/S32/F16/F32.
+ * @param[in] input The input tensor to convert. Data types supported: QASYMM8_SIGNED/QASYMM8/U8/U16/S16/F16/S32/F32.
+ * @param[out] output The output tensor. Data types supported: QASYMM8_SIGNED/QASYMM8/U8/S8/U16/S16/U32/S32/F16/F32.
* @param[in] policy Conversion policy.
*/
void configure(ITensor *input, ITensor *output, ConvertPolicy policy);
/** Static function to check if given info will lead to a valid configuration of @ref NECast
*
- * @param[in] input Source tensor info. Data types supported: QASYMM8, U8, U16, S16, F16, S32, F32.
- * @param[in] output Destination tensor info. Data type supported: S8/U16/S16/U32/S32/F16/F32.
+ * @param[in] input Source tensor info. Data types supported: QASYMM8_SIGNED/QASYMM8/U8/U16/S16/F16/S32/F32.
+ * @param[in] output Destination tensor info. Data type supported: QASYMM8_SIGNED/QASYMM8/U8/S8/U16/S16/U32/S32/F16/F32.
* @param[in] policy Conversion policy.
*
* @return a status