From 941cd706bea1847ae89e4ee13f144fc51050ad1f Mon Sep 17 00:00:00 2001 From: Pablo Tello Date: Tue, 12 Dec 2017 14:35:00 +0000 Subject: COMPMID-688: Shorten DepthWiseConvolution test name. Removed biases shape from the dataset which is redundant as it can be computed from the weights shape. Change-Id: I078b6eeb9e0a42f697e7b311deb86d2a1795872b Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/112904 Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com Reviewed-by: Georgios Pinitas --- tests/validation/NEON/DepthwiseConvolutionLayer.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'tests/validation/NEON/DepthwiseConvolutionLayer.cpp') diff --git a/tests/validation/NEON/DepthwiseConvolutionLayer.cpp b/tests/validation/NEON/DepthwiseConvolutionLayer.cpp index 17eaaf8ad7..420c9744d8 100644 --- a/tests/validation/NEON/DepthwiseConvolutionLayer.cpp +++ b/tests/validation/NEON/DepthwiseConvolutionLayer.cpp @@ -46,18 +46,19 @@ constexpr RelativeTolerance tolerance_f32(0.01f); /**< Tolerance value fo } // namespace TEST_SUITE(NEON) -TEST_SUITE(DepthwiseConvolutionLayer) +TEST_SUITE(DepthwiseConvLayer) DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(framework::dataset::concat(datasets::SmallDepthwiseConvolutionLayerDataset3x3(), datasets::LargeDepthwiseConvolutionLayerDataset3x3()), framework::dataset::make("DataType", DataType::F32)), - input_shape, weights_shape, bias_shape, output_shape, info, data_type) + input_shape, weights_shape, output_shape, info, data_type) { // Create tensors - Tensor src = create_tensor(input_shape, data_type); - Tensor dst = create_tensor(output_shape, data_type); - Tensor weights = create_tensor(weights_shape, data_type); - Tensor bias = create_tensor(bias_shape, data_type); + Tensor src = create_tensor(input_shape, data_type); + Tensor dst = create_tensor(output_shape, data_type); + Tensor weights = create_tensor(weights_shape, data_type); + const TensorShape bias_shape(weights_shape[2]); + Tensor bias = create_tensor(bias_shape, data_type); ARM_COMPUTE_EXPECT(src.info()->is_resizable(), framework::LogLevel::ERRORS); ARM_COMPUTE_EXPECT(dst.info()->is_resizable(), framework::LogLevel::ERRORS); @@ -120,8 +121,8 @@ FIXTURE_DATA_TEST_CASE(RunLarge, NEDepthwiseConvolutionLayerFixture3x3, f validate(Accessor(_target), _reference, tolerance_f32); } TEST_SUITE_END() - TEST_SUITE_END() + TEST_SUITE_END() TEST_SUITE_END() -- cgit v1.2.1