From 5e549fa8ff058eb06cb74de43b9f89a08d0b4a9c Mon Sep 17 00:00:00 2001 From: Mohammed Suhail Munshi Date: Wed, 16 Mar 2022 11:14:06 +0000 Subject: Add CLPool3d Int8 Support - Adds Qasymm8 and Qasymm8_signed support to the 3d pool operator Resolves: COMPMID-4669 Signed-off-by: Mohammed Suhail Munshi Change-Id: I36038c2b7c4f36baf67f7aae801356890e104538 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/VisualCompute/ComputeLibrary/+/410496 Tested-by: bsgcomp Reviewed-by: Sheri Zhang Comments-Addressed: bsgcomp Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7391 Tested-by: Arm Jenkins Reviewed-by: Gunes Bayir Comments-Addressed: Arm Jenkins --- arm_compute/runtime/CL/functions/CLPooling3dLayer.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'arm_compute/runtime/CL/functions') diff --git a/arm_compute/runtime/CL/functions/CLPooling3dLayer.h b/arm_compute/runtime/CL/functions/CLPooling3dLayer.h index 8bad449c6f..91c46770da 100644 --- a/arm_compute/runtime/CL/functions/CLPooling3dLayer.h +++ b/arm_compute/runtime/CL/functions/CLPooling3dLayer.h @@ -62,13 +62,15 @@ public: * |:--------------|:--------------| * |F16 |F16 | * |F32 |F32 | + * |QASYMM8 |QASYMM8 | + * |QASYMM8_SIGNED |QASYMM8_SIGNED | * * @note Source tensor is padded with -inf for MAX pooling and 0 otherwise * Cases where pooling region is completely outside input tensor are not supported * * @note Asymmetric padding is not supported when dimension rounding type == CEIL. * - * @param[in,out] input Source tensor. Data types supported: F16/F32. + * @param[in,out] input Source tensor. Data types supported: F16/F32/QASYMM8/QASYMM8_SIGNED. * @param[out] output Destination tensor. Data types supported: Same as @p input. * @param[in] pool_info Contains 3d pooling operation information described in @ref Pooling3dLayerInfo. */ @@ -76,14 +78,14 @@ public: /** Set the input and output tensors. * * @param[in] compile_context The compile context to be used. - * @param[in,out] input Source tensor. Data types supported: F16/F32. + * @param[in,out] input Source tensor. Data types supported: F16/F32/QASYMM8/QASYMM8_SIGNED. * @param[out] output Destination tensor. Data types supported: Same as @p input. * @param[in] pool_info Contains 3d pooling operation information described in @ref Pooling3dLayerInfo. */ void configure(const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output, const Pooling3dLayerInfo &pool_info); /** Static function to check if given info will lead to a valid configuration of @ref CLPooling3dLayer * - * @param[in] input Source tensor info. Data types supported: F16/F32. + * @param[in] input Source tensor info. Data types supported: F16/F32/QASYMM8/QASYMM8_SIGNED. * @param[in] output Destination tensor info. Data types supported: Same as @p input. * @param[in] pool_info Contains 3d pooling operation information described in @ref Pooling3dLayerInfo. * -- cgit v1.2.1