aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/CL/Scale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validation/CL/Scale.cpp')
-rw-r--r--tests/validation/CL/Scale.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/validation/CL/Scale.cpp b/tests/validation/CL/Scale.cpp
index 50c148dfba..8a010032a3 100644
--- a/tests/validation/CL/Scale.cpp
+++ b/tests/validation/CL/Scale.cpp
@@ -186,23 +186,6 @@ TEST_CASE(AlignedCornerNotSupported, framework::DatasetMode::ALL)
ARM_COMPUTE_EXPECT(bool(result) == false, framework::LogLevel::ERRORS);
}
-TEST_CASE(InvalidAlignedCornerOutput, framework::DatasetMode::ALL)
-{
- // Bilinear with aligned corners require at least 2x2 output to prevent overflow.
- // Also, aligned corners require sampling policy to be TOP_LEFT.
- constexpr auto interpolation_policy = InterpolationPolicy::BILINEAR;
- constexpr bool align_corners = true;
- constexpr auto sampling_policy = SamplingPolicy::TOP_LEFT;
- const auto invalid_output_shape = TensorShape{ 1, 1, 3, 2 };
-
- const auto input = TensorInfo{ default_input_shape, 1, default_data_type, default_data_layout };
- const auto output = TensorInfo{ invalid_output_shape, 1, default_data_type, default_data_layout };
- Status result{};
-
- result = CLScale::validate(&input, &output, ScaleKernelInfo{ interpolation_policy, default_border_mode, PixelValue(), sampling_policy, default_use_padding, align_corners });
- ARM_COMPUTE_EXPECT(bool(result) == false, framework::LogLevel::ERRORS);
-}
-
TEST_CASE(WindowShrink, framework::DatasetMode::ALL)
{
const auto input = TensorInfo{ TensorShape(37U, 37U, 2U), 1, DataType::F32 };