From daa3aba64d01fd02fc74d0707d50d2571e5f0ce8 Mon Sep 17 00:00:00 2001 From: Luca Foschiani Date: Wed, 8 Jan 2020 15:55:08 +0000 Subject: COMPMID-2799 Add support for QASYMM8_SIGNED in NECast Change-Id: I671d645cb458bfd5820192156c86cc8d6182fb5a Signed-off-by: Luca Foschiani Reviewed-on: https://review.mlplatform.org/c/2553 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Michalis Spyrou Reviewed-by: Michele Di Giorgio --- arm_compute/runtime/NEON/functions/NECast.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'arm_compute/runtime/NEON/functions/NECast.h') 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 -- cgit v1.2.1