diff options
Diffstat (limited to 'arm_compute/core/NEON/kernels/NEROIAlignLayerKernel.h')
-rw-r--r-- | arm_compute/core/NEON/kernels/NEROIAlignLayerKernel.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/arm_compute/core/NEON/kernels/NEROIAlignLayerKernel.h b/arm_compute/core/NEON/kernels/NEROIAlignLayerKernel.h index 00c6f07cb5..4fc339bd14 100644 --- a/arm_compute/core/NEON/kernels/NEROIAlignLayerKernel.h +++ b/arm_compute/core/NEON/kernels/NEROIAlignLayerKernel.h @@ -55,9 +55,10 @@ 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. * @@ -69,8 +70,9 @@ public: 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 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. * @@ -87,7 +89,7 @@ public: void run(const Window &window, const ThreadInfo &info) override; private: - template <DataLayout data_layout, typename data_type> + template <DataLayout data_layout, typename input_data_type, typename roi_data_type = input_data_type> void internal_run(const Window &window, const ThreadInfo &info); const ITensor *_input; |