Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 1 | /* |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 2 | * Copyright (c) 2017-2021 Arm Limited. |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [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, |
| 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 22 | * SOFTWARE. |
| 23 | */ |
| 24 | #include "arm_compute/core/Types.h" |
| 25 | #include "arm_compute/runtime/CL/CLTensor.h" |
| 26 | #include "arm_compute/runtime/CL/CLTensorAllocator.h" |
| 27 | #include "arm_compute/runtime/CL/functions/CLDirectConvolutionLayer.h" |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 28 | #include "tests/CL/CLAccessor.h" |
| 29 | #include "tests/PaddingCalculator.h" |
Jaroslaw Rzepecki | 2ecbada | 2017-11-29 13:51:34 +0000 | [diff] [blame] | 30 | #include "tests/datasets/DirectConvolutionLayerDataset.h" |
Moritz Pflanzer | a09de0c | 2017-09-01 20:41:12 +0100 | [diff] [blame] | 31 | #include "tests/datasets/ShapeDatasets.h" |
| 32 | #include "tests/framework/Asserts.h" |
| 33 | #include "tests/framework/Macros.h" |
| 34 | #include "tests/framework/datasets/Datasets.h" |
| 35 | #include "tests/validation/Validation.h" |
| 36 | #include "tests/validation/fixtures/DirectConvolutionLayerFixture.h" |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 37 | |
| 38 | namespace arm_compute |
| 39 | { |
| 40 | namespace test |
| 41 | { |
| 42 | namespace validation |
| 43 | { |
| 44 | namespace |
| 45 | { |
Giorgio Arena | 89de118 | 2021-02-04 15:59:03 +0000 | [diff] [blame] | 46 | RelativeTolerance<half> tolerance_fp16(half(0.2)); /**< Tolerance for floating point tests */ |
| 47 | RelativeTolerance<float> tolerance_fp32(0.05f); /**< Tolerance for floating point tests */ |
| 48 | constexpr float tolerance_num = 0.07f; /**< Tolerance number */ |
| 49 | constexpr AbsoluteTolerance<uint8_t> tolerance_qasymm8(1); /**< Tolerance for quantized tests */ |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 50 | |
Michalis Spyrou | 4509173 | 2019-05-13 17:41:01 +0100 | [diff] [blame] | 51 | const auto data_strides = combine(framework::dataset::make("StrideX", 1, 3), framework::dataset::make("StrideY", 1, 3)); |
| 52 | const auto data_strides_small = combine(framework::dataset::make("StrideX", 1), framework::dataset::make("StrideY", 1)); |
| 53 | const auto data_ksize_one = combine(framework::dataset::make("PadX", 0, 1), combine(framework::dataset::make("PadY", 0, 1), framework::dataset::make("KernelSize", 1))); |
| 54 | const auto data_ksize_one_small = combine(framework::dataset::make("PadX", 0), combine(framework::dataset::make("PadY", 0), framework::dataset::make("KernelSize", 1))); |
| 55 | const auto data_ksize_three = combine(framework::dataset::make("PadX", 0, 2), combine(framework::dataset::make("PadY", 0, 2), framework::dataset::make("KernelSize", 3))); |
| 56 | const auto data_ksize_five = combine(framework::dataset::make("PadX", 0, 3), combine(framework::dataset::make("PadY", 0, 3), framework::dataset::make("KernelSize", 5))); |
| 57 | const auto data_ksize_nine = combine(framework::dataset::make("PadX", 0, 3), combine(framework::dataset::make("PadY", 0, 3), framework::dataset::make("KernelSize", 9))); |
| 58 | const auto data_ksize_nine_small = combine(framework::dataset::make("PadX", 0, 1), combine(framework::dataset::make("PadY", 0, 1), framework::dataset::make("KernelSize", 9))); |
Michalis Spyrou | def665a | 2017-08-14 11:26:37 +0100 | [diff] [blame] | 59 | |
Michalis Spyrou | 4509173 | 2019-05-13 17:41:01 +0100 | [diff] [blame] | 60 | const auto data_all_kernels = concat(concat(data_ksize_one, data_ksize_three), data_ksize_five); |
| 61 | |
| 62 | const auto data = combine(datasets::SmallDirectConvolutionShapes(), combine(data_strides, data_all_kernels)); |
| 63 | const auto data9x9 = combine(datasets::SmallDirectConvolutionShapes(), combine(data_strides, data_ksize_nine)); |
| 64 | const auto data_small = combine(datasets::SmallDirectConvolutionShapes(), combine(data_strides_small, data_ksize_one_small)); |
| 65 | const auto data_small9x9 = combine(datasets::SmallDirectConvolutionShapes(), combine(data_strides_small, data_ksize_nine_small)); |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 66 | |
| 67 | /** Direct convolution nightly data set. */ |
Michele Di Giorgio | ba2cc1a | 2020-07-15 17:39:30 +0100 | [diff] [blame] | 68 | const auto data_nightly = combine(data, framework::dataset::make("NumKernels", { 1, 4 })); |
| 69 | const auto data_nightly_9x9 = combine(data9x9, framework::dataset::make("NumKernels", { 1, 4 })); |
| 70 | const auto data_nightly_usecase = combine(framework::dataset::make("InputShape", { TensorShape{ 3U, 800U, 800U } }), |
| 71 | combine(framework::dataset::make("StrideX", { 1 }), |
| 72 | combine(framework::dataset::make("StrideY", { 1 }), |
| 73 | combine(framework::dataset::make("PadX", { 4 }), |
| 74 | combine(framework::dataset::make("PadY", { 4 }), |
| 75 | combine(framework::dataset::make("KernelSize", 9), |
| 76 | framework::dataset::make("NumKernels", { 16 }))))))); |
| 77 | |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 78 | /** Direct convolution precommit data set. */ |
Michalis Spyrou | 4509173 | 2019-05-13 17:41:01 +0100 | [diff] [blame] | 79 | const auto data_precommit = combine(data_small, framework::dataset::make("NumKernels", { 1 })); |
| 80 | const auto data_precommit_9x9 = combine(data_small9x9, framework::dataset::make("NumKernels", { 1 })); |
Vidhya Sudhan Loganathan | 7485d5a | 2018-07-04 09:34:00 +0100 | [diff] [blame] | 81 | |
Isabella Gottardi | 3f217ec | 2018-02-12 14:59:19 +0000 | [diff] [blame] | 82 | /** Activation function Dataset*/ |
| 83 | const auto ActivationFunctionsDataset = framework::dataset::make("ActivationInfo", |
Michalis Spyrou | 5ce99a2 | 2019-01-25 14:17:49 +0000 | [diff] [blame] | 84 | { ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU, 0.5f) }); |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 85 | } // namespace |
| 86 | |
| 87 | TEST_SUITE(CL) |
| 88 | TEST_SUITE(DirectConvolutionLayer) |
| 89 | |
Georgios Pinitas | 30902ed | 2017-11-14 15:32:57 +0000 | [diff] [blame] | 90 | // *INDENT-OFF* |
| 91 | // clang-format off |
Isabella Gottardi | 3f217ec | 2018-02-12 14:59:19 +0000 | [diff] [blame] | 92 | DATA_TEST_CASE(Validate, framework::DatasetMode::ALL, zip(zip(zip(zip(zip(zip( |
Vidhya Sudhan Loganathan | 7485d5a | 2018-07-04 09:34:00 +0100 | [diff] [blame] | 93 | framework::dataset::make("InputInfo", { TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), // Mismatching data type input/weights |
| 94 | TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), // Mismatching input feature maps |
| 95 | TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), // Unsupported kernel width |
| 96 | TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), // Non-rectangular weights dimensions |
| 97 | TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), // Invalid weights dimensions |
| 98 | TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), // Invalid stride |
| 99 | TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), // Invalid biases size |
| 100 | TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), // Invalid biases dimensions |
| 101 | TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), // Invalid output size |
| 102 | TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), // Window shrink |
| 103 | TensorInfo(TensorShape(32U, 16U, 2U), 1, DataType::F32), |
Georgios Pinitas | 30902ed | 2017-11-14 15:32:57 +0000 | [diff] [blame] | 104 | }), |
Vidhya Sudhan Loganathan | 7485d5a | 2018-07-04 09:34:00 +0100 | [diff] [blame] | 105 | framework::dataset::make("WeightsInfo",{ TensorInfo(TensorShape(3U, 3U, 2U, 4U), 1, DataType::F16), |
| 106 | TensorInfo(TensorShape(3U, 3U, 3U, 4U), 1, DataType::F32), |
Michalis Spyrou | 4509173 | 2019-05-13 17:41:01 +0100 | [diff] [blame] | 107 | TensorInfo(TensorShape(11U, 11U, 2U, 4U), 1, DataType::F32), |
Vidhya Sudhan Loganathan | 7485d5a | 2018-07-04 09:34:00 +0100 | [diff] [blame] | 108 | TensorInfo(TensorShape(5U, 3U, 2U, 4U), 1, DataType::F32), |
| 109 | TensorInfo(TensorShape(3U, 3U, 2U, 4U, 3U), 1, DataType::F32), |
| 110 | TensorInfo(TensorShape(3U, 3U, 2U, 4U), 1, DataType::F32), |
| 111 | TensorInfo(TensorShape(3U, 3U, 2U, 4U), 1, DataType::F32), |
| 112 | TensorInfo(TensorShape(3U, 3U, 2U, 4U), 1, DataType::F32), |
| 113 | TensorInfo(TensorShape(3U, 3U, 2U, 4U), 1, DataType::F32), |
| 114 | TensorInfo(TensorShape(3U, 3U, 2U, 4U), 1, DataType::F32), |
| 115 | TensorInfo(TensorShape(1U, 1U, 2U, 4U), 1, DataType::F32), |
Georgios Pinitas | 30902ed | 2017-11-14 15:32:57 +0000 | [diff] [blame] | 116 | })), |
Vidhya Sudhan Loganathan | 7485d5a | 2018-07-04 09:34:00 +0100 | [diff] [blame] | 117 | framework::dataset::make("BiasesInfo",{ TensorInfo(TensorShape(4U), 1, DataType::F32), |
| 118 | TensorInfo(TensorShape(4U), 1, DataType::F32), |
| 119 | TensorInfo(TensorShape(4U), 1, DataType::F32), |
| 120 | TensorInfo(TensorShape(4U), 1, DataType::F32), |
| 121 | TensorInfo(TensorShape(4U), 1, DataType::F32), |
| 122 | TensorInfo(TensorShape(4U), 1, DataType::F32), |
| 123 | TensorInfo(TensorShape(3U), 1, DataType::F32), |
| 124 | TensorInfo(TensorShape(4U, 2U), 1, DataType::F32), |
| 125 | TensorInfo(TensorShape(4U), 1, DataType::F32), |
| 126 | TensorInfo(TensorShape(4U), 1, DataType::F32), |
| 127 | TensorInfo(TensorShape(4U), 1, DataType::F32), |
Georgios Pinitas | 30902ed | 2017-11-14 15:32:57 +0000 | [diff] [blame] | 128 | })), |
Vidhya Sudhan Loganathan | 7485d5a | 2018-07-04 09:34:00 +0100 | [diff] [blame] | 129 | framework::dataset::make("OutputInfo",{ TensorInfo(TensorShape(25U, 11U, 4U), 1, DataType::F32), |
| 130 | TensorInfo(TensorShape(25U, 11U, 4U), 1, DataType::F32), |
| 131 | TensorInfo(TensorShape(25U, 11U, 4U), 1, DataType::F32), |
| 132 | TensorInfo(TensorShape(25U, 11U, 4U), 1, DataType::F32), |
| 133 | TensorInfo(TensorShape(25U, 11U, 4U), 1, DataType::F32), |
| 134 | TensorInfo(TensorShape(25U, 11U, 4U), 1, DataType::F32), |
| 135 | TensorInfo(TensorShape(25U, 11U, 4U), 1, DataType::F32), |
| 136 | TensorInfo(TensorShape(25U, 11U, 4U), 1, DataType::F32), |
| 137 | TensorInfo(TensorShape(26U, 11U, 4U), 1, DataType::F32), |
| 138 | TensorInfo(TensorShape(25U, 11U, 4U), 1, DataType::F32), |
| 139 | TensorInfo(TensorShape(32U, 16U, 4U), 1, DataType::F32), |
Georgios Pinitas | 30902ed | 2017-11-14 15:32:57 +0000 | [diff] [blame] | 140 | })), |
| 141 | framework::dataset::make("ConvInfo", { PadStrideInfo(1, 1, 0, 0), |
| 142 | PadStrideInfo(1, 1, 0, 0), |
| 143 | PadStrideInfo(1, 1, 0, 0), |
| 144 | PadStrideInfo(1, 1, 0, 0), |
| 145 | PadStrideInfo(1, 1, 0, 0), |
| 146 | PadStrideInfo(3, 3, 0, 0), |
| 147 | PadStrideInfo(1, 1, 0, 0), |
| 148 | PadStrideInfo(1, 1, 0, 0), |
| 149 | PadStrideInfo(1, 1, 0, 0), |
| 150 | PadStrideInfo(1, 1, 0, 0), |
Giorgio Arena | 5948634 | 2017-12-01 10:42:47 +0000 | [diff] [blame] | 151 | PadStrideInfo(1, 1, 0, 0), |
Georgios Pinitas | 30902ed | 2017-11-14 15:32:57 +0000 | [diff] [blame] | 152 | })), |
Isabella Gottardi | 3f217ec | 2018-02-12 14:59:19 +0000 | [diff] [blame] | 153 | framework::dataset::make("ActivationInfo", |
Georgios Pinitas | 30902ed | 2017-11-14 15:32:57 +0000 | [diff] [blame] | 154 | { |
Isabella Gottardi | 3f217ec | 2018-02-12 14:59:19 +0000 | [diff] [blame] | 155 | ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU) |
| 156 | })), |
| 157 | framework::dataset::make("Expected", { false, false, false, false, false, false, false, false, false, false, true })), |
| 158 | input_info, weights_info, biases_info, output_info, conv_info, act_info, expected) |
| 159 | { |
| 160 | bool is_valid = bool(CLDirectConvolutionLayer::validate(&input_info.clone()->set_is_resizable(false), &weights_info.clone()->set_is_resizable(false), &biases_info.clone()->set_is_resizable(false), &output_info.clone()->set_is_resizable(false), conv_info, act_info)); |
Georgios Pinitas | 631c41a | 2017-12-06 11:53:03 +0000 | [diff] [blame] | 161 | ARM_COMPUTE_EXPECT(is_valid == expected, framework::LogLevel::ERRORS); |
Georgios Pinitas | 30902ed | 2017-11-14 15:32:57 +0000 | [diff] [blame] | 162 | } |
Georgios Pinitas | 30902ed | 2017-11-14 15:32:57 +0000 | [diff] [blame] | 163 | |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 164 | template <typename T> |
| 165 | using CLDirectConvolutionLayerFixture = DirectConvolutionValidationFixture<CLTensor, CLAccessor, CLDirectConvolutionLayer, T>; |
Jaroslaw Rzepecki | 2ecbada | 2017-11-29 13:51:34 +0000 | [diff] [blame] | 166 | template <typename T> |
| 167 | using CLDirectConvolutionValidationWithTensorShapesFixture = DirectConvolutionValidationWithTensorShapesFixture<CLTensor, CLAccessor, CLDirectConvolutionLayer, T>; |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 168 | template <typename T> |
| 169 | using CLDirectConvolutionLayerQuantizedFixture = DirectConvolutionValidationQuantizedFixture<CLTensor, CLAccessor, CLDirectConvolutionLayer, T>; |
| 170 | template <typename T> |
| 171 | using CLDirectConvolutionValidationWithTensorShapesQuantizedFixture = DirectConvolutionValidationWithTensorShapesQuantizedFixture<CLTensor, CLAccessor, CLDirectConvolutionLayer, T>; |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 172 | |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 173 | TEST_SUITE(NHWC) |
| 174 | TEST_SUITE(FP16) |
| 175 | FIXTURE_DATA_TEST_CASE(RunSmall, CLDirectConvolutionLayerFixture<half>, framework::DatasetMode::PRECOMMIT, |
| 176 | combine(combine(combine(zip(zip(zip(zip(zip(zip( |
| 177 | framework::dataset::make("InputShape", { TensorShape(27U, 13U, 2U), |
| 178 | TensorShape(9U, 5U, 6U, 4U), |
| 179 | TensorShape(3U, 5U, 7U, 2U), |
| 180 | TensorShape(32U, 37U, 3U) } ), |
| 181 | framework::dataset::make("StrideX", { 1, 3, 1, 1 })), |
| 182 | framework::dataset::make("StrideY", { 1, 3, 2, 1 })), |
| 183 | framework::dataset::make("PadX", { 1, 3, 0, 4 })), |
| 184 | framework::dataset::make("PadY", { 1, 3, 0, 4 })), |
| 185 | framework::dataset::make("KernelSize", { 3, 8, 1, 9 })), |
Gian Marco Iodice | 5c9eed8 | 2021-03-19 11:26:20 +0000 | [diff] [blame^] | 186 | framework::dataset::make("NumKernels", { 17, 3, 1, 19 })), |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 187 | framework::dataset::make("DataType", DataType::F16)), |
| 188 | framework::dataset::make("ActivationInfo", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU) )), |
| 189 | framework::dataset::make("DataLayout", DataLayout::NHWC))) |
| 190 | { |
| 191 | validate(CLAccessor(_target), _reference, tolerance_fp16, tolerance_num); |
| 192 | } |
| 193 | |
| 194 | FIXTURE_DATA_TEST_CASE(RunLarge, CLDirectConvolutionLayerFixture<half>, framework::DatasetMode::NIGHTLY, |
| 195 | combine(combine(combine(zip(zip(zip(zip(zip(zip( |
| 196 | framework::dataset::make("InputShape", { TensorShape(800U, 800U, 3U) } ), |
| 197 | framework::dataset::make("StrideX", { 1 })), |
| 198 | framework::dataset::make("StrideY", { 1 })), |
| 199 | framework::dataset::make("PadX", { 1 })), |
| 200 | framework::dataset::make("PadY", { 1 })), |
| 201 | framework::dataset::make("KernelSize", { 9 })), |
| 202 | framework::dataset::make("NumKernels", { 3 })), |
| 203 | framework::dataset::make("DataType", DataType::F16)), |
| 204 | framework::dataset::make("ActivationInfo", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::IDENTITY) )), |
| 205 | framework::dataset::make("DataLayout", DataLayout::NHWC))) |
| 206 | { |
| 207 | validate(CLAccessor(_target), _reference, tolerance_fp16, tolerance_num); |
| 208 | } |
| 209 | |
| 210 | TEST_SUITE_END() // FP16 |
| 211 | |
| 212 | TEST_SUITE(FP32) |
| 213 | FIXTURE_DATA_TEST_CASE(RunSmall, CLDirectConvolutionLayerFixture<float>, framework::DatasetMode::PRECOMMIT, |
| 214 | combine(combine(combine(zip(zip(zip(zip(zip(zip( |
| 215 | framework::dataset::make("InputShape", { TensorShape(27U, 13U, 2U), |
| 216 | TensorShape(9U, 5U, 6U, 4U), |
| 217 | TensorShape(3U, 5U, 7U, 2U), |
| 218 | TensorShape(32U, 37U, 3U) } ), |
| 219 | framework::dataset::make("StrideX", { 1, 3, 1, 1 })), |
| 220 | framework::dataset::make("StrideY", { 1, 3, 2, 1 })), |
| 221 | framework::dataset::make("PadX", { 1, 3, 0, 4 })), |
| 222 | framework::dataset::make("PadY", { 1, 3, 0, 4 })), |
| 223 | framework::dataset::make("KernelSize", { 3, 8, 1, 9 })), |
Gian Marco Iodice | 5c9eed8 | 2021-03-19 11:26:20 +0000 | [diff] [blame^] | 224 | framework::dataset::make("NumKernels", { 17, 3, 1, 19 })), |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 225 | framework::dataset::make("DataType", DataType::F32)), |
| 226 | framework::dataset::make("ActivationInfo", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU) )), |
| 227 | framework::dataset::make("DataLayout", DataLayout::NHWC))) |
| 228 | { |
| 229 | validate(CLAccessor(_target), _reference, tolerance_fp32); |
| 230 | } |
| 231 | |
| 232 | FIXTURE_DATA_TEST_CASE(RunLarge, CLDirectConvolutionLayerFixture<float>, framework::DatasetMode::NIGHTLY, |
| 233 | combine(combine(combine(zip(zip(zip(zip(zip(zip( |
| 234 | framework::dataset::make("InputShape", { TensorShape(800U, 800U, 3U) } ), |
| 235 | framework::dataset::make("StrideX", { 1 })), |
| 236 | framework::dataset::make("StrideY", { 1 })), |
| 237 | framework::dataset::make("PadX", { 1 })), |
| 238 | framework::dataset::make("PadY", { 1 })), |
| 239 | framework::dataset::make("KernelSize", { 9 })), |
| 240 | framework::dataset::make("NumKernels", { 3 })), |
| 241 | framework::dataset::make("DataType", DataType::F32)), |
| 242 | framework::dataset::make("ActivationInfo", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::IDENTITY) )), |
| 243 | framework::dataset::make("DataLayout", DataLayout::NHWC))) |
| 244 | { |
| 245 | validate(CLAccessor(_target), _reference, tolerance_fp32); |
| 246 | } |
| 247 | |
| 248 | TEST_SUITE_END() // FP32 |
| 249 | |
| 250 | TEST_SUITE(Quantized) |
| 251 | TEST_SUITE(QASYMM8) |
| 252 | FIXTURE_DATA_TEST_CASE(RunSmall, CLDirectConvolutionLayerQuantizedFixture<uint8_t>, framework::DatasetMode::PRECOMMIT, |
| 253 | combine(combine(combine(combine(zip(zip(zip(zip(zip(zip( |
| 254 | framework::dataset::make("InputShape", { TensorShape(27U, 13U, 2U), |
| 255 | TensorShape(9U, 5U, 6U, 4U), |
| 256 | TensorShape(3U, 5U, 7U, 2U), |
| 257 | TensorShape(32U, 37U, 3U) } ), |
| 258 | framework::dataset::make("StrideX", { 1, 3, 1, 1 })), |
| 259 | framework::dataset::make("StrideY", { 1, 3, 2, 1 })), |
| 260 | framework::dataset::make("PadX", { 1, 3, 0, 4 })), |
| 261 | framework::dataset::make("PadY", { 1, 3, 0, 4 })), |
| 262 | framework::dataset::make("KernelSize", { 3, 8, 1, 9 })), |
| 263 | framework::dataset::make("NumKernels", { 7, 3, 1, 3 })), |
| 264 | framework::dataset::make("DataType", DataType::QASYMM8)), |
| 265 | framework::dataset::make("QuantizationInfo", QuantizationInfo(1.1f / 255, 10))), |
| 266 | framework::dataset::make("ActivationInfo", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU) )), |
| 267 | framework::dataset::make("DataLayout", DataLayout::NHWC))) |
| 268 | { |
| 269 | validate(CLAccessor(_target), _reference, tolerance_qasymm8); |
| 270 | } |
| 271 | |
| 272 | FIXTURE_DATA_TEST_CASE(RunLarge, CLDirectConvolutionLayerQuantizedFixture<uint8_t>, framework::DatasetMode::NIGHTLY, |
| 273 | combine(combine(combine(combine(zip(zip(zip(zip(zip(zip( |
| 274 | framework::dataset::make("InputShape", { TensorShape(800U, 800U, 3U) } ), |
| 275 | framework::dataset::make("StrideX", { 1 })), |
| 276 | framework::dataset::make("StrideY", { 1 })), |
| 277 | framework::dataset::make("PadX", { 1 })), |
| 278 | framework::dataset::make("PadY", { 1 })), |
| 279 | framework::dataset::make("KernelSize", { 9 })), |
| 280 | framework::dataset::make("NumKernels", { 3 })), |
| 281 | framework::dataset::make("DataType", DataType::QASYMM8)), |
| 282 | framework::dataset::make("QuantizationInfo", QuantizationInfo(2.f / 255, 10))), |
| 283 | framework::dataset::make("ActivationInfo", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU) )), |
| 284 | framework::dataset::make("DataLayout", DataLayout::NHWC))) |
| 285 | { |
| 286 | validate(CLAccessor(_target), _reference, tolerance_qasymm8); |
| 287 | } |
| 288 | |
| 289 | TEST_SUITE_END() // QASYMM8 |
| 290 | // |
| 291 | TEST_SUITE(QASYMM8_SIGNED) |
| 292 | FIXTURE_DATA_TEST_CASE(RunSmall, CLDirectConvolutionLayerQuantizedFixture<int8_t>, framework::DatasetMode::PRECOMMIT, |
| 293 | combine(combine(combine(combine(zip(zip(zip(zip(zip(zip( |
| 294 | framework::dataset::make("InputShape", { TensorShape(27U, 13U, 2U), |
| 295 | TensorShape(9U, 5U, 6U, 4U), |
| 296 | TensorShape(3U, 5U, 7U, 2U), |
| 297 | TensorShape(32U, 37U, 3U) } ), |
| 298 | framework::dataset::make("StrideX", { 1, 3, 1, 1 })), |
| 299 | framework::dataset::make("StrideY", { 1, 3, 2, 1 })), |
| 300 | framework::dataset::make("PadX", { 1, 3, 0, 4 })), |
| 301 | framework::dataset::make("PadY", { 1, 3, 0, 4 })), |
| 302 | framework::dataset::make("KernelSize", { 3, 8, 1, 9 })), |
| 303 | framework::dataset::make("NumKernels", { 7, 3, 1, 3 })), |
| 304 | framework::dataset::make("DataType", DataType::QASYMM8_SIGNED)), |
| 305 | framework::dataset::make("QuantizationInfo", QuantizationInfo(2.f / 255, 10))), |
| 306 | framework::dataset::make("ActivationInfo", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU) )), |
| 307 | framework::dataset::make("DataLayout", DataLayout::NHWC))) |
| 308 | { |
| 309 | validate(CLAccessor(_target), _reference, tolerance_qasymm8); |
| 310 | } |
| 311 | |
| 312 | FIXTURE_DATA_TEST_CASE(RunLarge, CLDirectConvolutionLayerQuantizedFixture<int8_t>, framework::DatasetMode::NIGHTLY, |
| 313 | combine(combine(combine(combine(zip(zip(zip(zip(zip(zip( |
| 314 | framework::dataset::make("InputShape", { TensorShape(800U, 800U, 3U) } ), |
| 315 | framework::dataset::make("StrideX", { 1 })), |
| 316 | framework::dataset::make("StrideY", { 1 })), |
| 317 | framework::dataset::make("PadX", { 1 })), |
| 318 | framework::dataset::make("PadY", { 1 })), |
| 319 | framework::dataset::make("KernelSize", { 9 })), |
| 320 | framework::dataset::make("NumKernels", { 3 })), |
| 321 | framework::dataset::make("DataType", DataType::QASYMM8_SIGNED)), |
| 322 | framework::dataset::make("QuantizationInfo", QuantizationInfo(2.f / 255, 10))), |
| 323 | framework::dataset::make("ActivationInfo", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU) )), |
| 324 | framework::dataset::make("DataLayout", DataLayout::NHWC))) |
| 325 | { |
| 326 | validate(CLAccessor(_target), _reference, tolerance_qasymm8); |
| 327 | } |
| 328 | TEST_SUITE_END() // QASYMM8_SIGNED |
| 329 | TEST_SUITE_END() // Quantized |
| 330 | TEST_SUITE_END() // NHWC |
| 331 | |
| 332 | // clang-format on |
| 333 | // *INDENT-ON* |
| 334 | TEST_SUITE(NCHW) |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 335 | TEST_SUITE(Float) |
| 336 | TEST_SUITE(FP16) |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 337 | FIXTURE_DATA_TEST_CASE(RunSmall, CLDirectConvolutionLayerFixture<half>, framework::DatasetMode::PRECOMMIT, combine(combine(combine(data_precommit, framework::dataset::make("DataType", DataType::F16)), |
| 338 | ActivationFunctionsDataset), |
| 339 | framework::dataset::make("DataLayout", DataLayout::NCHW))) |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 340 | { |
| 341 | // Validate output |
steniu01 | 3e05e4e | 2017-08-25 17:18:01 +0100 | [diff] [blame] | 342 | validate(CLAccessor(_target), _reference, tolerance_fp16, tolerance_num); |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 343 | } |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 344 | FIXTURE_DATA_TEST_CASE(RunLarge, CLDirectConvolutionLayerFixture<half>, framework::DatasetMode::NIGHTLY, combine(combine(combine(data_nightly, framework::dataset::make("DataType", DataType::F16)), |
| 345 | ActivationFunctionsDataset), |
| 346 | framework::dataset::make("DataLayout", DataLayout::NCHW))) |
| 347 | { |
| 348 | // Validate output |
| 349 | validate(CLAccessor(_target), _reference, tolerance_fp16, tolerance_num); |
| 350 | } |
| 351 | TEST_SUITE_END() // FP16 |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 352 | |
| 353 | TEST_SUITE(FP32) |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 354 | FIXTURE_DATA_TEST_CASE(RunSmall, CLDirectConvolutionLayerFixture<float>, framework::DatasetMode::PRECOMMIT, combine(combine(combine(data_precommit, framework::dataset::make("DataType", |
| 355 | DataType::F32)), |
| 356 | ActivationFunctionsDataset), |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 357 | framework::dataset::make("DataLayout", { DataLayout::NCHW }))) |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 358 | { |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 359 | validate(CLAccessor(_target), _reference, tolerance_fp32); |
| 360 | } |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 361 | FIXTURE_DATA_TEST_CASE(RunLarge, CLDirectConvolutionLayerFixture<float>, framework::DatasetMode::NIGHTLY, combine(combine(combine(data_nightly, framework::dataset::make("DataType", DataType::F32)), |
| 362 | ActivationFunctionsDataset), |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 363 | framework::dataset::make("DataLayout", { DataLayout::NCHW }))) |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 364 | { |
| 365 | validate(CLAccessor(_target), _reference, tolerance_fp32); |
| 366 | } |
| 367 | TEST_SUITE_END() // FP32 |
Jaroslaw Rzepecki | 2ecbada | 2017-11-29 13:51:34 +0000 | [diff] [blame] | 368 | |
| 369 | TEST_SUITE(FP32_CustomDataset) |
Michalis Spyrou | 8094325 | 2019-01-10 17:19:50 +0000 | [diff] [blame] | 370 | FIXTURE_DATA_TEST_CASE(Run, CLDirectConvolutionValidationWithTensorShapesFixture<float>, framework::DatasetMode::NIGHTLY, combine(combine(datasets::DirectConvolutionLayerDataset(), |
Isabella Gottardi | 3f217ec | 2018-02-12 14:59:19 +0000 | [diff] [blame] | 371 | framework::dataset::make("DataType", DataType::F32)), |
| 372 | ActivationFunctionsDataset)) |
Jaroslaw Rzepecki | 2ecbada | 2017-11-29 13:51:34 +0000 | [diff] [blame] | 373 | { |
| 374 | // Validate output |
| 375 | validate(CLAccessor(_target), _reference, tolerance_fp32); |
| 376 | } |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 377 | TEST_SUITE_END() // FP32_CustomDataset |
| 378 | TEST_SUITE_END() // Float |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 379 | |
Isabella Gottardi | 3f217ec | 2018-02-12 14:59:19 +0000 | [diff] [blame] | 380 | const auto QuantizedActivationFunctionsDataset = framework::dataset::make("ActivationInfo", |
| 381 | { |
| 382 | ActivationLayerInfo(), |
| 383 | ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), |
| 384 | ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU, 6.f) |
| 385 | }); |
Chunosov | d621bca | 2017-11-03 17:33:15 +0700 | [diff] [blame] | 386 | TEST_SUITE(Quantized) |
| 387 | TEST_SUITE(QASYMM8) |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 388 | FIXTURE_DATA_TEST_CASE(RunSmall, CLDirectConvolutionLayerQuantizedFixture<uint8_t>, framework::DatasetMode::PRECOMMIT, combine(combine(combine(combine(data_precommit, |
Sang-Hoon Park | ab5b1a2 | 2019-10-15 09:29:13 +0100 | [diff] [blame] | 389 | framework::dataset::make("DataType", |
| 390 | DataType::QASYMM8)), |
Michele Di Giorgio | 14cbfb2 | 2019-10-23 10:53:10 +0100 | [diff] [blame] | 391 | framework::dataset::make("QuantizationInfo", { QuantizationInfo(2.f / 255, 10), QuantizationInfo(1.1f, 10) })), |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 392 | QuantizedActivationFunctionsDataset), |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 393 | framework::dataset::make("DataLayout", { DataLayout::NCHW }))) |
Sang-Hoon Park | ab5b1a2 | 2019-10-15 09:29:13 +0100 | [diff] [blame] | 394 | { |
| 395 | // Validate output |
| 396 | validate(CLAccessor(_target), _reference, tolerance_qasymm8); |
| 397 | } |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 398 | FIXTURE_DATA_TEST_CASE(RunSmall9x9, CLDirectConvolutionLayerQuantizedFixture<uint8_t>, framework::DatasetMode::PRECOMMIT, combine(combine(combine(combine(data_precommit_9x9, |
| 399 | framework::dataset::make("DataType", |
| 400 | DataType::QASYMM8)), |
Manuel Bottini | 136174a | 2020-11-24 13:04:19 +0000 | [diff] [blame] | 401 | framework::dataset::make("QuantizationInfo", { QuantizationInfo(3.f / 255, 10), QuantizationInfo(1.1f, 10) })), |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 402 | QuantizedActivationFunctionsDataset), |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 403 | framework::dataset::make("DataLayout", { DataLayout::NCHW }))) |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 404 | { |
| 405 | // Validate output |
| 406 | validate(CLAccessor(_target), _reference, tolerance_qasymm8); |
| 407 | } |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 408 | FIXTURE_DATA_TEST_CASE(RunLarge, CLDirectConvolutionLayerQuantizedFixture<uint8_t>, framework::DatasetMode::NIGHTLY, combine(combine(combine(combine(data_nightly, framework::dataset::make("DataType", |
Sang-Hoon Park | ab5b1a2 | 2019-10-15 09:29:13 +0100 | [diff] [blame] | 409 | DataType::QASYMM8)), |
Michele Di Giorgio | 14cbfb2 | 2019-10-23 10:53:10 +0100 | [diff] [blame] | 410 | framework::dataset::make("QuantizationInfo", { QuantizationInfo(2.f / 255, 10), QuantizationInfo(1.1f, 10) })), |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 411 | QuantizedActivationFunctionsDataset), |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 412 | framework::dataset::make("DataLayout", { DataLayout::NCHW }))) |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 413 | { |
| 414 | // Validate output |
| 415 | validate(CLAccessor(_target), _reference, tolerance_qasymm8); |
| 416 | } |
| 417 | FIXTURE_DATA_TEST_CASE(RunLarge9x9, CLDirectConvolutionLayerQuantizedFixture<uint8_t>, framework::DatasetMode::NIGHTLY, combine(combine(combine(combine(data_nightly_9x9, |
| 418 | framework::dataset::make("DataType", |
| 419 | DataType::QASYMM8)), |
Manuel Bottini | 136174a | 2020-11-24 13:04:19 +0000 | [diff] [blame] | 420 | framework::dataset::make("QuantizationInfo", { QuantizationInfo(3.f / 255, 10), QuantizationInfo(1.1f, 10) })), |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 421 | QuantizedActivationFunctionsDataset), |
| 422 | framework::dataset::make("DataLayout", { DataLayout::NCHW }))) |
Sang-Hoon Park | ab5b1a2 | 2019-10-15 09:29:13 +0100 | [diff] [blame] | 423 | { |
| 424 | // Validate output |
| 425 | validate(CLAccessor(_target), _reference, tolerance_qasymm8); |
| 426 | } |
| 427 | |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 428 | TEST_SUITE_END() // QASYMM8 |
Jaroslaw Rzepecki | 2ecbada | 2017-11-29 13:51:34 +0000 | [diff] [blame] | 429 | |
| 430 | TEST_SUITE(QASYMM8_CustomDataset) |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 431 | FIXTURE_DATA_TEST_CASE(Run, CLDirectConvolutionValidationWithTensorShapesQuantizedFixture<uint8_t>, framework::DatasetMode::NIGHTLY, |
| 432 | combine(combine(combine(combine(datasets::DirectConvolutionLayerDataset(), |
| 433 | framework::dataset::make("DataType", DataType::QASYMM8)), |
| 434 | framework::dataset::make("QuantizationInfo", { QuantizationInfo(2.f / 255, 127), QuantizationInfo(1.1f, 10) })), |
| 435 | QuantizedActivationFunctionsDataset), |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 436 | framework::dataset::make("DataLayout", { DataLayout::NCHW }))) |
Jaroslaw Rzepecki | 2ecbada | 2017-11-29 13:51:34 +0000 | [diff] [blame] | 437 | { |
| 438 | // Validate output |
| 439 | validate(CLAccessor(_target), _reference, tolerance_qasymm8); |
| 440 | } |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 441 | TEST_SUITE_END() // QASYMM8_CustomDataset |
Sheri Zhang | 681f2d4 | 2020-02-20 11:23:08 +0000 | [diff] [blame] | 442 | |
| 443 | TEST_SUITE(QASYMM8_SIGNED) |
| 444 | |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 445 | FIXTURE_DATA_TEST_CASE(RunSmall, CLDirectConvolutionLayerQuantizedFixture<int8_t>, framework::DatasetMode::ALL, combine(combine(combine(combine(data_precommit, framework::dataset::make("DataType", |
Sheri Zhang | 681f2d4 | 2020-02-20 11:23:08 +0000 | [diff] [blame] | 446 | DataType::QASYMM8_SIGNED)), |
| 447 | framework::dataset::make("QuantizationInfo", { QuantizationInfo(2.f / 255, 10), QuantizationInfo(1.1f, -10) })), |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 448 | QuantizedActivationFunctionsDataset), |
| 449 | framework::dataset::make("DataLayout", { DataLayout::NCHW, DataLayout::NHWC }))) |
Sheri Zhang | 681f2d4 | 2020-02-20 11:23:08 +0000 | [diff] [blame] | 450 | { |
| 451 | // Validate output |
| 452 | validate(CLAccessor(_target), _reference, tolerance_qasymm8); |
| 453 | } |
| 454 | |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 455 | FIXTURE_DATA_TEST_CASE(RunSmall9x9, CLDirectConvolutionLayerQuantizedFixture<int8_t>, framework::DatasetMode::ALL, combine(combine(combine(combine(data_precommit_9x9, |
Sheri Zhang | 681f2d4 | 2020-02-20 11:23:08 +0000 | [diff] [blame] | 456 | framework::dataset::make("DataType", |
| 457 | DataType::QASYMM8_SIGNED)), |
| 458 | framework::dataset::make("QuantizationInfo", { QuantizationInfo(2.f / 255, 10), QuantizationInfo(1.1f, 10) })), |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 459 | QuantizedActivationFunctionsDataset), |
| 460 | framework::dataset::make("DataLayout", { DataLayout::NCHW }))) |
Sheri Zhang | 681f2d4 | 2020-02-20 11:23:08 +0000 | [diff] [blame] | 461 | { |
| 462 | // Validate output |
| 463 | validate(CLAccessor(_target), _reference, tolerance_qasymm8); |
| 464 | } |
| 465 | |
| 466 | FIXTURE_DATA_TEST_CASE(RunCustomDataset, CLDirectConvolutionValidationWithTensorShapesQuantizedFixture<int8_t>, framework::DatasetMode::NIGHTLY, |
Giorgio Arena | e620a83 | 2020-02-17 16:33:20 +0000 | [diff] [blame] | 467 | combine(combine(combine(combine(datasets::DirectConvolutionLayerDataset(), |
| 468 | framework::dataset::make("DataType", DataType::QASYMM8_SIGNED)), |
| 469 | framework::dataset::make("QuantizationInfo", { QuantizationInfo(2.f / 255, 127), QuantizationInfo(1.1f, 10) })), |
| 470 | QuantizedActivationFunctionsDataset), |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 471 | framework::dataset::make("DataLayout", { DataLayout::NCHW }))) |
Sheri Zhang | 681f2d4 | 2020-02-20 11:23:08 +0000 | [diff] [blame] | 472 | { |
| 473 | // Validate output |
| 474 | validate(CLAccessor(_target), _reference, tolerance_qasymm8); |
| 475 | } |
| 476 | |
| 477 | TEST_SUITE_END() // QASYMM8_SIGNED |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 478 | TEST_SUITE_END() // Quantized |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 479 | TEST_SUITE_END() // NCHW |
Michalis Spyrou | 064add6 | 2018-11-01 18:14:27 +0000 | [diff] [blame] | 480 | TEST_SUITE_END() // DirectConvolutionLayer |
Gian Marco Iodice | 0841ca0 | 2021-02-01 14:37:02 +0000 | [diff] [blame] | 481 | TEST_SUITE_END() // CL |
| 482 | |
Moritz Pflanzer | b3d2579 | 2017-07-26 11:49:37 +0100 | [diff] [blame] | 483 | } // namespace validation |
| 484 | } // namespace test |
Anthony Barbier | 1c0d0ff | 2018-01-31 13:05:09 +0000 | [diff] [blame] | 485 | } // namespace arm_compute |