diff options
author | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2017-09-28 15:41:37 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | 1682430e220eb609752c650f85c0f96e375b6d6a (patch) | |
tree | 88db2cf1ad95df696c4477f06b30bac62fccf111 /arm_compute/core/NEON | |
parent | e1f8f9b976cec4af84e5beee1109912f36096f5c (diff) | |
download | ComputeLibrary-1682430e220eb609752c650f85c0f96e375b6d6a.tar.gz |
COMPMID-463 - Extended Pooling Layer on NEON to support Global Pooling
Change-Id: I8ae44187624deeab3d40d878e7b34ff651f1dad0
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89834
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'arm_compute/core/NEON')
-rw-r--r-- | arm_compute/core/NEON/kernels/NEPoolingLayerKernel.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arm_compute/core/NEON/kernels/NEPoolingLayerKernel.h b/arm_compute/core/NEON/kernels/NEPoolingLayerKernel.h index 2a0ecf8ba7..9d7c75179a 100644 --- a/arm_compute/core/NEON/kernels/NEPoolingLayerKernel.h +++ b/arm_compute/core/NEON/kernels/NEPoolingLayerKernel.h @@ -48,6 +48,8 @@ public: ~NEPoolingLayerKernel() = default; /** Set the input and output tensors. * + * @note QS8, QS16 and F16 are supported for pool sizes 2 and 3 only + * * @param[in] input Source tensor. Data types supported: QS8/QS16/F16/F32. * @param[out] output Destination tensor. Data types supported: Same as @p input. * @param[in] pool_info Contains pooling operation information described in @ref PoolingLayerInfo. @@ -123,6 +125,13 @@ private: */ template <PoolingType pooling_type> void pooling7_f32(const Window &window_input, const Window &window); + /** Function to perform NxN pooling. + * + * @param[in] window_input Input region on which to execute the kernel. + * @param[in] window Output region on which to execute the kernel. + */ + template <PoolingType pooling_type> + void poolingN_f32(const Window &window_input, const Window &window); /** Common signature for all the specialised Pooling functions * * @param[in] window_input Input region on which to execute the kernel. |