diff options
Diffstat (limited to 'src/runtime')
-rw-r--r-- | src/runtime/CL/functions/CLCropResize.cpp | 2 | ||||
-rw-r--r-- | src/runtime/CL/functions/CLPadLayer.cpp | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/runtime/CL/functions/CLCropResize.cpp b/src/runtime/CL/functions/CLCropResize.cpp index 6167e9de0a..4cf9f13a67 100644 --- a/src/runtime/CL/functions/CLCropResize.cpp +++ b/src/runtime/CL/functions/CLCropResize.cpp @@ -146,7 +146,7 @@ void CLCropResize::configure(const CLCompileContext &compile_context, const ICLT win.set(3, Window::Dimension(num_box, num_box + 1, 1)); auto copy_kernel = support::cpp14::make_unique<CLCopyKernel>(); - copy_kernel->configure(compile_context, _scaled_results[num_box].get(), _output, PaddingList(), &win); + copy_kernel->configure(compile_context, _scaled_results[num_box].get(), _output, &win); _copy.emplace_back(std::move(copy_kernel)); _crop_results[num_box]->allocator()->allocate(); diff --git a/src/runtime/CL/functions/CLPadLayer.cpp b/src/runtime/CL/functions/CLPadLayer.cpp index 12a51f11f5..fb6078cc79 100644 --- a/src/runtime/CL/functions/CLPadLayer.cpp +++ b/src/runtime/CL/functions/CLPadLayer.cpp @@ -67,9 +67,7 @@ Status CLPadLayer::validate(const ITensorInfo *input, const ITensorInfo *output, } else { - Window copy_window = Window(); - copy_window.use_tensor_dimensions(output->tensor_shape()); - ARM_COMPUTE_RETURN_ON_ERROR(CLCopyKernel::validate(input, output, PaddingList(), ©_window)); + ARM_COMPUTE_RETURN_ON_ERROR(CLCopyKernel::validate(input, output)); } return Status{}; } |