diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2017-11-23 12:10:21 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:41:04 +0000 |
commit | b7b31538eb9137e4d3e8de6d381dcbe9fc58df94 (patch) | |
tree | 7cca8c388cfb15867b9d92c6fd793ca1588b6526 /tests/validation/NEON/DepthwiseConvolution.cpp | |
parent | 02bf80d4554cfc824a76008905921cb564bee999 (diff) | |
download | ComputeLibrary-b7b31538eb9137e4d3e8de6d381dcbe9fc58df94.tar.gz |
COMPMID-464 Implement Depthwise separable convolution on NEON
Change-Id: Iccd686be18381e96bcf09b14c7017c6dda0f38d8
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/109824
Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com>
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Diffstat (limited to 'tests/validation/NEON/DepthwiseConvolution.cpp')
-rw-r--r-- | tests/validation/NEON/DepthwiseConvolution.cpp | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/tests/validation/NEON/DepthwiseConvolution.cpp b/tests/validation/NEON/DepthwiseConvolution.cpp index b6719b58e8..3a4b7aa2e9 100644 --- a/tests/validation/NEON/DepthwiseConvolution.cpp +++ b/tests/validation/NEON/DepthwiseConvolution.cpp @@ -84,12 +84,26 @@ DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(framework::da validate(dst.info()->padding(), padding); } -template <typename T> -using NEDepthwiseConvolutionFixture3x3 = DepthwiseConvolutionValidationFixture<Tensor, Accessor, NEDepthwiseConvolution3x3, T>; - TEST_SUITE(Float) TEST_SUITE(F32) +TEST_SUITE(Generic) +template <typename T> +using NEDepthwiseConvolutionFixture = DepthwiseConvolutionValidationFixture<Tensor, Accessor, NEDepthwiseConvolution, T>; +FIXTURE_DATA_TEST_CASE(RunSmall, NEDepthwiseConvolutionFixture<float>, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallDepthwiseConvolutionDataset(), framework::dataset::make("DataType", + DataType::F32))) +{ + validate(Accessor(_target), _reference, tolerance_f32); +} +FIXTURE_DATA_TEST_CASE(RunLarge, NEDepthwiseConvolutionFixture<float>, framework::DatasetMode::NIGHTLY, combine(datasets::LargeDepthwiseConvolutionDataset(), framework::dataset::make("DataType", + DataType::F32))) +{ + validate(Accessor(_target), _reference, tolerance_f32); +} +TEST_SUITE_END() + TEST_SUITE(W3x3) +template <typename T> +using NEDepthwiseConvolutionFixture3x3 = DepthwiseConvolutionValidationFixture<Tensor, Accessor, NEDepthwiseConvolution3x3, T>; FIXTURE_DATA_TEST_CASE(RunSmall, NEDepthwiseConvolutionFixture3x3<float>, framework::DatasetMode::ALL, combine(datasets::SmallDepthwiseConvolutionDataset3x3(), framework::dataset::make("DataType", DataType::F32))) { @@ -101,6 +115,7 @@ FIXTURE_DATA_TEST_CASE(RunLarge, NEDepthwiseConvolutionFixture3x3<float>, framew validate(Accessor(_target), _reference, tolerance_f32); } TEST_SUITE_END() + TEST_SUITE_END() TEST_SUITE_END() |