From dc4f276b810c4746c684a81ffeeb22aa0bff2adc Mon Sep 17 00:00:00 2001 From: Mohammed Suhail Munshi Date: Thu, 12 May 2022 11:00:36 +0100 Subject: Revert "Add support for 2d and 3d indices for axis 0" This reverts commit 0db8b8bbd941b3dab4238c03e734e7ac43c662ed. Relates to [COMPMID-5055] Signed-off-by: Mohammed Suhail Munshi Change-Id: I143e7965e21b956abb05ba5c41e12c5b73b7345a Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7558 Reviewed-by: Pablo Marquez Tello Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- tests/validation/NEON/Gather.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'tests/validation/NEON/Gather.cpp') diff --git a/tests/validation/NEON/Gather.cpp b/tests/validation/NEON/Gather.cpp index 1ab2668aad..71f98ea627 100644 --- a/tests/validation/NEON/Gather.cpp +++ b/tests/validation/NEON/Gather.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021 Arm Limited. + * Copyright (c) 2019-2022 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -100,14 +100,12 @@ DATA_TEST_CASE(Validate, framework::DatasetMode::ALL, zip(zip(zip(zip( template using NEGatherFixture = GatherFixture; -const auto gather_small_shapes = arm_compute::test::framework::dataset::concat(datasets::SmallGatherDataset(),datasets::SmallGatherMultiDimIndicesDataset()); - TEST_SUITE(Float) TEST_SUITE(FP16) FIXTURE_DATA_TEST_CASE(RunSmall, NEGatherFixture, framework::DatasetMode::PRECOMMIT, - combine( gather_small_shapes, framework::dataset::make("DataType", DataType::F16))) + combine(datasets::SmallGatherDataset(), framework::dataset::make("DataType", DataType::F16))) { // Validate output validate(Accessor(_target), _reference); @@ -127,7 +125,7 @@ TEST_SUITE(FP32) FIXTURE_DATA_TEST_CASE(RunSmall, NEGatherFixture, framework::DatasetMode::PRECOMMIT, - combine(gather_small_shapes, framework::dataset::make("DataType", DataType::F32))) + combine(datasets::SmallGatherDataset(), framework::dataset::make("DataType", DataType::F32))) { // Validate output validate(Accessor(_target), _reference); @@ -148,7 +146,7 @@ TEST_SUITE(U8) FIXTURE_DATA_TEST_CASE(RunSmall, NEGatherFixture, framework::DatasetMode::PRECOMMIT, - combine(gather_small_shapes, framework::dataset::make("DataType", DataType::U8))) + combine(datasets::SmallGatherDataset(), framework::dataset::make("DataType", DataType::U8))) { // Validate output validate(Accessor(_target), _reference); @@ -168,7 +166,7 @@ TEST_SUITE(U16) FIXTURE_DATA_TEST_CASE(RunSmall, NEGatherFixture, framework::DatasetMode::PRECOMMIT, - combine(gather_small_shapes, framework::dataset::make("DataType", DataType::U16))) + combine(datasets::SmallGatherDataset(), framework::dataset::make("DataType", DataType::U16))) { // Validate output validate(Accessor(_target), _reference); -- cgit v1.2.1