diff options
author | Luca Foschiani <luca.foschiani@arm.com> | 2020-02-13 15:07:36 +0000 |
---|---|---|
committer | Luca Foschiani <luca.foschiani@arm.com> | 2020-03-26 12:31:14 +0000 |
commit | 4b869532f8b2aa7f02aa55c4f4813e994ea2df68 (patch) | |
tree | 318506b8c5933165b1fe6d054fc7beec79c6a0f5 /arm_compute/runtime/NEON/functions/NEGEMMLowpOutputStage.h | |
parent | 1b14c75c0d591c4abe4d2d41b7e4e165fbf58382 (diff) | |
download | ComputeLibrary-4b869532f8b2aa7f02aa55c4f4813e994ea2df68.tar.gz |
COMPMID-2966 Add support for QASYMM8_SIGNED in NEGEMMLowpQuantizeDownInt32ToUint8ScaleKernel
Signed-off-by: Luca Foschiani <luca.foschiani@arm.com>
Change-Id: Ia8692f8fda16fa3b73f343e4b5b1b55e14403225
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2750
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEGEMMLowpOutputStage.h')
-rw-r--r-- | arm_compute/runtime/NEON/functions/NEGEMMLowpOutputStage.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEGEMMLowpOutputStage.h b/arm_compute/runtime/NEON/functions/NEGEMMLowpOutputStage.h index 283b052917..cbdc788c0a 100644 --- a/arm_compute/runtime/NEON/functions/NEGEMMLowpOutputStage.h +++ b/arm_compute/runtime/NEON/functions/NEGEMMLowpOutputStage.h @@ -51,7 +51,7 @@ class ITensor; * * This function calls the following NEON kernels: * - * -# @ref NEGEMMLowpQuantizeDownInt32ToUint8ScaleKernel + * -# @ref NEGEMMLowpQuantizeDownInt32ScaleKernel * * @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 ITensor *input, const ITensor *bias, ITensor *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 NEGEMMLowpQuantizeDownInt32ToUint8Scale @@ -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()); }; @@ -273,7 +275,7 @@ public: * * This function calls the following NEON kernels: * - * -# @ref NEGEMMLowpQuantizeDownInt32ToUint8ScaleKernel + * -# @ref NEGEMMLowpQuantizeDownInt32ScaleKernel * -# @ref NEGEMMLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel * -# @ref NEGEMMLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel * -# @ref NEGEMMLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel |