diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-01-10 17:19:50 +0000 |
---|---|---|
committer | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-01-17 11:09:55 +0000 |
commit | 80943253e63779b61412264ff4c58b406cf061ae (patch) | |
tree | 1d1309d1c2a9ef5a6fceb21237f8117fd250f40a /tests/validation/CL/SpaceToBatchLayer.cpp | |
parent | 57016a419c89e737216fd12711e6eba7e030061e (diff) | |
download | ComputeLibrary-80943253e63779b61412264ff4c58b406cf061ae.tar.gz |
COMPMID-1652 CL Cleanup and add missing tests
Change-Id: I359cc0fd0c3fa42ab10a770e59d58704403889b2
Reviewed-on: https://review.mlplatform.org/498
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-by: Isabella Gottardi <isabella.gottardi@arm.com>
Diffstat (limited to 'tests/validation/CL/SpaceToBatchLayer.cpp')
-rw-r--r-- | tests/validation/CL/SpaceToBatchLayer.cpp | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/tests/validation/CL/SpaceToBatchLayer.cpp b/tests/validation/CL/SpaceToBatchLayer.cpp index 00ed1fa820..7fca9ec1f1 100644 --- a/tests/validation/CL/SpaceToBatchLayer.cpp +++ b/tests/validation/CL/SpaceToBatchLayer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -48,25 +48,6 @@ TEST_SUITE(SpaceToBatchLayer) template <typename T> using CLSpaceToBatchLayerFixture = SpaceToBatchLayerValidationFixture<CLTensor, CLAccessor, CLSpaceToBatchLayer, T>; -DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(datasets::SmallSpaceToBatchLayerDataset(), - framework::dataset::make("DataType", { DataType::F16, DataType::F32 })), - input_shape, block_shape_shape, paddings_shape, output_shape, dt) -{ - // Create tensors - CLTensor src = create_tensor<CLTensor>(input_shape, dt, 1); - CLTensor dst = create_tensor<CLTensor>(output_shape, dt, 1); - CLTensor block_shape = create_tensor<CLTensor>(block_shape_shape, DataType::S32, 1); - CLTensor paddings = create_tensor<CLTensor>(paddings_shape, DataType::S32, 1); - - // Create and Configure function - CLSpaceToBatchLayer batch_to_space; - batch_to_space.configure(&src, &block_shape, &paddings, &dst); - - // Validate valid region - const ValidRegion valid_region = shape_to_valid_region(output_shape); - validate(dst.info()->valid_region(), valid_region); -} - // *INDENT-OFF* // clang-format off DATA_TEST_CASE(Validate, framework::DatasetMode::ALL, zip(zip(zip(zip( |