From 801bbcb2f9a16633d0071b55aaf93b89870248ee Mon Sep 17 00:00:00 2001 From: Sheri Zhang Date: Mon, 3 Aug 2020 20:11:56 +0100 Subject: COMPMID-2479: Extend CLPoolingLayer max pooling to extract indices Fix PoolingLayer max pooling reference bug to extract indices. Extend CLPoolingLayer max pooling to extract indices, all the paddings need to be substracted. Signed-off-by: Sheri Zhang Change-Id: If8e82e7f7e03172ad05f5a7cd5f13cf682fd1ffc Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3649 Tested-by: Arm Jenkins Reviewed-by: Pablo Marquez Comments-Addressed: Arm Jenkins --- tests/validation/reference/PoolingLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/validation/reference/PoolingLayer.cpp') diff --git a/tests/validation/reference/PoolingLayer.cpp b/tests/validation/reference/PoolingLayer.cpp index 35ce27c9a4..5f4edfe49c 100644 --- a/tests/validation/reference/PoolingLayer.cpp +++ b/tests/validation/reference/PoolingLayer.cpp @@ -215,7 +215,7 @@ SimpleTensor pooling_layer(const SimpleTensor &src, const PoolingLay return pooling_layer_internal(src, info, indices, data_layout); } - return pooling_layer_internal(src, info, indices); + return pooling_layer_internal(src, info, indices, data_layout); } template SimpleTensor pooling_layer(const SimpleTensor &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo, SimpleTensor *indices, DataLayout data_layout); -- cgit v1.2.1