From 7a81d2aaf33d1d134148d051b901567db5908922 Mon Sep 17 00:00:00 2001 From: Michele Di Giorgio Date: Thu, 30 Jul 2020 14:52:16 +0100 Subject: COMPMID-3624: CTS failure on Resize quantized in Neon and CL Allow computations with aligned corners when the tensors have width/height equal to 1. Change-Id: Ia01733f6c02e0740835b26a794b9a79fa35319b4 Signed-off-by: Michele Di Giorgio Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3634 Tested-by: Arm Jenkins Reviewed-by: Sadik Armagan Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins --- tests/validation/reference/Scale.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/validation/reference') diff --git a/tests/validation/reference/Scale.cpp b/tests/validation/reference/Scale.cpp index 0c8f5ba1ca..aa265c26c6 100644 --- a/tests/validation/reference/Scale.cpp +++ b/tests/validation/reference/Scale.cpp @@ -48,8 +48,6 @@ SimpleTensor scale_core(const SimpleTensor &in, float scale_x, float scale shape_scaled.set(1, (in.shape()[1] + round_value) * scale_y, /* apply_dim_correction = */ false); SimpleTensor out(shape_scaled, in.data_type()); - align_corners = align_corners && arm_compute::scale_utils::is_align_corners_allowed_output_shape(out.shape(), DataLayout::NCHW); - // Compute the ratio between source width/height and destination width/height const auto wr = arm_compute::scale_utils::calculate_resize_ratio(in.shape()[0], out.shape()[0], align_corners); const auto hr = arm_compute::scale_utils::calculate_resize_ratio(in.shape()[1], out.shape()[1], align_corners); -- cgit v1.2.1