diff options
author | Manuel Bottini <manuel.bottini@arm.com> | 2020-01-30 17:30:32 +0000 |
---|---|---|
committer | Manuel Bottini <manuel.bottini@arm.com> | 2020-02-07 15:59:28 +0000 |
commit | 2f60221e60b69852918581b4eb450a0f81455a46 (patch) | |
tree | 25bed812a94b1dca4ec58e22f8d6a287b003106f /arm_compute | |
parent | 0b18d9740f04cc4e9cb6000a76b9c1dcd8327e24 (diff) | |
download | ComputeLibrary-2f60221e60b69852918581b4eb450a0f81455a46.tar.gz |
COMPMID-3046: Add CLRequantizationLayerKernel
Change-Id: I034f5aa023642f2323372495ddd14fc62b4c12e0
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2681
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute')
-rw-r--r-- | arm_compute/core/CL/kernels/CLQuantizationLayerKernel.h | 4 | ||||
-rw-r--r-- | arm_compute/runtime/CL/functions/CLQuantizationLayer.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arm_compute/core/CL/kernels/CLQuantizationLayerKernel.h b/arm_compute/core/CL/kernels/CLQuantizationLayerKernel.h index 4e487cd57b..07c93d3306 100644 --- a/arm_compute/core/CL/kernels/CLQuantizationLayerKernel.h +++ b/arm_compute/core/CL/kernels/CLQuantizationLayerKernel.h @@ -51,7 +51,7 @@ public: ~CLQuantizationLayerKernel() = default; /** Set the input, output. * - * @param[in] input Source tensor. Data types supported: F32/F16. + * @param[in] input Source tensor. Data types supported: QASYMM8/QASYMM8_SIGNED/F32/F16. * @param[out] output Destination tensor with the same dimensions of input. Data types supported: QASYMM8/QASYMM8_SIGNED/QASYMM16. * * @note Output auto initialization is not supported by this kernel @@ -59,7 +59,7 @@ public: void configure(const ICLTensor *input, ICLTensor *output); /** Static function to check if given info will lead to a valid configuration of @ref CLQuantizationLayerKernel * - * @param[in] input Input tensor info. Data types supported: F32/F16. + * @param[in] input Input tensor info. Data types supported: QASYMM8/QASYMM8_SIGNED/F32/F16. * @param[in] output Destination tensor info with the same dimensions of input. Data types supported: QASYMM8/QASYMM8_SIGNED/QASYMM16. * * @return a status diff --git a/arm_compute/runtime/CL/functions/CLQuantizationLayer.h b/arm_compute/runtime/CL/functions/CLQuantizationLayer.h index ad039f570e..fbdef53aeb 100644 --- a/arm_compute/runtime/CL/functions/CLQuantizationLayer.h +++ b/arm_compute/runtime/CL/functions/CLQuantizationLayer.h @@ -42,7 +42,7 @@ class CLQuantizationLayer : public ICLSimpleFunction public: /** Set the input and output tensors. * - * @param[in] input Source tensor. The dimensions over the third will be interpreted as batches. Data types supported: F16/32. + * @param[in] input Source tensor. The dimensions over the third will be interpreted as batches. Data types supported: QASYMM8/QASYMM8_SIGNED/F16/32. * @param[out] output Destination tensor with the same dimensions of input. Data types supported: QASYMM8/QASYMM8_SIGNED/QASYMM16. * * @note Output auto initialization is not supported by this function @@ -50,7 +50,7 @@ public: void configure(const ICLTensor *input, ICLTensor *output); /** Static function to check if given info will lead to a valid configuration of @ref CLQuantizationLayer * - * @param[in] input Input tensor info. The dimensions over the third will be interpreted as batches. Data types supported: F16/32. + * @param[in] input Input tensor info. The dimensions over the third will be interpreted as batches. Data types supported: QASYMM8/QASYMM8_SIGNED/F16/32. * @param[in] output Output tensor info. Data types supported: QASYMM8/QASYMM8_SIGNED/QASYMM16. * * @return a status |