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>
diff --git a/arm_compute/core/CL/kernels/CLCropKernel.h b/arm_compute/core/CL/kernels/CLCropKernel.h
index a1c6f90..cbc2338 100644
--- a/arm_compute/core/CL/kernels/CLCropKernel.h
+++ b/arm_compute/core/CL/kernels/CLCropKernel.h
@@ -49,7 +49,7 @@
*
* @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 @@
* @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 @@
*
* @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 86df0d4..ea50fe5 100644
--- a/arm_compute/runtime/CL/functions/CLCropResize.h
+++ b/arm_compute/runtime/CL/functions/CLCropResize.h
@@ -62,7 +62,7 @@
* @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 @@
* @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 @@
* @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