Giorgio Arena | 1f9ca1d | 2018-03-01 11:13:45 +0000 | [diff] [blame] | 1 | /* |
Manuel Bottini | 35981ca | 2021-02-09 16:34:54 +0000 | [diff] [blame] | 2 | * Copyright (c) 2018-2021 Arm Limited. |
Giorgio Arena | 1f9ca1d | 2018-03-01 11:13:45 +0000 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: MIT |
| 5 | * |
| 6 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
| 7 | * of this software and associated documentation files (the "Software"), to |
| 8 | * deal in the Software without restriction, including without limitation the |
| 9 | * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or |
| 10 | * sell copies of the Software, and to permit persons to whom the Software is |
| 11 | * furnished to do so, subject to the following conditions: |
| 12 | * |
| 13 | * The above copyright notice and this permission notice shall be included in all |
| 14 | * copies or substantial portions of the Software. |
| 15 | * |
| 16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
Gian Marco Iodice | 7e4b239 | 2018-02-22 16:17:20 +0000 | [diff] [blame] | 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
Giorgio Arena | 1f9ca1d | 2018-03-01 11:13:45 +0000 | [diff] [blame] | 22 | * SOFTWARE. |
| 23 | */ |
Gian Marco Iodice | f1c2bf0 | 2018-06-13 14:05:54 +0100 | [diff] [blame] | 24 | #include "arm_compute/core/Helpers.h" |
Giorgio Arena | 1f9ca1d | 2018-03-01 11:13:45 +0000 | [diff] [blame] | 25 | #include "arm_compute/core/Types.h" |
| 26 | #include "arm_compute/core/utils/misc/ShapeCalculator.h" |
| 27 | #include "arm_compute/runtime/CL/CLTensor.h" |
| 28 | #include "arm_compute/runtime/CL/CLTensorAllocator.h" |
Gian Marco Iodice | d2fab73 | 2018-03-02 11:18:12 +0000 | [diff] [blame] | 29 | #include "arm_compute/runtime/CL/functions/CLWinogradConvolutionLayer.h" |
Giorgio Arena | 1f9ca1d | 2018-03-01 11:13:45 +0000 | [diff] [blame] | 30 | #include "tests/CL/CLAccessor.h" |
Gian Marco Iodice | 7e4b239 | 2018-02-22 16:17:20 +0000 | [diff] [blame] | 31 | #include "tests/CL/Helper.h" |
| 32 | #include "tests/PaddingCalculator.h" |
Gian Marco Iodice | d2fab73 | 2018-03-02 11:18:12 +0000 | [diff] [blame] | 33 | #include "tests/datasets/LargeConvolutionLayerDataset.h" |
Gian Marco Iodice | 7e4b239 | 2018-02-22 16:17:20 +0000 | [diff] [blame] | 34 | #include "tests/datasets/ShapeDatasets.h" |
Gian Marco Iodice | d2fab73 | 2018-03-02 11:18:12 +0000 | [diff] [blame] | 35 | #include "tests/datasets/SmallConvolutionLayerDataset.h" |
Giorgio Arena | 1f9ca1d | 2018-03-01 11:13:45 +0000 | [diff] [blame] | 36 | #include "tests/datasets/WinogradInputTransformDataset.h" |
Gian Marco Iodice | d2fab73 | 2018-03-02 11:18:12 +0000 | [diff] [blame] | 37 | #include "tests/datasets/WinogradOutputTransformDataset.h" |
Giorgio Arena | 1f9ca1d | 2018-03-01 11:13:45 +0000 | [diff] [blame] | 38 | #include "tests/framework/Asserts.h" |
| 39 | #include "tests/framework/Macros.h" |
| 40 | #include "tests/framework/datasets/Datasets.h" |
| 41 | #include "tests/validation/Validation.h" |
Georgios Pinitas | 9fb1159 | 2018-04-26 20:34:58 +0100 | [diff] [blame] | 42 | #include "tests/validation/fixtures/WinogradConvolutionLayerFixture.h" |
Giorgio Arena | 1f9ca1d | 2018-03-01 11:13:45 +0000 | [diff] [blame] | 43 | |
| 44 | namespace arm_compute |
| 45 | { |
| 46 | namespace test |
| 47 | { |
| 48 | namespace validation |
| 49 | { |
Gian Marco Iodice | 7e4b239 | 2018-02-22 16:17:20 +0000 | [diff] [blame] | 50 | namespace |
| 51 | { |
Gian Marco Iodice | f1c2bf0 | 2018-06-13 14:05:54 +0100 | [diff] [blame] | 52 | // *INDENT-OFF* |
| 53 | // clang-format off |
Manuel Bottini | 35981ca | 2021-02-09 16:34:54 +0000 | [diff] [blame] | 54 | const AbsoluteTolerance<half> tolerance_f16(half(1.f)); |
Gian Marco Iodice | 4497e81 | 2018-05-08 16:36:52 +0100 | [diff] [blame] | 55 | constexpr AbsoluteTolerance<float> tolerance_convolution_layer_f32(0.1f); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 56 | const AbsoluteTolerance<half> tolerance_convolution_layer_f16(half(0.4f)); |
Vidhya Sudhan Loganathan | a25d16c | 2018-11-16 11:33:12 +0000 | [diff] [blame] | 57 | RelativeTolerance<half_float::half> rel_tolerance_f16(half(0.2)); /**< Tolerance value for comparing reference's output against implementation's output for FP16 data types */ |
| 58 | constexpr float tolerance_num = 0.05f; /**< Tolerance number */ |
| 59 | constexpr float abs_tolerance_convolution_layer_f16 = 2.5f; /**< Tolerance number */ |
Pablo Tello | f1cf394 | 2019-09-19 16:39:04 +0100 | [diff] [blame] | 60 | constexpr float tolerance_num_f16 = 0.15f; /**< Tolerance number */ |
Gian Marco Iodice | f1c2bf0 | 2018-06-13 14:05:54 +0100 | [diff] [blame] | 61 | |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 62 | //Activation Functions |
| 63 | const auto ActivationFunctionsDataset = framework::dataset::make("ActivationInfo", |
| 64 | { |
| 65 | ActivationLayerInfo(), |
| 66 | ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), |
| 67 | ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::BOUNDED_RELU), |
| 68 | ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU), |
Georgios Pinitas | 9d6a31c | 2019-02-25 14:33:25 +0000 | [diff] [blame] | 69 | ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LEAKY_RELU) |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 70 | }); |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 71 | const auto ActivationFunctionsSmallDataset = framework::dataset::make("ActivationInfo", |
| 72 | { |
| 73 | ActivationLayerInfo(), |
| 74 | ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU), |
Georgios Pinitas | 9d6a31c | 2019-02-25 14:33:25 +0000 | [diff] [blame] | 75 | ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LEAKY_RELU), |
| 76 | ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::SOFT_RELU) |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 77 | }); |
Gian Marco Iodice | bc6c374 | 2020-10-19 12:49:44 +0100 | [diff] [blame] | 78 | |
Gian Marco Iodice | 7e4b239 | 2018-02-22 16:17:20 +0000 | [diff] [blame] | 79 | } // namespace |
| 80 | |
| 81 | using namespace arm_compute::misc::shape_calculator; |
| 82 | |
Giorgio Arena | 1f9ca1d | 2018-03-01 11:13:45 +0000 | [diff] [blame] | 83 | TEST_SUITE(CL) |
| 84 | TEST_SUITE(Winograd) |
| 85 | |
Gian Marco Iodice | d2fab73 | 2018-03-02 11:18:12 +0000 | [diff] [blame] | 86 | TEST_SUITE(ConvolutionLayer) |
Gian Marco Iodice | d2fab73 | 2018-03-02 11:18:12 +0000 | [diff] [blame] | 87 | DATA_TEST_CASE(Validate, framework::DatasetMode::ALL, zip(zip(zip(zip(zip( |
| 88 | framework::dataset::make("InputInfo", { |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 89 | TensorInfo(TensorShape(17U, 31U, 2U), 1, DataType::F16), // Insufficient padding |
Gian Marco Iodice | d2fab73 | 2018-03-02 11:18:12 +0000 | [diff] [blame] | 90 | TensorInfo(TensorShape(17U, 31U, 2U), 1, DataType::F32), // Datatype mismatch |
| 91 | TensorInfo(TensorShape(23U, 27U, 5U, 4U), 1, DataType::F32), // Stride y not supported |
| 92 | TensorInfo(TensorShape(16U, 16U, 8U), 1, DataType::F32), // Padding needed |
| 93 | TensorInfo(TensorShape(33U, 27U, 7U, 4U), 1, DataType::F32) // Kernel size not supported |
| 94 | }), |
| 95 | framework::dataset::make("WeightsInfo", { |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 96 | TensorInfo(TensorShape(3U, 3U, 2U, 19U), 1, DataType::F16), |
Gian Marco Iodice | d2fab73 | 2018-03-02 11:18:12 +0000 | [diff] [blame] | 97 | TensorInfo(TensorShape(3U, 3U, 2U, 19U), 1, DataType::QASYMM8), |
| 98 | TensorInfo(TensorShape(3U, 3U, 5U, 21U), 1, DataType::F32), |
| 99 | TensorInfo(TensorShape(3U, 3U, 8U, 16U), 1, DataType::F32), |
| 100 | TensorInfo(TensorShape(5U, 5U, 7U, 16U), 1, DataType::F16) |
| 101 | })), |
| 102 | framework::dataset::make("BiasesInfo", { |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 103 | TensorInfo(TensorShape(19U), 1, DataType::F16), |
Gian Marco Iodice | d2fab73 | 2018-03-02 11:18:12 +0000 | [diff] [blame] | 104 | TensorInfo(TensorShape(19U), 1, DataType::F32), |
| 105 | TensorInfo(TensorShape(21U), 1, DataType::F32), |
| 106 | TensorInfo(TensorShape(16U), 1, DataType::F32), |
| 107 | TensorInfo(TensorShape(16U), 1, DataType::F32) |
| 108 | })), |
| 109 | framework::dataset::make("OutputInfo", { |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 110 | TensorInfo(TensorShape(17U, 31U, 19U), 1, DataType::F16), |
Gian Marco Iodice | d2fab73 | 2018-03-02 11:18:12 +0000 | [diff] [blame] | 111 | TensorInfo(TensorShape(15U, 15U, 19U), 1, DataType::F32), |
| 112 | TensorInfo(TensorShape(21U, 25U, 21U, 4U), 1, DataType::F32), |
| 113 | TensorInfo(TensorShape(16U, 16U, 16U), 1, DataType::F32), |
| 114 | TensorInfo(TensorShape(11U, 12U, 16U, 4U), 1, DataType::F32) |
| 115 | })), |
| 116 | framework::dataset::make("ConvInfo", { |
| 117 | PadStrideInfo(1, 1, 1, 1), |
| 118 | PadStrideInfo(1, 1, 1, 1), |
| 119 | PadStrideInfo(1, 2, 0, 0), |
| 120 | PadStrideInfo(1, 1, 1, 1), |
| 121 | PadStrideInfo(1, 1, 1, 0) |
| 122 | })), |
| 123 | framework::dataset::make("Expected", { false, false, false, false, false })), |
| 124 | input_info, weights_info, bias_info, output_info, conv_info, expected) |
| 125 | { |
| 126 | ARM_COMPUTE_EXPECT(bool(CLWinogradConvolutionLayer::validate(&input_info.clone()->set_is_resizable(false), &weights_info.clone()->set_is_resizable(false), &bias_info.clone()->set_is_resizable(false), &output_info.clone()->set_is_resizable(false), conv_info)) == expected, framework::LogLevel::ERRORS); |
| 127 | } |
Gian Marco Iodice | d2fab73 | 2018-03-02 11:18:12 +0000 | [diff] [blame] | 128 | |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 129 | TEST_SUITE(FP32) |
Gian Marco Iodice | 2213d4b | 2018-04-27 10:39:06 +0100 | [diff] [blame] | 130 | using CLWinogradConvolutionLayerFastMathFixture = WinogradConvolutionLayerFastMathValidationFixture<CLTensor, CLAccessor, CLWinogradConvolutionLayer, float>; |
Manuel Bottini | ca62c6f | 2021-03-23 11:50:34 +0000 | [diff] [blame] | 131 | using CLWinogradConvolutionLayerFastMathMixedDataLayoutFixture = WinogradConvolutionLayerFastMathValidationFixture<CLTensor, CLAccessor, CLWinogradConvolutionLayer, float, float, true, true>; |
Gian Marco Iodice | 6cf188c | 2018-05-04 16:36:50 +0100 | [diff] [blame] | 132 | TEST_SUITE(Conv3x3) |
Gian Marco Iodice | 2213d4b | 2018-04-27 10:39:06 +0100 | [diff] [blame] | 133 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture, framework::DatasetMode::PRECOMMIT, |
Pablo Tello | 7282d56 | 2018-06-14 15:35:49 +0100 | [diff] [blame] | 134 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer3x3Dataset(), |
| 135 | framework::dataset::make("DataType", { DataType::F32 })), |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 136 | ActivationFunctionsSmallDataset), |
Giorgio Arena | ea55f91 | 2018-07-12 15:41:35 +0100 | [diff] [blame] | 137 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Gian Marco Iodice | 2213d4b | 2018-04-27 10:39:06 +0100 | [diff] [blame] | 138 | { |
| 139 | // Validate output |
Gian Marco Iodice | 4497e81 | 2018-05-08 16:36:52 +0100 | [diff] [blame] | 140 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
Gian Marco Iodice | 2213d4b | 2018-04-27 10:39:06 +0100 | [diff] [blame] | 141 | } |
Manuel Bottini | ca62c6f | 2021-03-23 11:50:34 +0000 | [diff] [blame] | 142 | FIXTURE_DATA_TEST_CASE(RunMixedDataLayout, CLWinogradConvolutionLayerFastMathMixedDataLayoutFixture, framework::DatasetMode::PRECOMMIT, |
| 143 | combine(combine(combine(combine(combine(combine(combine(combine( |
| 144 | framework::dataset::make("Input", TensorShape(8U, 8U, 32U)), |
| 145 | framework::dataset::make("Weight", TensorShape(1U, 3U, 32U, 1U))), |
| 146 | framework::dataset::make("Bias", TensorShape(1U))), |
| 147 | framework::dataset::make("Output", TensorShape(8U, 6U, 1U))), |
| 148 | framework::dataset::make("PadStrideInfo", PadStrideInfo(1, 1, 0, 0))), |
| 149 | framework::dataset::make("Dilation", Size2D(1U, 1U))), |
| 150 | framework::dataset::make("DataType", { DataType::F32 })), |
| 151 | ActivationFunctionsSmallDataset), |
| 152 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 153 | { |
| 154 | // Validate output |
| 155 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
| 156 | } |
Gian Marco Iodice | 2213d4b | 2018-04-27 10:39:06 +0100 | [diff] [blame] | 157 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture, framework::DatasetMode::NIGHTLY, |
Pablo Tello | 7282d56 | 2018-06-14 15:35:49 +0100 | [diff] [blame] | 158 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer3x3Dataset(), |
| 159 | framework::dataset::make("DataType", { DataType::F32 })), |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 160 | ActivationFunctionsDataset), |
Giorgio Arena | ea55f91 | 2018-07-12 15:41:35 +0100 | [diff] [blame] | 161 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Gian Marco Iodice | 2213d4b | 2018-04-27 10:39:06 +0100 | [diff] [blame] | 162 | { |
| 163 | // Validate output |
Gian Marco Iodice | 4497e81 | 2018-05-08 16:36:52 +0100 | [diff] [blame] | 164 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
Gian Marco Iodice | 2213d4b | 2018-04-27 10:39:06 +0100 | [diff] [blame] | 165 | } |
Gian Marco Iodice | 6cf188c | 2018-05-04 16:36:50 +0100 | [diff] [blame] | 166 | TEST_SUITE_END() // Conv3x3 |
| 167 | |
Gian Marco Iodice | f1c2bf0 | 2018-06-13 14:05:54 +0100 | [diff] [blame] | 168 | TEST_SUITE(Conv3x1) |
| 169 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture, framework::DatasetMode::PRECOMMIT, |
| 170 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer3x1Dataset(), |
| 171 | framework::dataset::make("DataType", { DataType::F32 })), |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 172 | ActivationFunctionsSmallDataset), |
Giorgio Arena | ea55f91 | 2018-07-12 15:41:35 +0100 | [diff] [blame] | 173 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Gian Marco Iodice | f1c2bf0 | 2018-06-13 14:05:54 +0100 | [diff] [blame] | 174 | { |
| 175 | // Validate output |
| 176 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
| 177 | } |
| 178 | |
| 179 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture, framework::DatasetMode::NIGHTLY, |
| 180 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer3x1Dataset(), |
| 181 | framework::dataset::make("DataType", { DataType::F32 })), |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 182 | ActivationFunctionsDataset), |
Giorgio Arena | ea55f91 | 2018-07-12 15:41:35 +0100 | [diff] [blame] | 183 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Gian Marco Iodice | f1c2bf0 | 2018-06-13 14:05:54 +0100 | [diff] [blame] | 184 | { |
| 185 | // Validate output |
| 186 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
| 187 | } |
| 188 | TEST_SUITE_END() // Conv3x1 |
| 189 | |
| 190 | TEST_SUITE(Conv1x3) |
| 191 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture, framework::DatasetMode::PRECOMMIT, |
| 192 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer1x3Dataset(), |
| 193 | framework::dataset::make("DataType", { DataType::F32 })), |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 194 | ActivationFunctionsSmallDataset), |
Giorgio Arena | ea55f91 | 2018-07-12 15:41:35 +0100 | [diff] [blame] | 195 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Gian Marco Iodice | f1c2bf0 | 2018-06-13 14:05:54 +0100 | [diff] [blame] | 196 | { |
| 197 | // Validate output |
| 198 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
| 199 | } |
| 200 | |
| 201 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture, framework::DatasetMode::NIGHTLY, |
| 202 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer1x3Dataset(), |
| 203 | framework::dataset::make("DataType", { DataType::F32 })), |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 204 | ActivationFunctionsDataset), |
Giorgio Arena | ea55f91 | 2018-07-12 15:41:35 +0100 | [diff] [blame] | 205 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Gian Marco Iodice | f1c2bf0 | 2018-06-13 14:05:54 +0100 | [diff] [blame] | 206 | { |
| 207 | // Validate output |
| 208 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
| 209 | } |
| 210 | TEST_SUITE_END() // Conv1x3 |
| 211 | |
Gian Marco Iodice | 6cf188c | 2018-05-04 16:36:50 +0100 | [diff] [blame] | 212 | TEST_SUITE(Conv5x5) |
| 213 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture, framework::DatasetMode::PRECOMMIT, |
Pablo Tello | 7282d56 | 2018-06-14 15:35:49 +0100 | [diff] [blame] | 214 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer5x5Dataset(), |
| 215 | framework::dataset::make("DataType", { DataType::F32 })), |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 216 | ActivationFunctionsSmallDataset ), |
Giorgio Arena | ea55f91 | 2018-07-12 15:41:35 +0100 | [diff] [blame] | 217 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Pablo Tello | 7282d56 | 2018-06-14 15:35:49 +0100 | [diff] [blame] | 218 | |
Gian Marco Iodice | 6cf188c | 2018-05-04 16:36:50 +0100 | [diff] [blame] | 219 | { |
| 220 | // Validate output |
Gian Marco Iodice | 4497e81 | 2018-05-08 16:36:52 +0100 | [diff] [blame] | 221 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
Gian Marco Iodice | 6cf188c | 2018-05-04 16:36:50 +0100 | [diff] [blame] | 222 | } |
| 223 | |
| 224 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture, framework::DatasetMode::NIGHTLY, |
Pablo Tello | 7282d56 | 2018-06-14 15:35:49 +0100 | [diff] [blame] | 225 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer5x5Dataset(), |
| 226 | framework::dataset::make("DataType", { DataType::F32 })), |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 227 | ActivationFunctionsDataset ), |
Giorgio Arena | ea55f91 | 2018-07-12 15:41:35 +0100 | [diff] [blame] | 228 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Pablo Tello | 7282d56 | 2018-06-14 15:35:49 +0100 | [diff] [blame] | 229 | |
Gian Marco Iodice | 6cf188c | 2018-05-04 16:36:50 +0100 | [diff] [blame] | 230 | { |
| 231 | // Validate output |
Gian Marco Iodice | 4497e81 | 2018-05-08 16:36:52 +0100 | [diff] [blame] | 232 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
Gian Marco Iodice | 6cf188c | 2018-05-04 16:36:50 +0100 | [diff] [blame] | 233 | } |
| 234 | TEST_SUITE_END() // Conv5x5 |
Gian Marco Iodice | 2213d4b | 2018-04-27 10:39:06 +0100 | [diff] [blame] | 235 | |
Gian Marco Iodice | 876be2a | 2018-07-03 12:22:09 +0100 | [diff] [blame] | 236 | TEST_SUITE(Conv5x1) |
| 237 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture, framework::DatasetMode::PRECOMMIT, |
| 238 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer5x1Dataset(), |
| 239 | framework::dataset::make("DataType", { DataType::F32 })), |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 240 | ActivationFunctionsSmallDataset), |
Giorgio Arena | ea55f91 | 2018-07-12 15:41:35 +0100 | [diff] [blame] | 241 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Gian Marco Iodice | 876be2a | 2018-07-03 12:22:09 +0100 | [diff] [blame] | 242 | |
| 243 | { |
| 244 | // Validate output |
| 245 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
| 246 | } |
| 247 | |
| 248 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture, framework::DatasetMode::NIGHTLY, |
| 249 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer5x1Dataset(), |
| 250 | framework::dataset::make("DataType", { DataType::F32 })), |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 251 | ActivationFunctionsDataset), |
Giorgio Arena | ea55f91 | 2018-07-12 15:41:35 +0100 | [diff] [blame] | 252 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Gian Marco Iodice | 876be2a | 2018-07-03 12:22:09 +0100 | [diff] [blame] | 253 | |
| 254 | { |
| 255 | // Validate output |
| 256 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
| 257 | } |
| 258 | TEST_SUITE_END() // Conv5x1 |
| 259 | |
| 260 | TEST_SUITE(Conv1x5) |
| 261 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture, framework::DatasetMode::PRECOMMIT, |
| 262 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer1x5Dataset(), |
| 263 | framework::dataset::make("DataType", { DataType::F32 })), |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 264 | ActivationFunctionsSmallDataset), |
Giorgio Arena | ea55f91 | 2018-07-12 15:41:35 +0100 | [diff] [blame] | 265 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Gian Marco Iodice | 876be2a | 2018-07-03 12:22:09 +0100 | [diff] [blame] | 266 | |
| 267 | { |
| 268 | // Validate output |
| 269 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
| 270 | } |
| 271 | |
| 272 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture, framework::DatasetMode::NIGHTLY, |
| 273 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer1x5Dataset(), |
| 274 | framework::dataset::make("DataType", { DataType::F32 })), |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 275 | ActivationFunctionsDataset), |
Giorgio Arena | ea55f91 | 2018-07-12 15:41:35 +0100 | [diff] [blame] | 276 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Gian Marco Iodice | 876be2a | 2018-07-03 12:22:09 +0100 | [diff] [blame] | 277 | |
| 278 | { |
| 279 | // Validate output |
| 280 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f32); |
| 281 | } |
| 282 | TEST_SUITE_END() // Conv1x5 |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 283 | TEST_SUITE_END() // FP32 |
| 284 | |
Vidhya Sudhan Loganathan | a25d16c | 2018-11-16 11:33:12 +0000 | [diff] [blame] | 285 | |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 286 | TEST_SUITE(FP16) |
| 287 | |
Vidhya Sudhan Loganathan | a25d16c | 2018-11-16 11:33:12 +0000 | [diff] [blame] | 288 | using CLWinogradConvolutionLayerFastMathFixture16 = WinogradConvolutionLayerFastMathValidationFixture<CLTensor, CLAccessor, CLWinogradConvolutionLayer, half, float>; |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 289 | TEST_SUITE(Conv3x3) |
| 290 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::PRECOMMIT, |
| 291 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer3x3Dataset(), |
| 292 | framework::dataset::make("DataType", { DataType::F16 })), |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 293 | ActivationFunctionsSmallDataset), |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 294 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 295 | { |
| 296 | // Validate output |
Pablo Tello | f1cf394 | 2019-09-19 16:39:04 +0100 | [diff] [blame] | 297 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f16, tolerance_num_f16); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 298 | } |
| 299 | |
| 300 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::NIGHTLY, |
| 301 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer3x3Dataset(), |
| 302 | framework::dataset::make("DataType", { DataType::F16 })), |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 303 | ActivationFunctionsDataset), |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 304 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 305 | { |
| 306 | // Validate output |
Vidhya Sudhan Loganathan | a25d16c | 2018-11-16 11:33:12 +0000 | [diff] [blame] | 307 | validate(CLAccessor(_target), _reference, rel_tolerance_f16, tolerance_num, abs_tolerance_convolution_layer_f16); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 308 | } |
| 309 | TEST_SUITE_END() // Conv3x3 |
| 310 | |
| 311 | TEST_SUITE(Conv3x1) |
| 312 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::PRECOMMIT, |
| 313 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer3x1Dataset(), |
| 314 | framework::dataset::make("DataType", { DataType::F16 })), |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 315 | ActivationFunctionsSmallDataset), |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 316 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 317 | { |
| 318 | // Validate output |
Pablo Tello | f1cf394 | 2019-09-19 16:39:04 +0100 | [diff] [blame] | 319 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f16, tolerance_num_f16); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 320 | } |
| 321 | |
| 322 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::NIGHTLY, |
| 323 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer3x1Dataset(), |
| 324 | framework::dataset::make("DataType", { DataType::F16 })), |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 325 | ActivationFunctionsDataset), |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 326 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 327 | { |
| 328 | // Validate output |
Vidhya Sudhan Loganathan | a25d16c | 2018-11-16 11:33:12 +0000 | [diff] [blame] | 329 | validate(CLAccessor(_target), _reference, rel_tolerance_f16, tolerance_num, abs_tolerance_convolution_layer_f16); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 330 | } |
| 331 | TEST_SUITE_END() // Conv3x1 |
| 332 | |
| 333 | TEST_SUITE(Conv1x3) |
| 334 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::PRECOMMIT, |
| 335 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer1x3Dataset(), |
| 336 | framework::dataset::make("DataType", { DataType::F16 })), |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 337 | ActivationFunctionsSmallDataset), |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 338 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 339 | { |
| 340 | // Validate output |
Pablo Tello | f1cf394 | 2019-09-19 16:39:04 +0100 | [diff] [blame] | 341 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f16, tolerance_num_f16); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 342 | } |
| 343 | |
| 344 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::NIGHTLY, |
| 345 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer1x3Dataset(), |
| 346 | framework::dataset::make("DataType", { DataType::F16 })), |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 347 | ActivationFunctionsDataset), |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 348 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 349 | { |
| 350 | // Validate output |
Vidhya Sudhan Loganathan | a25d16c | 2018-11-16 11:33:12 +0000 | [diff] [blame] | 351 | validate(CLAccessor(_target), _reference, rel_tolerance_f16, tolerance_num, abs_tolerance_convolution_layer_f16); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 352 | } |
| 353 | TEST_SUITE_END() // Conv1x3 |
| 354 | |
| 355 | TEST_SUITE(Conv5x5) |
| 356 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::PRECOMMIT, |
| 357 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer5x5Dataset(), |
| 358 | framework::dataset::make("DataType", { DataType::F16 })), |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 359 | ActivationFunctionsSmallDataset), |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 360 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 361 | |
| 362 | { |
| 363 | // Validate output |
Pablo Tello | f1cf394 | 2019-09-19 16:39:04 +0100 | [diff] [blame] | 364 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f16, tolerance_num_f16); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 365 | } |
| 366 | |
| 367 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::NIGHTLY, |
| 368 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer5x5Dataset(), |
| 369 | framework::dataset::make("DataType", { DataType::F16 })), |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 370 | ActivationFunctionsDataset), |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 371 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 372 | |
| 373 | { |
| 374 | // Validate output |
Vidhya Sudhan Loganathan | a25d16c | 2018-11-16 11:33:12 +0000 | [diff] [blame] | 375 | validate(CLAccessor(_target), _reference, rel_tolerance_f16, tolerance_num, abs_tolerance_convolution_layer_f16); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 376 | } |
| 377 | TEST_SUITE_END() // Conv5x5 |
| 378 | |
| 379 | TEST_SUITE(Conv5x1) |
| 380 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::PRECOMMIT, |
| 381 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer5x1Dataset(), |
| 382 | framework::dataset::make("DataType", { DataType::F16 })), |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 383 | ActivationFunctionsSmallDataset), |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 384 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 385 | |
| 386 | { |
| 387 | // Validate output |
Pablo Tello | f1cf394 | 2019-09-19 16:39:04 +0100 | [diff] [blame] | 388 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f16, tolerance_num_f16); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 389 | } |
| 390 | |
| 391 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::NIGHTLY, |
| 392 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer5x1Dataset(), |
| 393 | framework::dataset::make("DataType", { DataType::F16 })), |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 394 | ActivationFunctionsDataset), |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 395 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 396 | |
| 397 | { |
| 398 | // Validate output |
Vidhya Sudhan Loganathan | a25d16c | 2018-11-16 11:33:12 +0000 | [diff] [blame] | 399 | validate(CLAccessor(_target), _reference, rel_tolerance_f16, tolerance_num, abs_tolerance_convolution_layer_f16); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 400 | } |
| 401 | TEST_SUITE_END() // Conv5x1 |
| 402 | |
| 403 | TEST_SUITE(Conv1x5) |
| 404 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::PRECOMMIT, |
| 405 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer1x5Dataset(), |
| 406 | framework::dataset::make("DataType", { DataType::F16 })), |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 407 | ActivationFunctionsSmallDataset), |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 408 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 409 | |
| 410 | { |
| 411 | // Validate output |
Pablo Tello | f1cf394 | 2019-09-19 16:39:04 +0100 | [diff] [blame] | 412 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f16, tolerance_num_f16); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 413 | } |
| 414 | |
| 415 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::NIGHTLY, |
| 416 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer1x5Dataset(), |
| 417 | framework::dataset::make("DataType", { DataType::F16 })), |
Manuel Bottini | 0d0028c | 2018-10-02 16:41:52 +0100 | [diff] [blame] | 418 | ActivationFunctionsDataset), |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 419 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
| 420 | |
| 421 | { |
| 422 | // Validate output |
Vidhya Sudhan Loganathan | a25d16c | 2018-11-16 11:33:12 +0000 | [diff] [blame] | 423 | validate(CLAccessor(_target), _reference, rel_tolerance_f16, tolerance_num, abs_tolerance_convolution_layer_f16); |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 424 | } |
| 425 | TEST_SUITE_END() // Conv1x5 |
| 426 | |
Pablo Tello | f1cf394 | 2019-09-19 16:39:04 +0100 | [diff] [blame] | 427 | TEST_SUITE(Conv1x7) |
| 428 | FIXTURE_DATA_TEST_CASE(RunSmall, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::PRECOMMIT, |
| 429 | combine(combine(combine(datasets::SmallWinogradConvolutionLayer1x7Dataset(), |
| 430 | framework::dataset::make("DataType", { DataType::F16 })), |
| 431 | ActivationFunctionsSmallDataset), |
| 432 | framework::dataset::make("DataLayout", { DataLayout::NHWC }))) |
| 433 | |
| 434 | { |
| 435 | // Validate output |
| 436 | validate(CLAccessor(_target), _reference, tolerance_convolution_layer_f16, tolerance_num_f16); |
| 437 | } |
| 438 | |
| 439 | FIXTURE_DATA_TEST_CASE(RunLarge, CLWinogradConvolutionLayerFastMathFixture16, framework::DatasetMode::NIGHTLY, |
| 440 | combine(combine(combine(datasets::LargeWinogradConvolutionLayer1x7Dataset(), |
| 441 | framework::dataset::make("DataType", { DataType::F16 })), |
| 442 | ActivationFunctionsDataset), |
| 443 | framework::dataset::make("DataLayout", { DataLayout::NHWC }))) |
| 444 | |
| 445 | { |
| 446 | // Validate output |
| 447 | validate(CLAccessor(_target), _reference, rel_tolerance_f16, tolerance_num, abs_tolerance_convolution_layer_f16); |
| 448 | } |
| 449 | TEST_SUITE_END() // Conv1x7 |
Vidhya Sudhan Loganathan | 71ecf39 | 2018-08-31 16:10:16 +0100 | [diff] [blame] | 450 | TEST_SUITE_END() // FP16 |
Gian Marco Iodice | d2fab73 | 2018-03-02 11:18:12 +0000 | [diff] [blame] | 451 | TEST_SUITE_END() // ConvolutionLayer |
Gian Marco Iodice | 7e4b239 | 2018-02-22 16:17:20 +0000 | [diff] [blame] | 452 | TEST_SUITE_END() // Winograd |
| 453 | TEST_SUITE_END() // CL |
Giorgio Arena | 1f9ca1d | 2018-03-01 11:13:45 +0000 | [diff] [blame] | 454 | } // namespace validation |
| 455 | } // namespace test |
| 456 | } // namespace arm_compute |