diff options
author | Luca Foschiani <luca.foschiani@arm.com> | 2020-02-26 14:30:14 +0000 |
---|---|---|
committer | Luca Foschiani <luca.foschiani@arm.com> | 2020-03-23 17:16:22 +0000 |
commit | 689c968239180eda4263e34c3d450093d4a0450d (patch) | |
tree | 9ecc01efac6f59f05c862bf32d6e1ee3ce5a69ed /arm_compute/runtime/CL/functions/CLGEMMLowpOutputStage.h | |
parent | 3bb75d60ced0cefa503e90f5d0d8cfe3db3f8637 (diff) | |
download | ComputeLibrary-689c968239180eda4263e34c3d450093d4a0450d.tar.gz |
COMPMID-2967 Add support for QASYMM8_SIGNED in CLGEMMLowpQuantizeDownInt32ToUint8ScaleKernel
Signed-off-by: Luca Foschiani <luca.foschiani@arm.com>
Change-Id: I4f7918630ea95fc28597b3d7b189f3d8fd35aef8
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2890
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLGEMMLowpOutputStage.h')
-rw-r--r-- | arm_compute/runtime/CL/functions/CLGEMMLowpOutputStage.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arm_compute/runtime/CL/functions/CLGEMMLowpOutputStage.h b/arm_compute/runtime/CL/functions/CLGEMMLowpOutputStage.h index b6619da5d2..184d827d4b 100644 --- a/arm_compute/runtime/CL/functions/CLGEMMLowpOutputStage.h +++ b/arm_compute/runtime/CL/functions/CLGEMMLowpOutputStage.h @@ -51,7 +51,7 @@ class ITensor; * * This function calls the following OpenCL kernels: * - * -# @ref CLGEMMLowpQuantizeDownInt32ToUint8ScaleKernel + * -# @ref CLGEMMLowpQuantizeDownInt32ScaleKernel * * @note The function accepts also 2 optional input arguments (min and max) which can be used to implement "rectified linear unit" activation functions * after the result is shifted right by result_shift @@ -72,6 +72,7 @@ public: * @param[in] max (Optional) Max value used to saturate up the output result before converting back to QASYMM8, * Along with @p min, this value can be used to implement "rectified linear unit" activation functions. Defaults to the maximum possible 32-bit signed integer. */ + ARM_COMPUTE_DEPRECATED_REL(20.05) void configure(const ICLTensor *input, const ICLTensor *bias, ICLTensor *output, int result_offset, int result_mult_int, int result_shift, int min = std::numeric_limits<int32_t>::lowest(), int max = std::numeric_limits<int32_t>::max()); /** Static function to check if given info will lead to a valid configuration of @ref CLGEMMLowpQuantizeDownInt32ToUint8Scale @@ -86,6 +87,7 @@ public: * * @return a status */ + ARM_COMPUTE_DEPRECATED_REL(20.05) static Status validate(const ITensorInfo *input, const ITensorInfo *bias, const ITensorInfo *output, int min = std::numeric_limits<int32_t>::lowest(), int max = std::numeric_limits<int32_t>::max()); }; @@ -314,6 +316,7 @@ public: * * This function calls the following CL kernels: * + * -# @ref CLGEMMLowpQuantizeDownInt32ScaleKernel * -# @ref CLGEMMLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel * -# @ref CLGEMMLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel */ |