1 // clang-format off
2 // Generated file (from: roi_align.mod.py). Do not edit
3 #include "../../TestGenerated.h"
4 
5 namespace roi_align {
6 // Generated roi_align test
7 #include "generated/examples/roi_align.example.cpp"
8 // Generated model constructor
9 #include "generated/models/roi_align.model.cpp"
10 } // namespace roi_align
11 
TEST_F(GeneratedTests,roi_align_nhwc)12 TEST_F(GeneratedTests, roi_align_nhwc) {
13     execute(roi_align::CreateModel_nhwc,
14             roi_align::is_ignored_nhwc,
15             roi_align::get_examples_nhwc());
16 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc,roi_align::CreateModel_nhwc)17 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc, roi_align::CreateModel_nhwc)
18 
19 TEST_F(GeneratedTests, roi_align_nhwc_relaxed) {
20     execute(roi_align::CreateModel_nhwc_relaxed,
21             roi_align::is_ignored_nhwc_relaxed,
22             roi_align::get_examples_nhwc_relaxed());
23 }
24 
TEST_F(GeneratedTests,roi_align_nhwc_quant8)25 TEST_F(GeneratedTests, roi_align_nhwc_quant8) {
26     execute(roi_align::CreateModel_nhwc_quant8,
27             roi_align::is_ignored_nhwc_quant8,
28             roi_align::get_examples_nhwc_quant8());
29 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_quant8,roi_align::CreateModel_nhwc_quant8)30 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_quant8, roi_align::CreateModel_nhwc_quant8)
31 
32 TEST_F(GeneratedTests, roi_align_nhwc_float16) {
33     execute(roi_align::CreateModel_nhwc_float16,
34             roi_align::is_ignored_nhwc_float16,
35             roi_align::get_examples_nhwc_float16());
36 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_float16,roi_align::CreateModel_nhwc_float16)37 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_float16, roi_align::CreateModel_nhwc_float16)
38 
39 TEST_F(GeneratedTests, roi_align_nchw) {
40     execute(roi_align::CreateModel_nchw,
41             roi_align::is_ignored_nchw,
42             roi_align::get_examples_nchw());
43 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw,roi_align::CreateModel_nchw)44 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw, roi_align::CreateModel_nchw)
45 
46 TEST_F(GeneratedTests, roi_align_nchw_relaxed) {
47     execute(roi_align::CreateModel_nchw_relaxed,
48             roi_align::is_ignored_nchw_relaxed,
49             roi_align::get_examples_nchw_relaxed());
50 }
51 
TEST_F(GeneratedTests,roi_align_nchw_quant8)52 TEST_F(GeneratedTests, roi_align_nchw_quant8) {
53     execute(roi_align::CreateModel_nchw_quant8,
54             roi_align::is_ignored_nchw_quant8,
55             roi_align::get_examples_nchw_quant8());
56 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_quant8,roi_align::CreateModel_nchw_quant8)57 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_quant8, roi_align::CreateModel_nchw_quant8)
58 
59 TEST_F(GeneratedTests, roi_align_nchw_float16) {
60     execute(roi_align::CreateModel_nchw_float16,
61             roi_align::is_ignored_nchw_float16,
62             roi_align::get_examples_nchw_float16());
63 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_float16,roi_align::CreateModel_nchw_float16)64 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_float16, roi_align::CreateModel_nchw_float16)
65 
66 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc) {
67     execute(roi_align::CreateModel_dynamic_output_shape_nhwc,
68             roi_align::is_ignored_dynamic_output_shape_nhwc,
69             roi_align::get_examples_dynamic_output_shape_nhwc());
70 }
71 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_relaxed)72 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_relaxed) {
73     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_relaxed,
74             roi_align::is_ignored_dynamic_output_shape_nhwc_relaxed,
75             roi_align::get_examples_dynamic_output_shape_nhwc_relaxed());
76 }
77 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_quant8)78 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_quant8) {
79     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_quant8,
80             roi_align::is_ignored_dynamic_output_shape_nhwc_quant8,
81             roi_align::get_examples_dynamic_output_shape_nhwc_quant8());
82 }
83 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_float16)84 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_float16) {
85     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_float16,
86             roi_align::is_ignored_dynamic_output_shape_nhwc_float16,
87             roi_align::get_examples_dynamic_output_shape_nhwc_float16());
88 }
89 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw)90 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw) {
91     execute(roi_align::CreateModel_dynamic_output_shape_nchw,
92             roi_align::is_ignored_dynamic_output_shape_nchw,
93             roi_align::get_examples_dynamic_output_shape_nchw());
94 }
95 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_relaxed)96 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_relaxed) {
97     execute(roi_align::CreateModel_dynamic_output_shape_nchw_relaxed,
98             roi_align::is_ignored_dynamic_output_shape_nchw_relaxed,
99             roi_align::get_examples_dynamic_output_shape_nchw_relaxed());
100 }
101 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_quant8)102 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_quant8) {
103     execute(roi_align::CreateModel_dynamic_output_shape_nchw_quant8,
104             roi_align::is_ignored_dynamic_output_shape_nchw_quant8,
105             roi_align::get_examples_dynamic_output_shape_nchw_quant8());
106 }
107 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_float16)108 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_float16) {
109     execute(roi_align::CreateModel_dynamic_output_shape_nchw_float16,
110             roi_align::is_ignored_dynamic_output_shape_nchw_float16,
111             roi_align::get_examples_dynamic_output_shape_nchw_float16());
112 }
113 
TEST_F(GeneratedTests,roi_align_nhwc_2)114 TEST_F(GeneratedTests, roi_align_nhwc_2) {
115     execute(roi_align::CreateModel_nhwc_2,
116             roi_align::is_ignored_nhwc_2,
117             roi_align::get_examples_nhwc_2());
118 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_2,roi_align::CreateModel_nhwc_2)119 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_2, roi_align::CreateModel_nhwc_2)
120 
121 TEST_F(GeneratedTests, roi_align_nhwc_relaxed_2) {
122     execute(roi_align::CreateModel_nhwc_relaxed_2,
123             roi_align::is_ignored_nhwc_relaxed_2,
124             roi_align::get_examples_nhwc_relaxed_2());
125 }
126 
TEST_F(GeneratedTests,roi_align_nhwc_quant8_2)127 TEST_F(GeneratedTests, roi_align_nhwc_quant8_2) {
128     execute(roi_align::CreateModel_nhwc_quant8_2,
129             roi_align::is_ignored_nhwc_quant8_2,
130             roi_align::get_examples_nhwc_quant8_2());
131 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_quant8_2,roi_align::CreateModel_nhwc_quant8_2)132 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_quant8_2, roi_align::CreateModel_nhwc_quant8_2)
133 
134 TEST_F(GeneratedTests, roi_align_nhwc_float16_2) {
135     execute(roi_align::CreateModel_nhwc_float16_2,
136             roi_align::is_ignored_nhwc_float16_2,
137             roi_align::get_examples_nhwc_float16_2());
138 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_float16_2,roi_align::CreateModel_nhwc_float16_2)139 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_float16_2, roi_align::CreateModel_nhwc_float16_2)
140 
141 TEST_F(GeneratedTests, roi_align_nchw_2) {
142     execute(roi_align::CreateModel_nchw_2,
143             roi_align::is_ignored_nchw_2,
144             roi_align::get_examples_nchw_2());
145 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_2,roi_align::CreateModel_nchw_2)146 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_2, roi_align::CreateModel_nchw_2)
147 
148 TEST_F(GeneratedTests, roi_align_nchw_relaxed_2) {
149     execute(roi_align::CreateModel_nchw_relaxed_2,
150             roi_align::is_ignored_nchw_relaxed_2,
151             roi_align::get_examples_nchw_relaxed_2());
152 }
153 
TEST_F(GeneratedTests,roi_align_nchw_quant8_2)154 TEST_F(GeneratedTests, roi_align_nchw_quant8_2) {
155     execute(roi_align::CreateModel_nchw_quant8_2,
156             roi_align::is_ignored_nchw_quant8_2,
157             roi_align::get_examples_nchw_quant8_2());
158 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_quant8_2,roi_align::CreateModel_nchw_quant8_2)159 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_quant8_2, roi_align::CreateModel_nchw_quant8_2)
160 
161 TEST_F(GeneratedTests, roi_align_nchw_float16_2) {
162     execute(roi_align::CreateModel_nchw_float16_2,
163             roi_align::is_ignored_nchw_float16_2,
164             roi_align::get_examples_nchw_float16_2());
165 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_float16_2,roi_align::CreateModel_nchw_float16_2)166 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_float16_2, roi_align::CreateModel_nchw_float16_2)
167 
168 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_2) {
169     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_2,
170             roi_align::is_ignored_dynamic_output_shape_nhwc_2,
171             roi_align::get_examples_dynamic_output_shape_nhwc_2());
172 }
173 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_relaxed_2)174 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_relaxed_2) {
175     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_relaxed_2,
176             roi_align::is_ignored_dynamic_output_shape_nhwc_relaxed_2,
177             roi_align::get_examples_dynamic_output_shape_nhwc_relaxed_2());
178 }
179 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_quant8_2)180 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_quant8_2) {
181     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_quant8_2,
182             roi_align::is_ignored_dynamic_output_shape_nhwc_quant8_2,
183             roi_align::get_examples_dynamic_output_shape_nhwc_quant8_2());
184 }
185 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_float16_2)186 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_float16_2) {
187     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_float16_2,
188             roi_align::is_ignored_dynamic_output_shape_nhwc_float16_2,
189             roi_align::get_examples_dynamic_output_shape_nhwc_float16_2());
190 }
191 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_2)192 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_2) {
193     execute(roi_align::CreateModel_dynamic_output_shape_nchw_2,
194             roi_align::is_ignored_dynamic_output_shape_nchw_2,
195             roi_align::get_examples_dynamic_output_shape_nchw_2());
196 }
197 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_relaxed_2)198 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_relaxed_2) {
199     execute(roi_align::CreateModel_dynamic_output_shape_nchw_relaxed_2,
200             roi_align::is_ignored_dynamic_output_shape_nchw_relaxed_2,
201             roi_align::get_examples_dynamic_output_shape_nchw_relaxed_2());
202 }
203 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_quant8_2)204 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_quant8_2) {
205     execute(roi_align::CreateModel_dynamic_output_shape_nchw_quant8_2,
206             roi_align::is_ignored_dynamic_output_shape_nchw_quant8_2,
207             roi_align::get_examples_dynamic_output_shape_nchw_quant8_2());
208 }
209 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_float16_2)210 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_float16_2) {
211     execute(roi_align::CreateModel_dynamic_output_shape_nchw_float16_2,
212             roi_align::is_ignored_dynamic_output_shape_nchw_float16_2,
213             roi_align::get_examples_dynamic_output_shape_nchw_float16_2());
214 }
215 
TEST_F(GeneratedTests,roi_align_nhwc_3)216 TEST_F(GeneratedTests, roi_align_nhwc_3) {
217     execute(roi_align::CreateModel_nhwc_3,
218             roi_align::is_ignored_nhwc_3,
219             roi_align::get_examples_nhwc_3());
220 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_3,roi_align::CreateModel_nhwc_3)221 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_3, roi_align::CreateModel_nhwc_3)
222 
223 TEST_F(GeneratedTests, roi_align_nhwc_relaxed_3) {
224     execute(roi_align::CreateModel_nhwc_relaxed_3,
225             roi_align::is_ignored_nhwc_relaxed_3,
226             roi_align::get_examples_nhwc_relaxed_3());
227 }
228 
TEST_F(GeneratedTests,roi_align_nhwc_quant8_3)229 TEST_F(GeneratedTests, roi_align_nhwc_quant8_3) {
230     execute(roi_align::CreateModel_nhwc_quant8_3,
231             roi_align::is_ignored_nhwc_quant8_3,
232             roi_align::get_examples_nhwc_quant8_3());
233 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_quant8_3,roi_align::CreateModel_nhwc_quant8_3)234 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_quant8_3, roi_align::CreateModel_nhwc_quant8_3)
235 
236 TEST_F(GeneratedTests, roi_align_nhwc_float16_3) {
237     execute(roi_align::CreateModel_nhwc_float16_3,
238             roi_align::is_ignored_nhwc_float16_3,
239             roi_align::get_examples_nhwc_float16_3());
240 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_float16_3,roi_align::CreateModel_nhwc_float16_3)241 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_float16_3, roi_align::CreateModel_nhwc_float16_3)
242 
243 TEST_F(GeneratedTests, roi_align_nchw_3) {
244     execute(roi_align::CreateModel_nchw_3,
245             roi_align::is_ignored_nchw_3,
246             roi_align::get_examples_nchw_3());
247 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_3,roi_align::CreateModel_nchw_3)248 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_3, roi_align::CreateModel_nchw_3)
249 
250 TEST_F(GeneratedTests, roi_align_nchw_relaxed_3) {
251     execute(roi_align::CreateModel_nchw_relaxed_3,
252             roi_align::is_ignored_nchw_relaxed_3,
253             roi_align::get_examples_nchw_relaxed_3());
254 }
255 
TEST_F(GeneratedTests,roi_align_nchw_quant8_3)256 TEST_F(GeneratedTests, roi_align_nchw_quant8_3) {
257     execute(roi_align::CreateModel_nchw_quant8_3,
258             roi_align::is_ignored_nchw_quant8_3,
259             roi_align::get_examples_nchw_quant8_3());
260 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_quant8_3,roi_align::CreateModel_nchw_quant8_3)261 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_quant8_3, roi_align::CreateModel_nchw_quant8_3)
262 
263 TEST_F(GeneratedTests, roi_align_nchw_float16_3) {
264     execute(roi_align::CreateModel_nchw_float16_3,
265             roi_align::is_ignored_nchw_float16_3,
266             roi_align::get_examples_nchw_float16_3());
267 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_float16_3,roi_align::CreateModel_nchw_float16_3)268 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_float16_3, roi_align::CreateModel_nchw_float16_3)
269 
270 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_3) {
271     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_3,
272             roi_align::is_ignored_dynamic_output_shape_nhwc_3,
273             roi_align::get_examples_dynamic_output_shape_nhwc_3());
274 }
275 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_relaxed_3)276 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_relaxed_3) {
277     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_relaxed_3,
278             roi_align::is_ignored_dynamic_output_shape_nhwc_relaxed_3,
279             roi_align::get_examples_dynamic_output_shape_nhwc_relaxed_3());
280 }
281 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_quant8_3)282 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_quant8_3) {
283     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_quant8_3,
284             roi_align::is_ignored_dynamic_output_shape_nhwc_quant8_3,
285             roi_align::get_examples_dynamic_output_shape_nhwc_quant8_3());
286 }
287 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_float16_3)288 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_float16_3) {
289     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_float16_3,
290             roi_align::is_ignored_dynamic_output_shape_nhwc_float16_3,
291             roi_align::get_examples_dynamic_output_shape_nhwc_float16_3());
292 }
293 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_3)294 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_3) {
295     execute(roi_align::CreateModel_dynamic_output_shape_nchw_3,
296             roi_align::is_ignored_dynamic_output_shape_nchw_3,
297             roi_align::get_examples_dynamic_output_shape_nchw_3());
298 }
299 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_relaxed_3)300 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_relaxed_3) {
301     execute(roi_align::CreateModel_dynamic_output_shape_nchw_relaxed_3,
302             roi_align::is_ignored_dynamic_output_shape_nchw_relaxed_3,
303             roi_align::get_examples_dynamic_output_shape_nchw_relaxed_3());
304 }
305 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_quant8_3)306 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_quant8_3) {
307     execute(roi_align::CreateModel_dynamic_output_shape_nchw_quant8_3,
308             roi_align::is_ignored_dynamic_output_shape_nchw_quant8_3,
309             roi_align::get_examples_dynamic_output_shape_nchw_quant8_3());
310 }
311 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_float16_3)312 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_float16_3) {
313     execute(roi_align::CreateModel_dynamic_output_shape_nchw_float16_3,
314             roi_align::is_ignored_dynamic_output_shape_nchw_float16_3,
315             roi_align::get_examples_dynamic_output_shape_nchw_float16_3());
316 }
317 
TEST_F(GeneratedTests,roi_align_nhwc_4)318 TEST_F(GeneratedTests, roi_align_nhwc_4) {
319     execute(roi_align::CreateModel_nhwc_4,
320             roi_align::is_ignored_nhwc_4,
321             roi_align::get_examples_nhwc_4());
322 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_4,roi_align::CreateModel_nhwc_4)323 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_4, roi_align::CreateModel_nhwc_4)
324 
325 TEST_F(GeneratedTests, roi_align_nhwc_relaxed_4) {
326     execute(roi_align::CreateModel_nhwc_relaxed_4,
327             roi_align::is_ignored_nhwc_relaxed_4,
328             roi_align::get_examples_nhwc_relaxed_4());
329 }
330 
TEST_F(GeneratedTests,roi_align_nhwc_quant8_4)331 TEST_F(GeneratedTests, roi_align_nhwc_quant8_4) {
332     execute(roi_align::CreateModel_nhwc_quant8_4,
333             roi_align::is_ignored_nhwc_quant8_4,
334             roi_align::get_examples_nhwc_quant8_4());
335 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_quant8_4,roi_align::CreateModel_nhwc_quant8_4)336 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_quant8_4, roi_align::CreateModel_nhwc_quant8_4)
337 
338 TEST_F(GeneratedTests, roi_align_nhwc_float16_4) {
339     execute(roi_align::CreateModel_nhwc_float16_4,
340             roi_align::is_ignored_nhwc_float16_4,
341             roi_align::get_examples_nhwc_float16_4());
342 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_float16_4,roi_align::CreateModel_nhwc_float16_4)343 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_float16_4, roi_align::CreateModel_nhwc_float16_4)
344 
345 TEST_F(GeneratedTests, roi_align_nchw_4) {
346     execute(roi_align::CreateModel_nchw_4,
347             roi_align::is_ignored_nchw_4,
348             roi_align::get_examples_nchw_4());
349 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_4,roi_align::CreateModel_nchw_4)350 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_4, roi_align::CreateModel_nchw_4)
351 
352 TEST_F(GeneratedTests, roi_align_nchw_relaxed_4) {
353     execute(roi_align::CreateModel_nchw_relaxed_4,
354             roi_align::is_ignored_nchw_relaxed_4,
355             roi_align::get_examples_nchw_relaxed_4());
356 }
357 
TEST_F(GeneratedTests,roi_align_nchw_quant8_4)358 TEST_F(GeneratedTests, roi_align_nchw_quant8_4) {
359     execute(roi_align::CreateModel_nchw_quant8_4,
360             roi_align::is_ignored_nchw_quant8_4,
361             roi_align::get_examples_nchw_quant8_4());
362 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_quant8_4,roi_align::CreateModel_nchw_quant8_4)363 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_quant8_4, roi_align::CreateModel_nchw_quant8_4)
364 
365 TEST_F(GeneratedTests, roi_align_nchw_float16_4) {
366     execute(roi_align::CreateModel_nchw_float16_4,
367             roi_align::is_ignored_nchw_float16_4,
368             roi_align::get_examples_nchw_float16_4());
369 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_float16_4,roi_align::CreateModel_nchw_float16_4)370 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_float16_4, roi_align::CreateModel_nchw_float16_4)
371 
372 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_4) {
373     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_4,
374             roi_align::is_ignored_dynamic_output_shape_nhwc_4,
375             roi_align::get_examples_dynamic_output_shape_nhwc_4());
376 }
377 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_relaxed_4)378 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_relaxed_4) {
379     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_relaxed_4,
380             roi_align::is_ignored_dynamic_output_shape_nhwc_relaxed_4,
381             roi_align::get_examples_dynamic_output_shape_nhwc_relaxed_4());
382 }
383 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_quant8_4)384 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_quant8_4) {
385     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_quant8_4,
386             roi_align::is_ignored_dynamic_output_shape_nhwc_quant8_4,
387             roi_align::get_examples_dynamic_output_shape_nhwc_quant8_4());
388 }
389 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_float16_4)390 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_float16_4) {
391     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_float16_4,
392             roi_align::is_ignored_dynamic_output_shape_nhwc_float16_4,
393             roi_align::get_examples_dynamic_output_shape_nhwc_float16_4());
394 }
395 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_4)396 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_4) {
397     execute(roi_align::CreateModel_dynamic_output_shape_nchw_4,
398             roi_align::is_ignored_dynamic_output_shape_nchw_4,
399             roi_align::get_examples_dynamic_output_shape_nchw_4());
400 }
401 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_relaxed_4)402 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_relaxed_4) {
403     execute(roi_align::CreateModel_dynamic_output_shape_nchw_relaxed_4,
404             roi_align::is_ignored_dynamic_output_shape_nchw_relaxed_4,
405             roi_align::get_examples_dynamic_output_shape_nchw_relaxed_4());
406 }
407 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_quant8_4)408 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_quant8_4) {
409     execute(roi_align::CreateModel_dynamic_output_shape_nchw_quant8_4,
410             roi_align::is_ignored_dynamic_output_shape_nchw_quant8_4,
411             roi_align::get_examples_dynamic_output_shape_nchw_quant8_4());
412 }
413 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_float16_4)414 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_float16_4) {
415     execute(roi_align::CreateModel_dynamic_output_shape_nchw_float16_4,
416             roi_align::is_ignored_dynamic_output_shape_nchw_float16_4,
417             roi_align::get_examples_dynamic_output_shape_nchw_float16_4());
418 }
419 
TEST_F(GeneratedTests,roi_align_zero_sized_nhwc)420 TEST_F(GeneratedTests, roi_align_zero_sized_nhwc) {
421     execute(roi_align::CreateModel_zero_sized_nhwc,
422             roi_align::is_ignored_zero_sized_nhwc,
423             roi_align::get_examples_zero_sized_nhwc());
424 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_zero_sized_nhwc,roi_align::CreateModel_zero_sized_nhwc)425 TEST_AVAILABLE_SINCE(V1_2, roi_align_zero_sized_nhwc, roi_align::CreateModel_zero_sized_nhwc)
426 
427 TEST_F(GeneratedTests, roi_align_zero_sized_nhwc_relaxed) {
428     execute(roi_align::CreateModel_zero_sized_nhwc_relaxed,
429             roi_align::is_ignored_zero_sized_nhwc_relaxed,
430             roi_align::get_examples_zero_sized_nhwc_relaxed());
431 }
432 
TEST_F(GeneratedTests,roi_align_zero_sized_nhwc_quant8)433 TEST_F(GeneratedTests, roi_align_zero_sized_nhwc_quant8) {
434     execute(roi_align::CreateModel_zero_sized_nhwc_quant8,
435             roi_align::is_ignored_zero_sized_nhwc_quant8,
436             roi_align::get_examples_zero_sized_nhwc_quant8());
437 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_zero_sized_nhwc_quant8,roi_align::CreateModel_zero_sized_nhwc_quant8)438 TEST_AVAILABLE_SINCE(V1_2, roi_align_zero_sized_nhwc_quant8, roi_align::CreateModel_zero_sized_nhwc_quant8)
439 
440 TEST_F(GeneratedTests, roi_align_zero_sized_nhwc_float16) {
441     execute(roi_align::CreateModel_zero_sized_nhwc_float16,
442             roi_align::is_ignored_zero_sized_nhwc_float16,
443             roi_align::get_examples_zero_sized_nhwc_float16());
444 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_zero_sized_nhwc_float16,roi_align::CreateModel_zero_sized_nhwc_float16)445 TEST_AVAILABLE_SINCE(V1_2, roi_align_zero_sized_nhwc_float16, roi_align::CreateModel_zero_sized_nhwc_float16)
446 
447 TEST_F(GeneratedTests, roi_align_zero_sized_nchw) {
448     execute(roi_align::CreateModel_zero_sized_nchw,
449             roi_align::is_ignored_zero_sized_nchw,
450             roi_align::get_examples_zero_sized_nchw());
451 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_zero_sized_nchw,roi_align::CreateModel_zero_sized_nchw)452 TEST_AVAILABLE_SINCE(V1_2, roi_align_zero_sized_nchw, roi_align::CreateModel_zero_sized_nchw)
453 
454 TEST_F(GeneratedTests, roi_align_zero_sized_nchw_relaxed) {
455     execute(roi_align::CreateModel_zero_sized_nchw_relaxed,
456             roi_align::is_ignored_zero_sized_nchw_relaxed,
457             roi_align::get_examples_zero_sized_nchw_relaxed());
458 }
459 
TEST_F(GeneratedTests,roi_align_zero_sized_nchw_quant8)460 TEST_F(GeneratedTests, roi_align_zero_sized_nchw_quant8) {
461     execute(roi_align::CreateModel_zero_sized_nchw_quant8,
462             roi_align::is_ignored_zero_sized_nchw_quant8,
463             roi_align::get_examples_zero_sized_nchw_quant8());
464 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_zero_sized_nchw_quant8,roi_align::CreateModel_zero_sized_nchw_quant8)465 TEST_AVAILABLE_SINCE(V1_2, roi_align_zero_sized_nchw_quant8, roi_align::CreateModel_zero_sized_nchw_quant8)
466 
467 TEST_F(GeneratedTests, roi_align_zero_sized_nchw_float16) {
468     execute(roi_align::CreateModel_zero_sized_nchw_float16,
469             roi_align::is_ignored_zero_sized_nchw_float16,
470             roi_align::get_examples_zero_sized_nchw_float16());
471 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_zero_sized_nchw_float16,roi_align::CreateModel_zero_sized_nchw_float16)472 TEST_AVAILABLE_SINCE(V1_2, roi_align_zero_sized_nchw_float16, roi_align::CreateModel_zero_sized_nchw_float16)
473 
474 TEST_F(DynamicOutputShapeTest, roi_align_zero_sized_dynamic_output_shape_nhwc) {
475     execute(roi_align::CreateModel_zero_sized_dynamic_output_shape_nhwc,
476             roi_align::is_ignored_zero_sized_dynamic_output_shape_nhwc,
477             roi_align::get_examples_zero_sized_dynamic_output_shape_nhwc());
478 }
479 
TEST_F(DynamicOutputShapeTest,roi_align_zero_sized_dynamic_output_shape_nhwc_relaxed)480 TEST_F(DynamicOutputShapeTest, roi_align_zero_sized_dynamic_output_shape_nhwc_relaxed) {
481     execute(roi_align::CreateModel_zero_sized_dynamic_output_shape_nhwc_relaxed,
482             roi_align::is_ignored_zero_sized_dynamic_output_shape_nhwc_relaxed,
483             roi_align::get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed());
484 }
485 
TEST_F(DynamicOutputShapeTest,roi_align_zero_sized_dynamic_output_shape_nhwc_quant8)486 TEST_F(DynamicOutputShapeTest, roi_align_zero_sized_dynamic_output_shape_nhwc_quant8) {
487     execute(roi_align::CreateModel_zero_sized_dynamic_output_shape_nhwc_quant8,
488             roi_align::is_ignored_zero_sized_dynamic_output_shape_nhwc_quant8,
489             roi_align::get_examples_zero_sized_dynamic_output_shape_nhwc_quant8());
490 }
491 
TEST_F(DynamicOutputShapeTest,roi_align_zero_sized_dynamic_output_shape_nhwc_float16)492 TEST_F(DynamicOutputShapeTest, roi_align_zero_sized_dynamic_output_shape_nhwc_float16) {
493     execute(roi_align::CreateModel_zero_sized_dynamic_output_shape_nhwc_float16,
494             roi_align::is_ignored_zero_sized_dynamic_output_shape_nhwc_float16,
495             roi_align::get_examples_zero_sized_dynamic_output_shape_nhwc_float16());
496 }
497 
TEST_F(DynamicOutputShapeTest,roi_align_zero_sized_dynamic_output_shape_nchw)498 TEST_F(DynamicOutputShapeTest, roi_align_zero_sized_dynamic_output_shape_nchw) {
499     execute(roi_align::CreateModel_zero_sized_dynamic_output_shape_nchw,
500             roi_align::is_ignored_zero_sized_dynamic_output_shape_nchw,
501             roi_align::get_examples_zero_sized_dynamic_output_shape_nchw());
502 }
503 
TEST_F(DynamicOutputShapeTest,roi_align_zero_sized_dynamic_output_shape_nchw_relaxed)504 TEST_F(DynamicOutputShapeTest, roi_align_zero_sized_dynamic_output_shape_nchw_relaxed) {
505     execute(roi_align::CreateModel_zero_sized_dynamic_output_shape_nchw_relaxed,
506             roi_align::is_ignored_zero_sized_dynamic_output_shape_nchw_relaxed,
507             roi_align::get_examples_zero_sized_dynamic_output_shape_nchw_relaxed());
508 }
509 
TEST_F(DynamicOutputShapeTest,roi_align_zero_sized_dynamic_output_shape_nchw_quant8)510 TEST_F(DynamicOutputShapeTest, roi_align_zero_sized_dynamic_output_shape_nchw_quant8) {
511     execute(roi_align::CreateModel_zero_sized_dynamic_output_shape_nchw_quant8,
512             roi_align::is_ignored_zero_sized_dynamic_output_shape_nchw_quant8,
513             roi_align::get_examples_zero_sized_dynamic_output_shape_nchw_quant8());
514 }
515 
TEST_F(DynamicOutputShapeTest,roi_align_zero_sized_dynamic_output_shape_nchw_float16)516 TEST_F(DynamicOutputShapeTest, roi_align_zero_sized_dynamic_output_shape_nchw_float16) {
517     execute(roi_align::CreateModel_zero_sized_dynamic_output_shape_nchw_float16,
518             roi_align::is_ignored_zero_sized_dynamic_output_shape_nchw_float16,
519             roi_align::get_examples_zero_sized_dynamic_output_shape_nchw_float16());
520 }
521 
TEST_F(GeneratedTests,roi_align_nhwc_5)522 TEST_F(GeneratedTests, roi_align_nhwc_5) {
523     execute(roi_align::CreateModel_nhwc_5,
524             roi_align::is_ignored_nhwc_5,
525             roi_align::get_examples_nhwc_5());
526 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_5,roi_align::CreateModel_nhwc_5)527 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_5, roi_align::CreateModel_nhwc_5)
528 
529 TEST_F(GeneratedTests, roi_align_nhwc_relaxed_5) {
530     execute(roi_align::CreateModel_nhwc_relaxed_5,
531             roi_align::is_ignored_nhwc_relaxed_5,
532             roi_align::get_examples_nhwc_relaxed_5());
533 }
534 
TEST_F(GeneratedTests,roi_align_nhwc_quant8_5)535 TEST_F(GeneratedTests, roi_align_nhwc_quant8_5) {
536     execute(roi_align::CreateModel_nhwc_quant8_5,
537             roi_align::is_ignored_nhwc_quant8_5,
538             roi_align::get_examples_nhwc_quant8_5());
539 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_quant8_5,roi_align::CreateModel_nhwc_quant8_5)540 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_quant8_5, roi_align::CreateModel_nhwc_quant8_5)
541 
542 TEST_F(GeneratedTests, roi_align_nhwc_float16_5) {
543     execute(roi_align::CreateModel_nhwc_float16_5,
544             roi_align::is_ignored_nhwc_float16_5,
545             roi_align::get_examples_nhwc_float16_5());
546 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nhwc_float16_5,roi_align::CreateModel_nhwc_float16_5)547 TEST_AVAILABLE_SINCE(V1_2, roi_align_nhwc_float16_5, roi_align::CreateModel_nhwc_float16_5)
548 
549 TEST_F(GeneratedTests, roi_align_nchw_5) {
550     execute(roi_align::CreateModel_nchw_5,
551             roi_align::is_ignored_nchw_5,
552             roi_align::get_examples_nchw_5());
553 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_5,roi_align::CreateModel_nchw_5)554 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_5, roi_align::CreateModel_nchw_5)
555 
556 TEST_F(GeneratedTests, roi_align_nchw_relaxed_5) {
557     execute(roi_align::CreateModel_nchw_relaxed_5,
558             roi_align::is_ignored_nchw_relaxed_5,
559             roi_align::get_examples_nchw_relaxed_5());
560 }
561 
TEST_F(GeneratedTests,roi_align_nchw_quant8_5)562 TEST_F(GeneratedTests, roi_align_nchw_quant8_5) {
563     execute(roi_align::CreateModel_nchw_quant8_5,
564             roi_align::is_ignored_nchw_quant8_5,
565             roi_align::get_examples_nchw_quant8_5());
566 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_quant8_5,roi_align::CreateModel_nchw_quant8_5)567 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_quant8_5, roi_align::CreateModel_nchw_quant8_5)
568 
569 TEST_F(GeneratedTests, roi_align_nchw_float16_5) {
570     execute(roi_align::CreateModel_nchw_float16_5,
571             roi_align::is_ignored_nchw_float16_5,
572             roi_align::get_examples_nchw_float16_5());
573 }
TEST_AVAILABLE_SINCE(V1_2,roi_align_nchw_float16_5,roi_align::CreateModel_nchw_float16_5)574 TEST_AVAILABLE_SINCE(V1_2, roi_align_nchw_float16_5, roi_align::CreateModel_nchw_float16_5)
575 
576 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_5) {
577     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_5,
578             roi_align::is_ignored_dynamic_output_shape_nhwc_5,
579             roi_align::get_examples_dynamic_output_shape_nhwc_5());
580 }
581 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_relaxed_5)582 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_relaxed_5) {
583     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_relaxed_5,
584             roi_align::is_ignored_dynamic_output_shape_nhwc_relaxed_5,
585             roi_align::get_examples_dynamic_output_shape_nhwc_relaxed_5());
586 }
587 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_quant8_5)588 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_quant8_5) {
589     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_quant8_5,
590             roi_align::is_ignored_dynamic_output_shape_nhwc_quant8_5,
591             roi_align::get_examples_dynamic_output_shape_nhwc_quant8_5());
592 }
593 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nhwc_float16_5)594 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nhwc_float16_5) {
595     execute(roi_align::CreateModel_dynamic_output_shape_nhwc_float16_5,
596             roi_align::is_ignored_dynamic_output_shape_nhwc_float16_5,
597             roi_align::get_examples_dynamic_output_shape_nhwc_float16_5());
598 }
599 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_5)600 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_5) {
601     execute(roi_align::CreateModel_dynamic_output_shape_nchw_5,
602             roi_align::is_ignored_dynamic_output_shape_nchw_5,
603             roi_align::get_examples_dynamic_output_shape_nchw_5());
604 }
605 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_relaxed_5)606 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_relaxed_5) {
607     execute(roi_align::CreateModel_dynamic_output_shape_nchw_relaxed_5,
608             roi_align::is_ignored_dynamic_output_shape_nchw_relaxed_5,
609             roi_align::get_examples_dynamic_output_shape_nchw_relaxed_5());
610 }
611 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_quant8_5)612 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_quant8_5) {
613     execute(roi_align::CreateModel_dynamic_output_shape_nchw_quant8_5,
614             roi_align::is_ignored_dynamic_output_shape_nchw_quant8_5,
615             roi_align::get_examples_dynamic_output_shape_nchw_quant8_5());
616 }
617 
TEST_F(DynamicOutputShapeTest,roi_align_dynamic_output_shape_nchw_float16_5)618 TEST_F(DynamicOutputShapeTest, roi_align_dynamic_output_shape_nchw_float16_5) {
619     execute(roi_align::CreateModel_dynamic_output_shape_nchw_float16_5,
620             roi_align::is_ignored_dynamic_output_shape_nchw_float16_5,
621             roi_align::get_examples_dynamic_output_shape_nchw_float16_5());
622 }
623 
624