diff options
author | Sheri Zhang <sheri.zhang@arm.com> | 2020-06-26 14:46:59 +0100 |
---|---|---|
committer | Sheri Zhang <sheri.zhang@arm.com> | 2020-06-29 20:49:30 +0000 |
commit | c5b6d8822da0fae1807dda46674f68d00db8e321 (patch) | |
tree | 41f103ae406222dee284f891c02e771d3637d7a8 /arm_compute | |
parent | e5563d9b0102846973f144cba42fb9002bebd09b (diff) | |
download | ComputeLibrary-c5b6d8822da0fae1807dda46674f68d00db8e321.tar.gz |
COMPMID-3562: Support QASYMM8_SIGNED in CLArgMinMaxLayerKernel
Signed-off-by: Sheri Zhang <sheri.zhang@arm.com>
Change-Id: I6c6efde06f000834b0b770889e3eb5ee0d14b027
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3476
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute')
-rw-r--r-- | arm_compute/core/CL/kernels/CLArgMinMaxLayerKernel.h | 6 | ||||
-rw-r--r-- | arm_compute/runtime/CL/functions/CLArgMinMaxLayer.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arm_compute/core/CL/kernels/CLArgMinMaxLayerKernel.h b/arm_compute/core/CL/kernels/CLArgMinMaxLayerKernel.h index 94e8baed13..099238fa75 100644 --- a/arm_compute/core/CL/kernels/CLArgMinMaxLayerKernel.h +++ b/arm_compute/core/CL/kernels/CLArgMinMaxLayerKernel.h @@ -56,7 +56,7 @@ public: /** Set the input and output tensors. * - * @param[in] input Source tensor. Data types supported: S32/F16/F32. + * @param[in] input Source tensor. Data types supported: QASYMM8/QASYMM8_SIGNED/S32/F16/F32. * @param[in] prev_output Destination tensor of the previous iterations of @ref CLArgMinMaxLayerKernel. Data types supported: U32/S32 * Has to be nullptr for the first iteration * @param[out] output Destination tensor. Data types supported: U32/S32 @@ -68,7 +68,7 @@ public: /** Set the input and output tensors. * * @param[in] compile_context The compile context to be used. - * @param[in] input Source tensor. Data types supported: S32/F16/F32. + * @param[in] input Source tensor. Data types supported: QASYMM8/QASYMM8_SIGNED/S32/F16/F32. * @param[in] prev_output Destination tensor of the previous iterations of @ref CLArgMinMaxLayerKernel. Data types supported: U32/S32 * Has to be nullptr for the first iteration * @param[out] output Destination tensor. Data types supported: U32/S32 @@ -80,7 +80,7 @@ public: /** Static function to check if given info will lead to a valid configuration of @ref CLArgMinMaxLayerKernel. * - * @param[in] input Source tensor info. Data types supported: S32/F16/F32. + * @param[in] input Source tensor info. Data types supported: QASYMM8/QASYMM8_SIGNED/S32/F16/F32. * @param[in] prev_output Destination tensor info of the previous iterations. Data types supported: U32/S32 * Has to be nullptr for the first iteration * @param[in] output Destination tensor info. Data types supported: U32/S32 diff --git a/arm_compute/runtime/CL/functions/CLArgMinMaxLayer.h b/arm_compute/runtime/CL/functions/CLArgMinMaxLayer.h index b0d29bcefe..997bb79a47 100644 --- a/arm_compute/runtime/CL/functions/CLArgMinMaxLayer.h +++ b/arm_compute/runtime/CL/functions/CLArgMinMaxLayer.h @@ -55,7 +55,7 @@ public: CLArgMinMaxLayer(std::shared_ptr<IMemoryManager> memory_manager = nullptr); /** Set the input and output tensors. * - * @param[in] input Input source tensor. Data types supported: QASYMM8/F16/F32. + * @param[in] input Input source tensor. Data types supported: QASYMM8/QASYMM8_SIGNED/S32/F16/F32. * @param[in] axis Axis to find max/min index. * @param[out] output Output source tensor. Data types supported: U32/S32. * @param[in] op Reduction operation to perform. Operations supported: ARG_IDX_MAX, ARG_IDX_MIN @@ -64,7 +64,7 @@ public: /** Set the input and output tensors. * * @param[in] compile_context The compile context to be used. - * @param[in] input Input source tensor. Data types supported: QASYMM8/F16/F32. + * @param[in] input Input source tensor. Data types supported: QASYMM8/QASYMM8_SIGNED/S32/F16/F32. * @param[in] axis Axis to find max/min index. * @param[out] output Output source tensor. Data types supported: U32/S32. * @param[in] op Reduction operation to perform. Operations supported: ARG_IDX_MAX, ARG_IDX_MIN @@ -72,7 +72,7 @@ public: void configure(const CLCompileContext &compile_context, const ICLTensor *input, int axis, ICLTensor *output, const ReductionOperation &op); /** Static function to check if given info will lead to a valid configuration of @ref CLArgMinMaxLayer * - * @param[in] input Input source tensor info. Data types supported: QASYMM8/F16/F32. + * @param[in] input Input source tensor info. Data types supported: QASYMM8/QASYMM8_SIGNED/S32/F16/F32. * @param[in] axis Axis to find max/min index. * @param[in] output Output source tensor info. Data types supported: U32/S32. * @param[in] op Reduction operation to perform. Operations supported: ARG_IDX_MAX, ARG_IDX_MIN |