aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/NEON/kernels/NEPoolingLayerKernel.cpp2
-rw-r--r--tests/datasets/ShapeDatasets.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/NEON/kernels/NEPoolingLayerKernel.cpp b/src/core/NEON/kernels/NEPoolingLayerKernel.cpp
index a8e3be28fe..1fa8f47332 100644
--- a/src/core/NEON/kernels/NEPoolingLayerKernel.cpp
+++ b/src/core/NEON/kernels/NEPoolingLayerKernel.cpp
@@ -242,7 +242,7 @@ std::pair<Status, Window> validate_and_configure_window(ITensorInfo *input, ITen
case DataType::F32:
if(is_nhwc)
{
- num_elems_processed_per_iteration = std::max(4, ceil_to_multiple<int>(input->dimension(0), 2));
+ num_elems_processed_per_iteration = 4;
break;
}
switch(pool_size_x)
diff --git a/tests/datasets/ShapeDatasets.h b/tests/datasets/ShapeDatasets.h
index 5ec3d4c5cb..483fada5d8 100644
--- a/tests/datasets/ShapeDatasets.h
+++ b/tests/datasets/ShapeDatasets.h
@@ -164,8 +164,8 @@ public:
{
// Batch size 1
TensorShape{ 11U, 11U },
- TensorShape{ 27U, 13U, 2U },
- TensorShape{ 128U, 64U, 1U, 3U },
+ TensorShape{ 27U, 13U, 7U },
+ TensorShape{ 31U, 27U, 17U, 2U },
// Batch size 4
TensorShape{ 11U, 11U, 3U, 4U },
TensorShape{ 27U, 13U, 2U, 4U },