diff options
author | Michele Di Giorgio <michele.digiorgio@arm.com> | 2020-06-01 13:39:52 +0100 |
---|---|---|
committer | Michele Di Giorgio <michele.digiorgio@arm.com> | 2020-06-02 14:29:06 +0000 |
commit | 7d6b5772c8854a470a08b3415eda1ceca531601d (patch) | |
tree | 7732a0079c3feaa50f2c84928cef16eca299d47f /arm_compute | |
parent | 1710133b05a9ed1fcc1cc68624c2ce0e09eae495 (diff) | |
download | ComputeLibrary-7d6b5772c8854a470a08b3415eda1ceca531601d.tar.gz |
COMPMID-3365: Add support for U8 datatype to CropResize on CL
Change-Id: I5164db1fa4cef003875647ed01879c5dbdfb9b35
Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3286
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')
-rw-r--r-- | arm_compute/core/CL/kernels/CLCropKernel.h | 6 | ||||
-rw-r--r-- | arm_compute/runtime/CL/functions/CLCropResize.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arm_compute/core/CL/kernels/CLCropKernel.h b/arm_compute/core/CL/kernels/CLCropKernel.h index a1c6f901eb..cbc2338940 100644 --- a/arm_compute/core/CL/kernels/CLCropKernel.h +++ b/arm_compute/core/CL/kernels/CLCropKernel.h @@ -49,7 +49,7 @@ public: * * @note Supported tensor rank: up to 4 * - * @param[in] input Source tensor. Data type supported: U16/S16/U32/S32/F16/F32. Data layouts supported: NHWC. + * @param[in] input Source tensor. Data type supported: All. Data layouts supported: NHWC. * @param[out] output Destination tensor. Data type supported: F32 * @param[in] start Coordinates of where to start cropping the image. * @param[in] end Coordinates of where to end cropping the image. @@ -63,7 +63,7 @@ public: * @note Supported tensor rank: up to 4 * * @param[in] compile_context The compile context to be used. - * @param[in] input Source tensor. Data type supported: U16/S16/U32/S32/F16/F32. Data layouts supported: NHWC. + * @param[in] input Source tensor. Data type supported: All. Data layouts supported: NHWC. * @param[out] output Destination tensor. Data type supported: F32 * @param[in] start Coordinates of where to start cropping the image. * @param[in] end Coordinates of where to end cropping the image. @@ -78,7 +78,7 @@ public: * * @note Supported tensor rank: up to 4 * - * @param[in] input Source tensor info. Data type supported: U16/S16/U32/S32/F16/F32. Data layouts supported: NHWC. + * @param[in] input Source tensor info. Data type supported: All. Data layouts supported: NHWC. * @param[in] output Destination tensor info. Data type supported: F32 * @param[in] start Coordinates of where to start cropping the image. * @param[in] end Coordinates of where to end cropping the image. diff --git a/arm_compute/runtime/CL/functions/CLCropResize.h b/arm_compute/runtime/CL/functions/CLCropResize.h index 86df0d46d1..ea50fe51c7 100644 --- a/arm_compute/runtime/CL/functions/CLCropResize.h +++ b/arm_compute/runtime/CL/functions/CLCropResize.h @@ -62,7 +62,7 @@ public: * @note Box indices may be outside of the bounds, in which case @p extrapolation_value is used. * @note Start and end indices of boxes are inclusive. * - * @param[in] input Source tensor containing N batches of 3D images to be cropped. Data type supported: : U16/S16/U32/S32/F16/F32 + * @param[in] input Source tensor containing N batches of 3D images to be cropped. Data type supported: All * @param[in] boxes Tensor containing the boxes used to crop the images. It has to be known before configuration. Data type supported: F32 * @param[in] box_ind One dimensional tensor containing the batch index of the 3D image in @p input that the corresponding * box in @p boxes will be applied to. It has to be known before configuration. Data type supported: F32 @@ -80,7 +80,7 @@ public: * @note Start and end indices of boxes are inclusive. * * @param[in] compile_context The compile context to be used. - * @param[in] input Source tensor containing N batches of 3D images to be cropped. Data type supported: U16/S16/U32/S32/F16/F32 + * @param[in] input Source tensor containing N batches of 3D images to be cropped. Data type supported: All * @param[in] boxes Tensor containing the boxes used to crop the images. It has to be known before configuration. Data type supported: F32 * @param[in] box_ind One dimensional tensor containing the batch index of the 3D image in @p input that the corresponding * box in @p boxes will be applied to. It has to be known before configuration. Data type supported: F32 @@ -98,7 +98,7 @@ public: * @note Box indices may be outside of the bounds, in which case @p extrapolation_value is used. * @note Start and end indices of boxes are inclusive. * - * @param[in] input Source tensor info containing N batches of 3D images to be cropped. Data type supported: U16/S16/U32/S32/F16/F32 + * @param[in] input Source tensor info containing N batches of 3D images to be cropped. Data type supported: All * @param[in] boxes Tensor info for the tensor containing the boxes used to crop the images. Data type supported: F32 * @param[in] box_ind Tensor info for the one dimensional tensor containing the batch index of the 3D image in @p input * that the corresponding box in @p boxes will be applied to. Data type supported: F32 |