diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/CL/kernels/CLPoolingLayerKernel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/CL/kernels/CLPoolingLayerKernel.cpp b/src/core/CL/kernels/CLPoolingLayerKernel.cpp index ad4712d746..14478cc06f 100644 --- a/src/core/CL/kernels/CLPoolingLayerKernel.cpp +++ b/src/core/CL/kernels/CLPoolingLayerKernel.cpp @@ -154,8 +154,7 @@ std::tuple<Status, Window, CLPoolingConfig> validate_and_configure_window(ITenso num_elems_processed_per_iteration = 8; win = calculate_max_window(*output, Steps(num_elems_processed_per_iteration)); - AccessWindowRectangle input_access(input, -1, -1, num_elems_processed_per_iteration, pool_size_y, - pool_stride_x, pool_stride_y); + AccessWindowRectangle input_access(input, 0, -pool_pad_left, num_elems_processed_per_iteration, pool_size_x); AccessWindowHorizontal output_access(output, 0, num_elems_processed_per_iteration); window_changed = update_window_and_padding(win, input_access, output_access); output_access.set_valid_region(win, ValidRegion(Coordinates(), output->tensor_shape())); |