From 5b7fd87b6ab73a7206a45d3621d484131c901143 Mon Sep 17 00:00:00 2001 From: Sang-Hoon Park Date: Thu, 9 Jan 2020 15:27:51 +0000 Subject: MLCE-139 add align_corners parameter handling to CLScale Change-Id: I9d6047c306d7928258d5168eb4bfb96b09d2608f Signed-off-by: Sang-Hoon Park Reviewed-on: https://review.mlplatform.org/c/2569 Reviewed-by: Pablo Marquez Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- src/runtime/CL/functions/CLScale.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/runtime/CL') diff --git a/src/runtime/CL/functions/CLScale.cpp b/src/runtime/CL/functions/CLScale.cpp index 39d992739c..a3559158a5 100644 --- a/src/runtime/CL/functions/CLScale.cpp +++ b/src/runtime/CL/functions/CLScale.cpp @@ -35,10 +35,10 @@ using namespace arm_compute; void CLScale::configure(ICLTensor *input, ICLTensor *output, InterpolationPolicy policy, BorderMode border_mode, PixelValue constant_border_value, SamplingPolicy sampling_policy, bool use_padding, bool align_corners) { - ARM_COMPUTE_UNUSED(use_padding, align_corners); + ARM_COMPUTE_UNUSED(use_padding); auto k = arm_compute::support::cpp14::make_unique(); k->set_target(CLScheduler::get().target()); - k->configure(input, output, policy, border_mode, sampling_policy); + k->configure(input, output, policy, border_mode, sampling_policy, align_corners); _kernel = std::move(k); // Tune kernels @@ -56,6 +56,6 @@ void CLScale::configure(ICLTensor *input, ICLTensor *output, InterpolationPolicy Status CLScale::validate(const ITensorInfo *input, const ITensorInfo *output, InterpolationPolicy policy, BorderMode border_mode, PixelValue constant_border_value, SamplingPolicy sampling_policy, bool use_padding, bool align_corners) { - ARM_COMPUTE_UNUSED(constant_border_value, use_padding, align_corners); - return CLScaleKernel::validate(input, output, policy, border_mode, sampling_policy); + ARM_COMPUTE_UNUSED(constant_border_value, use_padding); + return CLScaleKernel::validate(input, output, policy, border_mode, sampling_policy, align_corners); } -- cgit v1.2.1