diff options
author | morgolock <pablo.tello@arm.com> | 2020-03-24 09:26:48 +0000 |
---|---|---|
committer | Pablo Marquez <pablo.tello@arm.com> | 2020-04-01 12:45:47 +0000 |
commit | cc1f6c94f1fc3b5d5ccbd5aa43e2a08487664f50 (patch) | |
tree | edf8c87c5ac37b291a9b615b9eeb65df08f79095 /tests/validation/reference/PoolingLayer.h | |
parent | 9428a182911802cf6e6df6eb751a7c7eb43602f9 (diff) | |
download | ComputeLibrary-cc1f6c94f1fc3b5d5ccbd5aa43e2a08487664f50.tar.gz |
MLCE-166: Add support for extracting indices in NEPoolingLayer 2x2 NCHW
* Added initial support for pooling indices
* Only supported for NCHW Poolsize 2
Change-Id: I92ce767e64fcc01aae89411064b4cb2be272a1e9
Signed-off-by: morgolock <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2927
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-by: Sang-Hoon Park <sang-hoon.park@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/reference/PoolingLayer.h')
-rw-r--r-- | tests/validation/reference/PoolingLayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/validation/reference/PoolingLayer.h b/tests/validation/reference/PoolingLayer.h index 92d97d548e..3ca7f28d5a 100644 --- a/tests/validation/reference/PoolingLayer.h +++ b/tests/validation/reference/PoolingLayer.h @@ -36,9 +36,9 @@ namespace validation namespace reference { template <typename T, typename ACC_T = T, typename std::enable_if<is_floating_point<T>::value, int>::type = 0> -SimpleTensor<T> pooling_layer_internal(const SimpleTensor<T> &src, const PoolingLayerInfo &info); +SimpleTensor<T> pooling_layer_internal(const SimpleTensor<T> &src, const PoolingLayerInfo &info, SimpleTensor<uint32_t> *indices); template <typename T> -SimpleTensor<T> pooling_layer(const SimpleTensor<T> &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo); +SimpleTensor<T> pooling_layer(const SimpleTensor<T> &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo, SimpleTensor<uint32_t> *indices); } // namespace reference } // namespace validation } // namespace test |