blob: 464fffd1cfd67fee1abd66e63555c9c69eff3e88 [file] [log] [blame]
Anthony Barbier6ff3b192017-09-04 18:44:23 +01001/*
2 * Copyright (c) 2017 ARM Limited.
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#ifndef __ARM_COMPUTE_TEST_VALIDATION_DATASETS_H__
25#define __ARM_COMPUTE_TEST_VALIDATION_DATASETS_H__
26
Moritz Pflanzera09de0c2017-09-01 20:41:12 +010027#include "tests/validation_old/dataset/ActivationFunctionDataset.h"
28#include "tests/validation_old/dataset/BatchNormalizationLayerDataset.h"
29#include "tests/validation_old/dataset/BorderModeDataset.h"
30#include "tests/validation_old/dataset/ConvertPolicyDataset.h"
31#include "tests/validation_old/dataset/ConvolutionLayerDataset.h"
32#include "tests/validation_old/dataset/DataTypeDatasets.h"
33#include "tests/validation_old/dataset/FullyConnectedLayerDataset.h"
34#include "tests/validation_old/dataset/GEMMDataset.h"
35#include "tests/validation_old/dataset/ImageDatasets.h"
36#include "tests/validation_old/dataset/InterpolationPolicyDataset.h"
37#include "tests/validation_old/dataset/MatrixPatternDataset.h"
38#include "tests/validation_old/dataset/NonLinearFilterFunctionDataset.h"
39#include "tests/validation_old/dataset/NormalizationTypeDataset.h"
40#include "tests/validation_old/dataset/PoolingTypesDataset.h"
41#include "tests/validation_old/dataset/RoundingPolicyDataset.h"
42#include "tests/validation_old/dataset/ShapeDatasets.h"
43#include "tests/validation_old/dataset/ThresholdDataset.h"
Anthony Barbier6ff3b192017-09-04 18:44:23 +010044
Moritz Pflanzera09de0c2017-09-01 20:41:12 +010045#include "tests/validation_old/boost_wrapper.h"
Anthony Barbier6ff3b192017-09-04 18:44:23 +010046
47using namespace boost::unit_test::data::monomorphic;
48
49namespace boost
50{
51namespace unit_test
52{
53namespace data
54{
55namespace monomorphic
56{
57/// Register the data set with Boost
58template <>
59struct is_dataset<arm_compute::test::SmallImages> : boost::mpl::true_
60{
61};
62
63/// Register the data set with Boost
64template <>
65struct is_dataset<arm_compute::test::LargeImages> : boost::mpl::true_
66{
67};
68
69/// Register the data set with Boost
70template <>
71struct is_dataset<arm_compute::test::SmallShapes> : boost::mpl::true_
72{
73};
74
75/// Register the data set with Boost
76template <>
77struct is_dataset<arm_compute::test::Small1DShape> : boost::mpl::true_
78{
79};
80
81/// Register the data set with Boost
82template <>
Giorgio Arenaf7959862017-06-13 15:19:51 +010083struct is_dataset<arm_compute::test::Small2DShapes> : boost::mpl::true_
84{
85};
86
87/// Register the data set with Boost
88template <>
Anthony Barbier6ff3b192017-09-04 18:44:23 +010089struct is_dataset<arm_compute::test::LargeShapes> : boost::mpl::true_
90{
91};
92
93/// Register the data set with Boost
94template <>
Giorgio Arenaf7959862017-06-13 15:19:51 +010095struct is_dataset<arm_compute::test::Large2DShapes> : boost::mpl::true_
96{
97};
98
99/// Register the data set with Boost
100template <>
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100101struct is_dataset<arm_compute::test::AllDataTypes> : boost::mpl::true_
102{
103};
104
105/// Register the data set with Boost
106template <>
107struct is_dataset<arm_compute::test::UnsignedDataTypes> : boost::mpl::true_
108{
109};
110
111// Register the data set with Boost
112template <>
113struct is_dataset<arm_compute::test::SignedDataTypes> : boost::mpl::true_
114{
115};
116
117/// Register the data set with Boost
118template <>
119struct is_dataset<arm_compute::test::FloatDataTypes> : boost::mpl::true_
120{
121};
122
123/// Register the data set with Boost
124template <>
125struct is_dataset<arm_compute::test::FixedPointDataTypes> : boost::mpl::true_
126{
127};
128
129/// Register the data set with Boost
130template <>
131struct is_dataset<arm_compute::test::CNNFloatDataTypes> : boost::mpl::true_
132{
133};
134
135/// Register the data set with Boost
136template <>
137struct is_dataset<arm_compute::test::CNNFixedPointDataTypes> : boost::mpl::true_
138{
139};
140
141/// Register the data set with Boost
142template <>
143struct is_dataset<arm_compute::test::CNNDataTypes> : boost::mpl::true_
144{
145};
146
147/// Register the data set with Boost
148template <>
149struct is_dataset<arm_compute::test::ActivationFunctions> : boost::mpl::true_
150{
151};
152
153/// Register the data set with Boost
154template <>
155struct is_dataset<arm_compute::test::BorderModes> : boost::mpl::true_
156{
157};
158
159/// Register the data set with Boost
160template <>
161struct is_dataset<arm_compute::test::ConvertPolicies> : boost::mpl::true_
162{
163};
164
165/// Register the data set with Boost
166template <>
167struct is_dataset<arm_compute::test::InterpolationPolicies> : boost::mpl::true_
168{
169};
170
171/// Register the data set with Boost
172template <>
173struct is_dataset<arm_compute::test::NormalizationTypes> : boost::mpl::true_
174{
175};
176
177/// Register the data set with Boost
178template <>
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100179struct is_dataset<arm_compute::test::RoundingPolicies> : boost::mpl::true_
180{
181};
182
183/// Register the data set with Boost
184template <>
Georgios Pinitasce093142017-06-19 16:11:53 +0100185struct is_dataset<arm_compute::test::PoolingTypes> : boost::mpl::true_
186{
187};
188
189/// Register the data set with Boost
190template <>
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100191struct is_dataset<arm_compute::test::AlexNetConvolutionLayerDataset> : boost::mpl::true_
192{
193};
194
195/// Register the data set with Boost
196template <>
197struct is_dataset<arm_compute::test::AlexNetFullyConnectedLayerDataset> : boost::mpl::true_
198{
199};
200
201/// Register the data set with Boost
202template <>
203struct is_dataset<arm_compute::test::DirectConvolutionShapes> : boost::mpl::true_
204{
205};
206
207/// Register the data set with Boost
208template <>
209struct is_dataset<arm_compute::test::SmallFullyConnectedLayerDataset> : boost::mpl::true_
210{
211};
212
213/// Register the data set with Boost
214template <>
215struct is_dataset<arm_compute::test::LargeFullyConnectedLayerDataset> : boost::mpl::true_
216{
217};
218
219/// Register the data set with Boost
220template <>
221struct is_dataset<arm_compute::test::SmallConvolutionLayerDataset> : boost::mpl::true_
222{
223};
224
225/// Register the data set with Boost
226template <>
227struct is_dataset<arm_compute::test::SmallGEMMDataset> : boost::mpl::true_
228{
229};
230
231/// Register the data set with Boost
232template <>
233struct is_dataset<arm_compute::test::LargeGEMMDataset> : boost::mpl::true_
234{
235};
236
237/// Register the data set with Boost
238template <>
239struct is_dataset<arm_compute::test::RandomBatchNormalizationLayerDataset> : boost::mpl::true_
240{
241};
242
243/// Register the data set with Boost
244template <>
245struct is_dataset<arm_compute::test::ThresholdDataset> : boost::mpl::true_
246{
247};
Isabella Gottardi3b77e9d2017-06-22 11:05:41 +0100248
249/// Register the data set with Boost
250template <>
251struct is_dataset<arm_compute::test::NonLinearFilterFunctions> : boost::mpl::true_
252{
253};
254
255/// Register the data set with Boost
256template <>
257struct is_dataset<arm_compute::test::MatrixPatterns> : boost::mpl::true_
258{
259};
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100260}
261}
262}
263}
Anthony Barbierac69aa12017-07-03 17:39:37 +0100264#endif /* __ARM_COMPUTE_TEST_VALIDATION_DATASETS_H__ */