diff options
author | Pablo Tello <pablo.tello@arm.com> | 2019-08-23 16:26:26 +0100 |
---|---|---|
committer | Pablo Marquez <pablo.tello@arm.com> | 2019-08-30 09:34:09 +0000 |
commit | ebe2e8ccc6f9504fdad95884a794be1e9f58803e (patch) | |
tree | 51d2ccbf02835dbd743a129424f1bd54f2d8f5b8 /arm_compute/runtime/NEON/functions/NEROIAlignLayer.h | |
parent | d75f9e9a7bd192a88631972ccd82254059ce4a9d (diff) | |
download | ComputeLibrary-ebe2e8ccc6f9504fdad95884a794be1e9f58803e.tar.gz |
COMPMID-2318: Implement NEROIAlignLayer
Added support for QASYMM8
Change-Id: I884ee8b44f38ed6e2eb5600e4ffff25e19f52eb8
Signed-off-by: Pablo Tello <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1831
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEROIAlignLayer.h')
-rw-r--r-- | arm_compute/runtime/NEON/functions/NEROIAlignLayer.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEROIAlignLayer.h b/arm_compute/runtime/NEON/functions/NEROIAlignLayer.h index f28fb6b2be..e8171d3817 100644 --- a/arm_compute/runtime/NEON/functions/NEROIAlignLayer.h +++ b/arm_compute/runtime/NEON/functions/NEROIAlignLayer.h @@ -42,9 +42,10 @@ class NEROIAlignLayer : public INESimpleFunction public: /** Set the input and output tensors. * - * @param[in] input Source tensor. Data types supported: F16/F32. + * @param[in] input Source tensor. Data types supported: QASYMM8/F16/F32. * @param[in] rois ROIs tensor, it is a 2D tensor of size [5, N] (where N is the number of ROIs) containing top left and bottom right corner - * as coordinate of an image and batch_id of ROI [ batch_id, x1, y1, x2, y2 ]. Data types supported: same as @p input + * as coordinate of an image and batch_id of ROI [ batch_id, x1, y1, x2, y2 ]. + * Data types supported: QASYMM16 with scale of 0.125 and 0 offset if @p input is QASYMM8, otherwise same as @p input * @param[out] output Destination tensor. Data types supported: Same as @p input. * @param[in] pool_info Contains pooling operation information described in @ref ROIPoolingLayerInfo. * @@ -54,10 +55,11 @@ public: * @note The fourth dimension of @p output tensor must be the same as the number of elements in @p rois array. */ void configure(const ITensor *input, const ITensor *rois, ITensor *output, const ROIPoolingLayerInfo &pool_info); - /** Static function to check if given info will lead to a valid configuration of @ref NEROIAlignLayer + /** Static function to check if given info will lead to a valid configuration of @ref NEROIAlignLayerKernel * - * @param[in] input Source tensor info. Data types supported: F16/F32. - * @param[in] rois ROIs tensor info. Data types supported: same as @p input + * @param[in] input Source tensor info. Data types supported: QASYMM8/F16/F32. + * @param[in] rois ROIs tensor info. Data types supported: QASYMM16 with scale of 0.125 and 0 offset if @p input is QASYMM8, + * otherwise same as @p input * @param[in] output Destination tensor info. Data types supported: Same as @p input. * @param[in] pool_info Contains pooling operation information described in @ref ROIPoolingLayerInfo. * |