aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/NEON/Split.cpp
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2020-07-30 23:39:32 +0100
committerMichalis Spyrou <michalis.spyrou@arm.com>2020-09-28 08:52:42 +0000
commitd175ecea20f5c9e3bff07f7c5d3e4bb5519f7cb9 (patch)
tree62b0957e4241acc257685dadb79442ed27f5cb96 /tests/validation/NEON/Split.cpp
parentc6af9db1bb6b7a2093205f6f3088143bad660ff9 (diff)
downloadComputeLibrary-d175ecea20f5c9e3bff07f7c5d3e4bb5519f7cb9.tar.gz
COMPMID-3324: Remove configuration tests
Remove configuation tests that use the default data shapes. There is no need to run them since configure will run as part of the actual validation run. Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Change-Id: If6d88a6ba5e9463fa8c615fcf76a5c07d3049d53 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3638 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/NEON/Split.cpp')
-rw-r--r--tests/validation/NEON/Split.cpp60
1 files changed, 0 insertions, 60 deletions
diff --git a/tests/validation/NEON/Split.cpp b/tests/validation/NEON/Split.cpp
index a80f9acc88..e7133fa530 100644
--- a/tests/validation/NEON/Split.cpp
+++ b/tests/validation/NEON/Split.cpp
@@ -91,66 +91,6 @@ DATA_TEST_CASE(ValidateSplitShapes, framework::DatasetMode::ALL, zip(zip(zip(
// clang-format on
// *INDENT-ON*
-DATA_TEST_CASE(Configuration,
- framework::DatasetMode::ALL,
- combine(datasets::SmallSplitDataset(), framework::dataset::make("DataType", { DataType::QASYMM8, DataType::F32 })),
- shape, axis, splits, data_type)
-{
- // Create tensors
- Tensor src = create_tensor<Tensor>(shape, data_type);
- std::vector<Tensor> dsts(splits);
- std::vector<ITensor *> dsts_ptrs;
- dsts_ptrs.reserve(splits);
- for(auto &dst : dsts)
- {
- dsts_ptrs.emplace_back(&dst);
- }
-
- // Create and Configure function
- NESplit split;
- split.configure(&src, dsts_ptrs, axis);
-
- // Validate valid regions
- for(auto &dst : dsts)
- {
- const ValidRegion valid_region = shape_to_valid_region(dst.info()->tensor_shape());
- validate(dst.info()->valid_region(), valid_region);
- }
-}
-
-DATA_TEST_CASE(ConfigurationSplitShapes,
- framework::DatasetMode::ALL,
- combine(datasets::SmallSplitShapesDataset(), framework::dataset::make("DataType", { DataType::F16, DataType::F32 })),
- shape, axis, split_shapes, data_type)
-{
- // Create tensors
- Tensor src = create_tensor<Tensor>(shape, data_type);
- std::vector<Tensor> dsts;
-
- for(const auto &split_shape : split_shapes)
- {
- Tensor dst = create_tensor<Tensor>(split_shape, data_type);
- dsts.push_back(std::move(dst));
- }
-
- std::vector<ITensor *> dsts_ptrs;
- for(auto &dst : dsts)
- {
- dsts_ptrs.emplace_back(&dst);
- }
-
- // Create and Configure function
- NESplit split;
- split.configure(&src, dsts_ptrs, axis);
-
- // Validate valid regions
- for(auto &dst : dsts)
- {
- const ValidRegion valid_region = shape_to_valid_region(dst.info()->tensor_shape());
- validate(dst.info()->valid_region(), valid_region);
- }
-}
-
template <typename T>
using NESplitFixture = SplitFixture<Tensor, ITensor, Accessor, NESplit, T>;