1 // clang-format off
2 // Generated file (from: conv2d_v1_2.mod.py). Do not edit
get_examples_nhwc()3 std::vector<MixedTypedExample>& get_examples_nhwc() {
4 static std::vector<MixedTypedExample> examples_nhwc = {
5 // Begin of an example
6 {
7 .operands = {
8 //Input(s)
9 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10 // int -> Dimensions map
11 .operandDimensions = {{0, {1, 3, 3, 1}}},
12 // int -> FLOAT32 map
13 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}},
14 // int -> INT32 map
15 .int32Operands = {},
16 // int -> QUANT8_ASYMM map
17 .quant8AsymmOperands = {},
18 // int -> QUANT16_SYMM map
19 .quant16SymmOperands = {},
20 // int -> FLOAT16 map
21 .float16Operands = {},
22 // int -> BOOL8 map
23 .bool8Operands = {},
24 // int -> QUANT8_SYMM_PER_CHANNEL map
25 .quant8ChannelOperands = {},
26 // int -> QUANT16_ASYMM map
27 .quant16AsymmOperands = {},
28 // int -> QUANT8_SYMM map
29 .quant8SymmOperands = {},
30 },
31 //Output(s)
32 { // See tools/test_generator/include/TestHarness.h:MixedTyped
33 // int -> Dimensions map
34 .operandDimensions = {{0, {1, 2, 2, 1}}},
35 // int -> FLOAT32 map
36 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
37 // int -> INT32 map
38 .int32Operands = {},
39 // int -> QUANT8_ASYMM map
40 .quant8AsymmOperands = {},
41 // int -> QUANT16_SYMM map
42 .quant16SymmOperands = {},
43 // int -> FLOAT16 map
44 .float16Operands = {},
45 // int -> BOOL8 map
46 .bool8Operands = {},
47 // int -> QUANT8_SYMM_PER_CHANNEL map
48 .quant8ChannelOperands = {},
49 // int -> QUANT16_ASYMM map
50 .quant16AsymmOperands = {},
51 // int -> QUANT8_SYMM map
52 .quant8SymmOperands = {},
53 }
54 },
55 }, // End of an example
56 };
57 return examples_nhwc;
58 };
59
get_examples_nhwc_relaxed()60 std::vector<MixedTypedExample>& get_examples_nhwc_relaxed() {
61 static std::vector<MixedTypedExample> examples_nhwc_relaxed = {
62 // Begin of an example
63 {
64 .operands = {
65 //Input(s)
66 { // See tools/test_generator/include/TestHarness.h:MixedTyped
67 // int -> Dimensions map
68 .operandDimensions = {{0, {1, 3, 3, 1}}},
69 // int -> FLOAT32 map
70 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}},
71 // int -> INT32 map
72 .int32Operands = {},
73 // int -> QUANT8_ASYMM map
74 .quant8AsymmOperands = {},
75 // int -> QUANT16_SYMM map
76 .quant16SymmOperands = {},
77 // int -> FLOAT16 map
78 .float16Operands = {},
79 // int -> BOOL8 map
80 .bool8Operands = {},
81 // int -> QUANT8_SYMM_PER_CHANNEL map
82 .quant8ChannelOperands = {},
83 // int -> QUANT16_ASYMM map
84 .quant16AsymmOperands = {},
85 // int -> QUANT8_SYMM map
86 .quant8SymmOperands = {},
87 },
88 //Output(s)
89 { // See tools/test_generator/include/TestHarness.h:MixedTyped
90 // int -> Dimensions map
91 .operandDimensions = {{0, {1, 2, 2, 1}}},
92 // int -> FLOAT32 map
93 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
94 // int -> INT32 map
95 .int32Operands = {},
96 // int -> QUANT8_ASYMM map
97 .quant8AsymmOperands = {},
98 // int -> QUANT16_SYMM map
99 .quant16SymmOperands = {},
100 // int -> FLOAT16 map
101 .float16Operands = {},
102 // int -> BOOL8 map
103 .bool8Operands = {},
104 // int -> QUANT8_SYMM_PER_CHANNEL map
105 .quant8ChannelOperands = {},
106 // int -> QUANT16_ASYMM map
107 .quant16AsymmOperands = {},
108 // int -> QUANT8_SYMM map
109 .quant8SymmOperands = {},
110 }
111 },
112 }, // End of an example
113 };
114 return examples_nhwc_relaxed;
115 };
116
get_examples_nhwc_quant8()117 std::vector<MixedTypedExample>& get_examples_nhwc_quant8() {
118 static std::vector<MixedTypedExample> examples_nhwc_quant8 = {
119 // Begin of an example
120 {
121 .operands = {
122 //Input(s)
123 { // See tools/test_generator/include/TestHarness.h:MixedTyped
124 // int -> Dimensions map
125 .operandDimensions = {{0, {1, 3, 3, 1}}},
126 // int -> FLOAT32 map
127 .float32Operands = {},
128 // int -> INT32 map
129 .int32Operands = {},
130 // int -> QUANT8_ASYMM map
131 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}},
132 // int -> QUANT16_SYMM map
133 .quant16SymmOperands = {},
134 // int -> FLOAT16 map
135 .float16Operands = {},
136 // int -> BOOL8 map
137 .bool8Operands = {},
138 // int -> QUANT8_SYMM_PER_CHANNEL map
139 .quant8ChannelOperands = {},
140 // int -> QUANT16_ASYMM map
141 .quant16AsymmOperands = {},
142 // int -> QUANT8_SYMM map
143 .quant8SymmOperands = {},
144 },
145 //Output(s)
146 { // See tools/test_generator/include/TestHarness.h:MixedTyped
147 // int -> Dimensions map
148 .operandDimensions = {{0, {1, 2, 2, 1}}},
149 // int -> FLOAT32 map
150 .float32Operands = {},
151 // int -> INT32 map
152 .int32Operands = {},
153 // int -> QUANT8_ASYMM map
154 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
155 // int -> QUANT16_SYMM map
156 .quant16SymmOperands = {},
157 // int -> FLOAT16 map
158 .float16Operands = {},
159 // int -> BOOL8 map
160 .bool8Operands = {},
161 // int -> QUANT8_SYMM_PER_CHANNEL map
162 .quant8ChannelOperands = {},
163 // int -> QUANT16_ASYMM map
164 .quant16AsymmOperands = {},
165 // int -> QUANT8_SYMM map
166 .quant8SymmOperands = {},
167 }
168 },
169 }, // End of an example
170 };
171 return examples_nhwc_quant8;
172 };
173
get_examples_nhwc_channelQuant8()174 std::vector<MixedTypedExample>& get_examples_nhwc_channelQuant8() {
175 static std::vector<MixedTypedExample> examples_nhwc_channelQuant8 = {
176 // Begin of an example
177 {
178 .operands = {
179 //Input(s)
180 { // See tools/test_generator/include/TestHarness.h:MixedTyped
181 // int -> Dimensions map
182 .operandDimensions = {{0, {1, 3, 3, 1}}},
183 // int -> FLOAT32 map
184 .float32Operands = {},
185 // int -> INT32 map
186 .int32Operands = {},
187 // int -> QUANT8_ASYMM map
188 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}},
189 // int -> QUANT16_SYMM map
190 .quant16SymmOperands = {},
191 // int -> FLOAT16 map
192 .float16Operands = {},
193 // int -> BOOL8 map
194 .bool8Operands = {},
195 // int -> QUANT8_SYMM_PER_CHANNEL map
196 .quant8ChannelOperands = {},
197 // int -> QUANT16_ASYMM map
198 .quant16AsymmOperands = {},
199 // int -> QUANT8_SYMM map
200 .quant8SymmOperands = {},
201 },
202 //Output(s)
203 { // See tools/test_generator/include/TestHarness.h:MixedTyped
204 // int -> Dimensions map
205 .operandDimensions = {{0, {1, 2, 2, 1}}},
206 // int -> FLOAT32 map
207 .float32Operands = {},
208 // int -> INT32 map
209 .int32Operands = {},
210 // int -> QUANT8_ASYMM map
211 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
212 // int -> QUANT16_SYMM map
213 .quant16SymmOperands = {},
214 // int -> FLOAT16 map
215 .float16Operands = {},
216 // int -> BOOL8 map
217 .bool8Operands = {},
218 // int -> QUANT8_SYMM_PER_CHANNEL map
219 .quant8ChannelOperands = {},
220 // int -> QUANT16_ASYMM map
221 .quant16AsymmOperands = {},
222 // int -> QUANT8_SYMM map
223 .quant8SymmOperands = {},
224 }
225 },
226 }, // End of an example
227 };
228 return examples_nhwc_channelQuant8;
229 };
230
get_examples_nhwc_float16()231 std::vector<MixedTypedExample>& get_examples_nhwc_float16() {
232 static std::vector<MixedTypedExample> examples_nhwc_float16 = {
233 // Begin of an example
234 {
235 .operands = {
236 //Input(s)
237 { // See tools/test_generator/include/TestHarness.h:MixedTyped
238 // int -> Dimensions map
239 .operandDimensions = {{0, {1, 3, 3, 1}}},
240 // int -> FLOAT32 map
241 .float32Operands = {},
242 // int -> INT32 map
243 .int32Operands = {},
244 // int -> QUANT8_ASYMM map
245 .quant8AsymmOperands = {},
246 // int -> QUANT16_SYMM map
247 .quant16SymmOperands = {},
248 // int -> FLOAT16 map
249 .float16Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}},
250 // int -> BOOL8 map
251 .bool8Operands = {},
252 // int -> QUANT8_SYMM_PER_CHANNEL map
253 .quant8ChannelOperands = {},
254 // int -> QUANT16_ASYMM map
255 .quant16AsymmOperands = {},
256 // int -> QUANT8_SYMM map
257 .quant8SymmOperands = {},
258 },
259 //Output(s)
260 { // See tools/test_generator/include/TestHarness.h:MixedTyped
261 // int -> Dimensions map
262 .operandDimensions = {{0, {1, 2, 2, 1}}},
263 // int -> FLOAT32 map
264 .float32Operands = {},
265 // int -> INT32 map
266 .int32Operands = {},
267 // int -> QUANT8_ASYMM map
268 .quant8AsymmOperands = {},
269 // int -> QUANT16_SYMM map
270 .quant16SymmOperands = {},
271 // int -> FLOAT16 map
272 .float16Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
273 // int -> BOOL8 map
274 .bool8Operands = {},
275 // int -> QUANT8_SYMM_PER_CHANNEL map
276 .quant8ChannelOperands = {},
277 // int -> QUANT16_ASYMM map
278 .quant16AsymmOperands = {},
279 // int -> QUANT8_SYMM map
280 .quant8SymmOperands = {},
281 }
282 },
283 }, // End of an example
284 };
285 return examples_nhwc_float16;
286 };
287
get_examples_nhwc_weight_as_input()288 std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input() {
289 static std::vector<MixedTypedExample> examples_nhwc_weight_as_input = {
290 // Begin of an example
291 {
292 .operands = {
293 //Input(s)
294 { // See tools/test_generator/include/TestHarness.h:MixedTyped
295 // int -> Dimensions map
296 .operandDimensions = {{0, {1, 3, 3, 1}}, {1, {1, 2, 2, 1}}, {2, {1}}},
297 // int -> FLOAT32 map
298 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}, {1, {0.25f, 0.25f, 0.25f, 0.25f}}, {2, {0.0f}}},
299 // int -> INT32 map
300 .int32Operands = {},
301 // int -> QUANT8_ASYMM map
302 .quant8AsymmOperands = {},
303 // int -> QUANT16_SYMM map
304 .quant16SymmOperands = {},
305 // int -> FLOAT16 map
306 .float16Operands = {},
307 // int -> BOOL8 map
308 .bool8Operands = {},
309 // int -> QUANT8_SYMM_PER_CHANNEL map
310 .quant8ChannelOperands = {},
311 // int -> QUANT16_ASYMM map
312 .quant16AsymmOperands = {},
313 // int -> QUANT8_SYMM map
314 .quant8SymmOperands = {},
315 },
316 //Output(s)
317 { // See tools/test_generator/include/TestHarness.h:MixedTyped
318 // int -> Dimensions map
319 .operandDimensions = {{0, {1, 2, 2, 1}}},
320 // int -> FLOAT32 map
321 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
322 // int -> INT32 map
323 .int32Operands = {},
324 // int -> QUANT8_ASYMM map
325 .quant8AsymmOperands = {},
326 // int -> QUANT16_SYMM map
327 .quant16SymmOperands = {},
328 // int -> FLOAT16 map
329 .float16Operands = {},
330 // int -> BOOL8 map
331 .bool8Operands = {},
332 // int -> QUANT8_SYMM_PER_CHANNEL map
333 .quant8ChannelOperands = {},
334 // int -> QUANT16_ASYMM map
335 .quant16AsymmOperands = {},
336 // int -> QUANT8_SYMM map
337 .quant8SymmOperands = {},
338 }
339 },
340 }, // End of an example
341 };
342 return examples_nhwc_weight_as_input;
343 };
344
get_examples_nhwc_weight_as_input_relaxed()345 std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input_relaxed() {
346 static std::vector<MixedTypedExample> examples_nhwc_weight_as_input_relaxed = {
347 // Begin of an example
348 {
349 .operands = {
350 //Input(s)
351 { // See tools/test_generator/include/TestHarness.h:MixedTyped
352 // int -> Dimensions map
353 .operandDimensions = {{0, {1, 3, 3, 1}}, {1, {1, 2, 2, 1}}, {2, {1}}},
354 // int -> FLOAT32 map
355 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}, {1, {0.25f, 0.25f, 0.25f, 0.25f}}, {2, {0.0f}}},
356 // int -> INT32 map
357 .int32Operands = {},
358 // int -> QUANT8_ASYMM map
359 .quant8AsymmOperands = {},
360 // int -> QUANT16_SYMM map
361 .quant16SymmOperands = {},
362 // int -> FLOAT16 map
363 .float16Operands = {},
364 // int -> BOOL8 map
365 .bool8Operands = {},
366 // int -> QUANT8_SYMM_PER_CHANNEL map
367 .quant8ChannelOperands = {},
368 // int -> QUANT16_ASYMM map
369 .quant16AsymmOperands = {},
370 // int -> QUANT8_SYMM map
371 .quant8SymmOperands = {},
372 },
373 //Output(s)
374 { // See tools/test_generator/include/TestHarness.h:MixedTyped
375 // int -> Dimensions map
376 .operandDimensions = {{0, {1, 2, 2, 1}}},
377 // int -> FLOAT32 map
378 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
379 // int -> INT32 map
380 .int32Operands = {},
381 // int -> QUANT8_ASYMM map
382 .quant8AsymmOperands = {},
383 // int -> QUANT16_SYMM map
384 .quant16SymmOperands = {},
385 // int -> FLOAT16 map
386 .float16Operands = {},
387 // int -> BOOL8 map
388 .bool8Operands = {},
389 // int -> QUANT8_SYMM_PER_CHANNEL map
390 .quant8ChannelOperands = {},
391 // int -> QUANT16_ASYMM map
392 .quant16AsymmOperands = {},
393 // int -> QUANT8_SYMM map
394 .quant8SymmOperands = {},
395 }
396 },
397 }, // End of an example
398 };
399 return examples_nhwc_weight_as_input_relaxed;
400 };
401
get_examples_nhwc_weight_as_input_quant8()402 std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input_quant8() {
403 static std::vector<MixedTypedExample> examples_nhwc_weight_as_input_quant8 = {
404 // Begin of an example
405 {
406 .operands = {
407 //Input(s)
408 { // See tools/test_generator/include/TestHarness.h:MixedTyped
409 // int -> Dimensions map
410 .operandDimensions = {{0, {1, 3, 3, 1}}, {1, {1, 2, 2, 1}}, {2, {1}}},
411 // int -> FLOAT32 map
412 .float32Operands = {},
413 // int -> INT32 map
414 .int32Operands = {{2, {0}}},
415 // int -> QUANT8_ASYMM map
416 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}, {1, {2, 2, 2, 2}}},
417 // int -> QUANT16_SYMM map
418 .quant16SymmOperands = {},
419 // int -> FLOAT16 map
420 .float16Operands = {},
421 // int -> BOOL8 map
422 .bool8Operands = {},
423 // int -> QUANT8_SYMM_PER_CHANNEL map
424 .quant8ChannelOperands = {},
425 // int -> QUANT16_ASYMM map
426 .quant16AsymmOperands = {},
427 // int -> QUANT8_SYMM map
428 .quant8SymmOperands = {},
429 },
430 //Output(s)
431 { // See tools/test_generator/include/TestHarness.h:MixedTyped
432 // int -> Dimensions map
433 .operandDimensions = {{0, {1, 2, 2, 1}}},
434 // int -> FLOAT32 map
435 .float32Operands = {},
436 // int -> INT32 map
437 .int32Operands = {},
438 // int -> QUANT8_ASYMM map
439 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
440 // int -> QUANT16_SYMM map
441 .quant16SymmOperands = {},
442 // int -> FLOAT16 map
443 .float16Operands = {},
444 // int -> BOOL8 map
445 .bool8Operands = {},
446 // int -> QUANT8_SYMM_PER_CHANNEL map
447 .quant8ChannelOperands = {},
448 // int -> QUANT16_ASYMM map
449 .quant16AsymmOperands = {},
450 // int -> QUANT8_SYMM map
451 .quant8SymmOperands = {},
452 }
453 },
454 }, // End of an example
455 };
456 return examples_nhwc_weight_as_input_quant8;
457 };
458
get_examples_nhwc_weight_as_input_channelQuant8()459 std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input_channelQuant8() {
460 static std::vector<MixedTypedExample> examples_nhwc_weight_as_input_channelQuant8 = {
461 // Begin of an example
462 {
463 .operands = {
464 //Input(s)
465 { // See tools/test_generator/include/TestHarness.h:MixedTyped
466 // int -> Dimensions map
467 .operandDimensions = {{0, {1, 3, 3, 1}}, {1, {1, 2, 2, 1}}, {2, {1}}},
468 // int -> FLOAT32 map
469 .float32Operands = {},
470 // int -> INT32 map
471 .int32Operands = {{2, {0}}},
472 // int -> QUANT8_ASYMM map
473 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}},
474 // int -> QUANT16_SYMM map
475 .quant16SymmOperands = {},
476 // int -> FLOAT16 map
477 .float16Operands = {},
478 // int -> BOOL8 map
479 .bool8Operands = {},
480 // int -> QUANT8_SYMM_PER_CHANNEL map
481 .quant8ChannelOperands = {{1, {2, 2, 2, 2}}},
482 // int -> QUANT16_ASYMM map
483 .quant16AsymmOperands = {},
484 // int -> QUANT8_SYMM map
485 .quant8SymmOperands = {},
486 },
487 //Output(s)
488 { // See tools/test_generator/include/TestHarness.h:MixedTyped
489 // int -> Dimensions map
490 .operandDimensions = {{0, {1, 2, 2, 1}}},
491 // int -> FLOAT32 map
492 .float32Operands = {},
493 // int -> INT32 map
494 .int32Operands = {},
495 // int -> QUANT8_ASYMM map
496 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
497 // int -> QUANT16_SYMM map
498 .quant16SymmOperands = {},
499 // int -> FLOAT16 map
500 .float16Operands = {},
501 // int -> BOOL8 map
502 .bool8Operands = {},
503 // int -> QUANT8_SYMM_PER_CHANNEL map
504 .quant8ChannelOperands = {},
505 // int -> QUANT16_ASYMM map
506 .quant16AsymmOperands = {},
507 // int -> QUANT8_SYMM map
508 .quant8SymmOperands = {},
509 }
510 },
511 }, // End of an example
512 };
513 return examples_nhwc_weight_as_input_channelQuant8;
514 };
515
get_examples_nhwc_weight_as_input_float16()516 std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input_float16() {
517 static std::vector<MixedTypedExample> examples_nhwc_weight_as_input_float16 = {
518 // Begin of an example
519 {
520 .operands = {
521 //Input(s)
522 { // See tools/test_generator/include/TestHarness.h:MixedTyped
523 // int -> Dimensions map
524 .operandDimensions = {{0, {1, 3, 3, 1}}, {1, {1, 2, 2, 1}}, {2, {1}}},
525 // int -> FLOAT32 map
526 .float32Operands = {},
527 // int -> INT32 map
528 .int32Operands = {},
529 // int -> QUANT8_ASYMM map
530 .quant8AsymmOperands = {},
531 // int -> QUANT16_SYMM map
532 .quant16SymmOperands = {},
533 // int -> FLOAT16 map
534 .float16Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}, {1, {0.25f, 0.25f, 0.25f, 0.25f}}, {2, {0.0f}}},
535 // int -> BOOL8 map
536 .bool8Operands = {},
537 // int -> QUANT8_SYMM_PER_CHANNEL map
538 .quant8ChannelOperands = {},
539 // int -> QUANT16_ASYMM map
540 .quant16AsymmOperands = {},
541 // int -> QUANT8_SYMM map
542 .quant8SymmOperands = {},
543 },
544 //Output(s)
545 { // See tools/test_generator/include/TestHarness.h:MixedTyped
546 // int -> Dimensions map
547 .operandDimensions = {{0, {1, 2, 2, 1}}},
548 // int -> FLOAT32 map
549 .float32Operands = {},
550 // int -> INT32 map
551 .int32Operands = {},
552 // int -> QUANT8_ASYMM map
553 .quant8AsymmOperands = {},
554 // int -> QUANT16_SYMM map
555 .quant16SymmOperands = {},
556 // int -> FLOAT16 map
557 .float16Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
558 // int -> BOOL8 map
559 .bool8Operands = {},
560 // int -> QUANT8_SYMM_PER_CHANNEL map
561 .quant8ChannelOperands = {},
562 // int -> QUANT16_ASYMM map
563 .quant16AsymmOperands = {},
564 // int -> QUANT8_SYMM map
565 .quant8SymmOperands = {},
566 }
567 },
568 }, // End of an example
569 };
570 return examples_nhwc_weight_as_input_float16;
571 };
572
get_examples_nchw()573 std::vector<MixedTypedExample>& get_examples_nchw() {
574 static std::vector<MixedTypedExample> examples_nchw = {
575 // Begin of an example
576 {
577 .operands = {
578 //Input(s)
579 { // See tools/test_generator/include/TestHarness.h:MixedTyped
580 // int -> Dimensions map
581 .operandDimensions = {{0, {1, 1, 3, 3}}},
582 // int -> FLOAT32 map
583 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}},
584 // int -> INT32 map
585 .int32Operands = {},
586 // int -> QUANT8_ASYMM map
587 .quant8AsymmOperands = {},
588 // int -> QUANT16_SYMM map
589 .quant16SymmOperands = {},
590 // int -> FLOAT16 map
591 .float16Operands = {},
592 // int -> BOOL8 map
593 .bool8Operands = {},
594 // int -> QUANT8_SYMM_PER_CHANNEL map
595 .quant8ChannelOperands = {},
596 // int -> QUANT16_ASYMM map
597 .quant16AsymmOperands = {},
598 // int -> QUANT8_SYMM map
599 .quant8SymmOperands = {},
600 },
601 //Output(s)
602 { // See tools/test_generator/include/TestHarness.h:MixedTyped
603 // int -> Dimensions map
604 .operandDimensions = {{0, {1, 1, 2, 2}}},
605 // int -> FLOAT32 map
606 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
607 // int -> INT32 map
608 .int32Operands = {},
609 // int -> QUANT8_ASYMM map
610 .quant8AsymmOperands = {},
611 // int -> QUANT16_SYMM map
612 .quant16SymmOperands = {},
613 // int -> FLOAT16 map
614 .float16Operands = {},
615 // int -> BOOL8 map
616 .bool8Operands = {},
617 // int -> QUANT8_SYMM_PER_CHANNEL map
618 .quant8ChannelOperands = {},
619 // int -> QUANT16_ASYMM map
620 .quant16AsymmOperands = {},
621 // int -> QUANT8_SYMM map
622 .quant8SymmOperands = {},
623 }
624 },
625 }, // End of an example
626 };
627 return examples_nchw;
628 };
629
get_examples_nchw_relaxed()630 std::vector<MixedTypedExample>& get_examples_nchw_relaxed() {
631 static std::vector<MixedTypedExample> examples_nchw_relaxed = {
632 // Begin of an example
633 {
634 .operands = {
635 //Input(s)
636 { // See tools/test_generator/include/TestHarness.h:MixedTyped
637 // int -> Dimensions map
638 .operandDimensions = {{0, {1, 1, 3, 3}}},
639 // int -> FLOAT32 map
640 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}},
641 // int -> INT32 map
642 .int32Operands = {},
643 // int -> QUANT8_ASYMM map
644 .quant8AsymmOperands = {},
645 // int -> QUANT16_SYMM map
646 .quant16SymmOperands = {},
647 // int -> FLOAT16 map
648 .float16Operands = {},
649 // int -> BOOL8 map
650 .bool8Operands = {},
651 // int -> QUANT8_SYMM_PER_CHANNEL map
652 .quant8ChannelOperands = {},
653 // int -> QUANT16_ASYMM map
654 .quant16AsymmOperands = {},
655 // int -> QUANT8_SYMM map
656 .quant8SymmOperands = {},
657 },
658 //Output(s)
659 { // See tools/test_generator/include/TestHarness.h:MixedTyped
660 // int -> Dimensions map
661 .operandDimensions = {{0, {1, 1, 2, 2}}},
662 // int -> FLOAT32 map
663 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
664 // int -> INT32 map
665 .int32Operands = {},
666 // int -> QUANT8_ASYMM map
667 .quant8AsymmOperands = {},
668 // int -> QUANT16_SYMM map
669 .quant16SymmOperands = {},
670 // int -> FLOAT16 map
671 .float16Operands = {},
672 // int -> BOOL8 map
673 .bool8Operands = {},
674 // int -> QUANT8_SYMM_PER_CHANNEL map
675 .quant8ChannelOperands = {},
676 // int -> QUANT16_ASYMM map
677 .quant16AsymmOperands = {},
678 // int -> QUANT8_SYMM map
679 .quant8SymmOperands = {},
680 }
681 },
682 }, // End of an example
683 };
684 return examples_nchw_relaxed;
685 };
686
get_examples_nchw_quant8()687 std::vector<MixedTypedExample>& get_examples_nchw_quant8() {
688 static std::vector<MixedTypedExample> examples_nchw_quant8 = {
689 // Begin of an example
690 {
691 .operands = {
692 //Input(s)
693 { // See tools/test_generator/include/TestHarness.h:MixedTyped
694 // int -> Dimensions map
695 .operandDimensions = {{0, {1, 1, 3, 3}}},
696 // int -> FLOAT32 map
697 .float32Operands = {},
698 // int -> INT32 map
699 .int32Operands = {},
700 // int -> QUANT8_ASYMM map
701 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}},
702 // int -> QUANT16_SYMM map
703 .quant16SymmOperands = {},
704 // int -> FLOAT16 map
705 .float16Operands = {},
706 // int -> BOOL8 map
707 .bool8Operands = {},
708 // int -> QUANT8_SYMM_PER_CHANNEL map
709 .quant8ChannelOperands = {},
710 // int -> QUANT16_ASYMM map
711 .quant16AsymmOperands = {},
712 // int -> QUANT8_SYMM map
713 .quant8SymmOperands = {},
714 },
715 //Output(s)
716 { // See tools/test_generator/include/TestHarness.h:MixedTyped
717 // int -> Dimensions map
718 .operandDimensions = {{0, {1, 1, 2, 2}}},
719 // int -> FLOAT32 map
720 .float32Operands = {},
721 // int -> INT32 map
722 .int32Operands = {},
723 // int -> QUANT8_ASYMM map
724 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
725 // int -> QUANT16_SYMM map
726 .quant16SymmOperands = {},
727 // int -> FLOAT16 map
728 .float16Operands = {},
729 // int -> BOOL8 map
730 .bool8Operands = {},
731 // int -> QUANT8_SYMM_PER_CHANNEL map
732 .quant8ChannelOperands = {},
733 // int -> QUANT16_ASYMM map
734 .quant16AsymmOperands = {},
735 // int -> QUANT8_SYMM map
736 .quant8SymmOperands = {},
737 }
738 },
739 }, // End of an example
740 };
741 return examples_nchw_quant8;
742 };
743
get_examples_nchw_channelQuant8()744 std::vector<MixedTypedExample>& get_examples_nchw_channelQuant8() {
745 static std::vector<MixedTypedExample> examples_nchw_channelQuant8 = {
746 // Begin of an example
747 {
748 .operands = {
749 //Input(s)
750 { // See tools/test_generator/include/TestHarness.h:MixedTyped
751 // int -> Dimensions map
752 .operandDimensions = {{0, {1, 1, 3, 3}}},
753 // int -> FLOAT32 map
754 .float32Operands = {},
755 // int -> INT32 map
756 .int32Operands = {},
757 // int -> QUANT8_ASYMM map
758 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}},
759 // int -> QUANT16_SYMM map
760 .quant16SymmOperands = {},
761 // int -> FLOAT16 map
762 .float16Operands = {},
763 // int -> BOOL8 map
764 .bool8Operands = {},
765 // int -> QUANT8_SYMM_PER_CHANNEL map
766 .quant8ChannelOperands = {},
767 // int -> QUANT16_ASYMM map
768 .quant16AsymmOperands = {},
769 // int -> QUANT8_SYMM map
770 .quant8SymmOperands = {},
771 },
772 //Output(s)
773 { // See tools/test_generator/include/TestHarness.h:MixedTyped
774 // int -> Dimensions map
775 .operandDimensions = {{0, {1, 1, 2, 2}}},
776 // int -> FLOAT32 map
777 .float32Operands = {},
778 // int -> INT32 map
779 .int32Operands = {},
780 // int -> QUANT8_ASYMM map
781 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
782 // int -> QUANT16_SYMM map
783 .quant16SymmOperands = {},
784 // int -> FLOAT16 map
785 .float16Operands = {},
786 // int -> BOOL8 map
787 .bool8Operands = {},
788 // int -> QUANT8_SYMM_PER_CHANNEL map
789 .quant8ChannelOperands = {},
790 // int -> QUANT16_ASYMM map
791 .quant16AsymmOperands = {},
792 // int -> QUANT8_SYMM map
793 .quant8SymmOperands = {},
794 }
795 },
796 }, // End of an example
797 };
798 return examples_nchw_channelQuant8;
799 };
800
get_examples_nchw_float16()801 std::vector<MixedTypedExample>& get_examples_nchw_float16() {
802 static std::vector<MixedTypedExample> examples_nchw_float16 = {
803 // Begin of an example
804 {
805 .operands = {
806 //Input(s)
807 { // See tools/test_generator/include/TestHarness.h:MixedTyped
808 // int -> Dimensions map
809 .operandDimensions = {{0, {1, 1, 3, 3}}},
810 // int -> FLOAT32 map
811 .float32Operands = {},
812 // int -> INT32 map
813 .int32Operands = {},
814 // int -> QUANT8_ASYMM map
815 .quant8AsymmOperands = {},
816 // int -> QUANT16_SYMM map
817 .quant16SymmOperands = {},
818 // int -> FLOAT16 map
819 .float16Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}},
820 // int -> BOOL8 map
821 .bool8Operands = {},
822 // int -> QUANT8_SYMM_PER_CHANNEL map
823 .quant8ChannelOperands = {},
824 // int -> QUANT16_ASYMM map
825 .quant16AsymmOperands = {},
826 // int -> QUANT8_SYMM map
827 .quant8SymmOperands = {},
828 },
829 //Output(s)
830 { // See tools/test_generator/include/TestHarness.h:MixedTyped
831 // int -> Dimensions map
832 .operandDimensions = {{0, {1, 1, 2, 2}}},
833 // int -> FLOAT32 map
834 .float32Operands = {},
835 // int -> INT32 map
836 .int32Operands = {},
837 // int -> QUANT8_ASYMM map
838 .quant8AsymmOperands = {},
839 // int -> QUANT16_SYMM map
840 .quant16SymmOperands = {},
841 // int -> FLOAT16 map
842 .float16Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
843 // int -> BOOL8 map
844 .bool8Operands = {},
845 // int -> QUANT8_SYMM_PER_CHANNEL map
846 .quant8ChannelOperands = {},
847 // int -> QUANT16_ASYMM map
848 .quant16AsymmOperands = {},
849 // int -> QUANT8_SYMM map
850 .quant8SymmOperands = {},
851 }
852 },
853 }, // End of an example
854 };
855 return examples_nchw_float16;
856 };
857
get_examples_nchw_weight_as_input()858 std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input() {
859 static std::vector<MixedTypedExample> examples_nchw_weight_as_input = {
860 // Begin of an example
861 {
862 .operands = {
863 //Input(s)
864 { // See tools/test_generator/include/TestHarness.h:MixedTyped
865 // int -> Dimensions map
866 .operandDimensions = {{0, {1, 1, 3, 3}}, {1, {1, 2, 2, 1}}, {2, {1}}},
867 // int -> FLOAT32 map
868 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}, {1, {0.25f, 0.25f, 0.25f, 0.25f}}, {2, {0.0f}}},
869 // int -> INT32 map
870 .int32Operands = {},
871 // int -> QUANT8_ASYMM map
872 .quant8AsymmOperands = {},
873 // int -> QUANT16_SYMM map
874 .quant16SymmOperands = {},
875 // int -> FLOAT16 map
876 .float16Operands = {},
877 // int -> BOOL8 map
878 .bool8Operands = {},
879 // int -> QUANT8_SYMM_PER_CHANNEL map
880 .quant8ChannelOperands = {},
881 // int -> QUANT16_ASYMM map
882 .quant16AsymmOperands = {},
883 // int -> QUANT8_SYMM map
884 .quant8SymmOperands = {},
885 },
886 //Output(s)
887 { // See tools/test_generator/include/TestHarness.h:MixedTyped
888 // int -> Dimensions map
889 .operandDimensions = {{0, {1, 1, 2, 2}}},
890 // int -> FLOAT32 map
891 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
892 // int -> INT32 map
893 .int32Operands = {},
894 // int -> QUANT8_ASYMM map
895 .quant8AsymmOperands = {},
896 // int -> QUANT16_SYMM map
897 .quant16SymmOperands = {},
898 // int -> FLOAT16 map
899 .float16Operands = {},
900 // int -> BOOL8 map
901 .bool8Operands = {},
902 // int -> QUANT8_SYMM_PER_CHANNEL map
903 .quant8ChannelOperands = {},
904 // int -> QUANT16_ASYMM map
905 .quant16AsymmOperands = {},
906 // int -> QUANT8_SYMM map
907 .quant8SymmOperands = {},
908 }
909 },
910 }, // End of an example
911 };
912 return examples_nchw_weight_as_input;
913 };
914
get_examples_nchw_weight_as_input_relaxed()915 std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input_relaxed() {
916 static std::vector<MixedTypedExample> examples_nchw_weight_as_input_relaxed = {
917 // Begin of an example
918 {
919 .operands = {
920 //Input(s)
921 { // See tools/test_generator/include/TestHarness.h:MixedTyped
922 // int -> Dimensions map
923 .operandDimensions = {{0, {1, 1, 3, 3}}, {1, {1, 2, 2, 1}}, {2, {1}}},
924 // int -> FLOAT32 map
925 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}, {1, {0.25f, 0.25f, 0.25f, 0.25f}}, {2, {0.0f}}},
926 // int -> INT32 map
927 .int32Operands = {},
928 // int -> QUANT8_ASYMM map
929 .quant8AsymmOperands = {},
930 // int -> QUANT16_SYMM map
931 .quant16SymmOperands = {},
932 // int -> FLOAT16 map
933 .float16Operands = {},
934 // int -> BOOL8 map
935 .bool8Operands = {},
936 // int -> QUANT8_SYMM_PER_CHANNEL map
937 .quant8ChannelOperands = {},
938 // int -> QUANT16_ASYMM map
939 .quant16AsymmOperands = {},
940 // int -> QUANT8_SYMM map
941 .quant8SymmOperands = {},
942 },
943 //Output(s)
944 { // See tools/test_generator/include/TestHarness.h:MixedTyped
945 // int -> Dimensions map
946 .operandDimensions = {{0, {1, 1, 2, 2}}},
947 // int -> FLOAT32 map
948 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
949 // int -> INT32 map
950 .int32Operands = {},
951 // int -> QUANT8_ASYMM map
952 .quant8AsymmOperands = {},
953 // int -> QUANT16_SYMM map
954 .quant16SymmOperands = {},
955 // int -> FLOAT16 map
956 .float16Operands = {},
957 // int -> BOOL8 map
958 .bool8Operands = {},
959 // int -> QUANT8_SYMM_PER_CHANNEL map
960 .quant8ChannelOperands = {},
961 // int -> QUANT16_ASYMM map
962 .quant16AsymmOperands = {},
963 // int -> QUANT8_SYMM map
964 .quant8SymmOperands = {},
965 }
966 },
967 }, // End of an example
968 };
969 return examples_nchw_weight_as_input_relaxed;
970 };
971
get_examples_nchw_weight_as_input_quant8()972 std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input_quant8() {
973 static std::vector<MixedTypedExample> examples_nchw_weight_as_input_quant8 = {
974 // Begin of an example
975 {
976 .operands = {
977 //Input(s)
978 { // See tools/test_generator/include/TestHarness.h:MixedTyped
979 // int -> Dimensions map
980 .operandDimensions = {{0, {1, 1, 3, 3}}, {1, {1, 2, 2, 1}}, {2, {1}}},
981 // int -> FLOAT32 map
982 .float32Operands = {},
983 // int -> INT32 map
984 .int32Operands = {{2, {0}}},
985 // int -> QUANT8_ASYMM map
986 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}, {1, {2, 2, 2, 2}}},
987 // int -> QUANT16_SYMM map
988 .quant16SymmOperands = {},
989 // int -> FLOAT16 map
990 .float16Operands = {},
991 // int -> BOOL8 map
992 .bool8Operands = {},
993 // int -> QUANT8_SYMM_PER_CHANNEL map
994 .quant8ChannelOperands = {},
995 // int -> QUANT16_ASYMM map
996 .quant16AsymmOperands = {},
997 // int -> QUANT8_SYMM map
998 .quant8SymmOperands = {},
999 },
1000 //Output(s)
1001 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1002 // int -> Dimensions map
1003 .operandDimensions = {{0, {1, 1, 2, 2}}},
1004 // int -> FLOAT32 map
1005 .float32Operands = {},
1006 // int -> INT32 map
1007 .int32Operands = {},
1008 // int -> QUANT8_ASYMM map
1009 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
1010 // int -> QUANT16_SYMM map
1011 .quant16SymmOperands = {},
1012 // int -> FLOAT16 map
1013 .float16Operands = {},
1014 // int -> BOOL8 map
1015 .bool8Operands = {},
1016 // int -> QUANT8_SYMM_PER_CHANNEL map
1017 .quant8ChannelOperands = {},
1018 // int -> QUANT16_ASYMM map
1019 .quant16AsymmOperands = {},
1020 // int -> QUANT8_SYMM map
1021 .quant8SymmOperands = {},
1022 }
1023 },
1024 }, // End of an example
1025 };
1026 return examples_nchw_weight_as_input_quant8;
1027 };
1028
get_examples_nchw_weight_as_input_channelQuant8()1029 std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input_channelQuant8() {
1030 static std::vector<MixedTypedExample> examples_nchw_weight_as_input_channelQuant8 = {
1031 // Begin of an example
1032 {
1033 .operands = {
1034 //Input(s)
1035 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1036 // int -> Dimensions map
1037 .operandDimensions = {{0, {1, 1, 3, 3}}, {1, {1, 2, 2, 1}}, {2, {1}}},
1038 // int -> FLOAT32 map
1039 .float32Operands = {},
1040 // int -> INT32 map
1041 .int32Operands = {{2, {0}}},
1042 // int -> QUANT8_ASYMM map
1043 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}},
1044 // int -> QUANT16_SYMM map
1045 .quant16SymmOperands = {},
1046 // int -> FLOAT16 map
1047 .float16Operands = {},
1048 // int -> BOOL8 map
1049 .bool8Operands = {},
1050 // int -> QUANT8_SYMM_PER_CHANNEL map
1051 .quant8ChannelOperands = {{1, {2, 2, 2, 2}}},
1052 // int -> QUANT16_ASYMM map
1053 .quant16AsymmOperands = {},
1054 // int -> QUANT8_SYMM map
1055 .quant8SymmOperands = {},
1056 },
1057 //Output(s)
1058 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1059 // int -> Dimensions map
1060 .operandDimensions = {{0, {1, 1, 2, 2}}},
1061 // int -> FLOAT32 map
1062 .float32Operands = {},
1063 // int -> INT32 map
1064 .int32Operands = {},
1065 // int -> QUANT8_ASYMM map
1066 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
1067 // int -> QUANT16_SYMM map
1068 .quant16SymmOperands = {},
1069 // int -> FLOAT16 map
1070 .float16Operands = {},
1071 // int -> BOOL8 map
1072 .bool8Operands = {},
1073 // int -> QUANT8_SYMM_PER_CHANNEL map
1074 .quant8ChannelOperands = {},
1075 // int -> QUANT16_ASYMM map
1076 .quant16AsymmOperands = {},
1077 // int -> QUANT8_SYMM map
1078 .quant8SymmOperands = {},
1079 }
1080 },
1081 }, // End of an example
1082 };
1083 return examples_nchw_weight_as_input_channelQuant8;
1084 };
1085
get_examples_nchw_weight_as_input_float16()1086 std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input_float16() {
1087 static std::vector<MixedTypedExample> examples_nchw_weight_as_input_float16 = {
1088 // Begin of an example
1089 {
1090 .operands = {
1091 //Input(s)
1092 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1093 // int -> Dimensions map
1094 .operandDimensions = {{0, {1, 1, 3, 3}}, {1, {1, 2, 2, 1}}, {2, {1}}},
1095 // int -> FLOAT32 map
1096 .float32Operands = {},
1097 // int -> INT32 map
1098 .int32Operands = {},
1099 // int -> QUANT8_ASYMM map
1100 .quant8AsymmOperands = {},
1101 // int -> QUANT16_SYMM map
1102 .quant16SymmOperands = {},
1103 // int -> FLOAT16 map
1104 .float16Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}, {1, {0.25f, 0.25f, 0.25f, 0.25f}}, {2, {0.0f}}},
1105 // int -> BOOL8 map
1106 .bool8Operands = {},
1107 // int -> QUANT8_SYMM_PER_CHANNEL map
1108 .quant8ChannelOperands = {},
1109 // int -> QUANT16_ASYMM map
1110 .quant16AsymmOperands = {},
1111 // int -> QUANT8_SYMM map
1112 .quant8SymmOperands = {},
1113 },
1114 //Output(s)
1115 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1116 // int -> Dimensions map
1117 .operandDimensions = {{0, {1, 1, 2, 2}}},
1118 // int -> FLOAT32 map
1119 .float32Operands = {},
1120 // int -> INT32 map
1121 .int32Operands = {},
1122 // int -> QUANT8_ASYMM map
1123 .quant8AsymmOperands = {},
1124 // int -> QUANT16_SYMM map
1125 .quant16SymmOperands = {},
1126 // int -> FLOAT16 map
1127 .float16Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
1128 // int -> BOOL8 map
1129 .bool8Operands = {},
1130 // int -> QUANT8_SYMM_PER_CHANNEL map
1131 .quant8ChannelOperands = {},
1132 // int -> QUANT16_ASYMM map
1133 .quant16AsymmOperands = {},
1134 // int -> QUANT8_SYMM map
1135 .quant8SymmOperands = {},
1136 }
1137 },
1138 }, // End of an example
1139 };
1140 return examples_nchw_weight_as_input_float16;
1141 };
1142
get_examples_dynamic_output_shape_nhwc()1143 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc() {
1144 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc = {
1145 // Begin of an example
1146 {
1147 .operands = {
1148 //Input(s)
1149 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1150 // int -> Dimensions map
1151 .operandDimensions = {{0, {1, 3, 3, 1}}},
1152 // int -> FLOAT32 map
1153 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}},
1154 // int -> INT32 map
1155 .int32Operands = {},
1156 // int -> QUANT8_ASYMM map
1157 .quant8AsymmOperands = {},
1158 // int -> QUANT16_SYMM map
1159 .quant16SymmOperands = {},
1160 // int -> FLOAT16 map
1161 .float16Operands = {},
1162 // int -> BOOL8 map
1163 .bool8Operands = {},
1164 // int -> QUANT8_SYMM_PER_CHANNEL map
1165 .quant8ChannelOperands = {},
1166 // int -> QUANT16_ASYMM map
1167 .quant16AsymmOperands = {},
1168 // int -> QUANT8_SYMM map
1169 .quant8SymmOperands = {},
1170 },
1171 //Output(s)
1172 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1173 // int -> Dimensions map
1174 .operandDimensions = {{0, {1, 2, 2, 1}}},
1175 // int -> FLOAT32 map
1176 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
1177 // int -> INT32 map
1178 .int32Operands = {},
1179 // int -> QUANT8_ASYMM map
1180 .quant8AsymmOperands = {},
1181 // int -> QUANT16_SYMM map
1182 .quant16SymmOperands = {},
1183 // int -> FLOAT16 map
1184 .float16Operands = {},
1185 // int -> BOOL8 map
1186 .bool8Operands = {},
1187 // int -> QUANT8_SYMM_PER_CHANNEL map
1188 .quant8ChannelOperands = {},
1189 // int -> QUANT16_ASYMM map
1190 .quant16AsymmOperands = {},
1191 // int -> QUANT8_SYMM map
1192 .quant8SymmOperands = {},
1193 }
1194 },
1195 }, // End of an example
1196 };
1197 return examples_dynamic_output_shape_nhwc;
1198 };
1199
get_examples_dynamic_output_shape_nhwc_relaxed()1200 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_relaxed() {
1201 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_relaxed = {
1202 // Begin of an example
1203 {
1204 .operands = {
1205 //Input(s)
1206 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1207 // int -> Dimensions map
1208 .operandDimensions = {{0, {1, 3, 3, 1}}},
1209 // int -> FLOAT32 map
1210 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}},
1211 // int -> INT32 map
1212 .int32Operands = {},
1213 // int -> QUANT8_ASYMM map
1214 .quant8AsymmOperands = {},
1215 // int -> QUANT16_SYMM map
1216 .quant16SymmOperands = {},
1217 // int -> FLOAT16 map
1218 .float16Operands = {},
1219 // int -> BOOL8 map
1220 .bool8Operands = {},
1221 // int -> QUANT8_SYMM_PER_CHANNEL map
1222 .quant8ChannelOperands = {},
1223 // int -> QUANT16_ASYMM map
1224 .quant16AsymmOperands = {},
1225 // int -> QUANT8_SYMM map
1226 .quant8SymmOperands = {},
1227 },
1228 //Output(s)
1229 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1230 // int -> Dimensions map
1231 .operandDimensions = {{0, {1, 2, 2, 1}}},
1232 // int -> FLOAT32 map
1233 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
1234 // int -> INT32 map
1235 .int32Operands = {},
1236 // int -> QUANT8_ASYMM map
1237 .quant8AsymmOperands = {},
1238 // int -> QUANT16_SYMM map
1239 .quant16SymmOperands = {},
1240 // int -> FLOAT16 map
1241 .float16Operands = {},
1242 // int -> BOOL8 map
1243 .bool8Operands = {},
1244 // int -> QUANT8_SYMM_PER_CHANNEL map
1245 .quant8ChannelOperands = {},
1246 // int -> QUANT16_ASYMM map
1247 .quant16AsymmOperands = {},
1248 // int -> QUANT8_SYMM map
1249 .quant8SymmOperands = {},
1250 }
1251 },
1252 }, // End of an example
1253 };
1254 return examples_dynamic_output_shape_nhwc_relaxed;
1255 };
1256
get_examples_dynamic_output_shape_nhwc_quant8()1257 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_quant8() {
1258 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_quant8 = {
1259 // Begin of an example
1260 {
1261 .operands = {
1262 //Input(s)
1263 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1264 // int -> Dimensions map
1265 .operandDimensions = {{0, {1, 3, 3, 1}}},
1266 // int -> FLOAT32 map
1267 .float32Operands = {},
1268 // int -> INT32 map
1269 .int32Operands = {},
1270 // int -> QUANT8_ASYMM map
1271 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}},
1272 // int -> QUANT16_SYMM map
1273 .quant16SymmOperands = {},
1274 // int -> FLOAT16 map
1275 .float16Operands = {},
1276 // int -> BOOL8 map
1277 .bool8Operands = {},
1278 // int -> QUANT8_SYMM_PER_CHANNEL map
1279 .quant8ChannelOperands = {},
1280 // int -> QUANT16_ASYMM map
1281 .quant16AsymmOperands = {},
1282 // int -> QUANT8_SYMM map
1283 .quant8SymmOperands = {},
1284 },
1285 //Output(s)
1286 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1287 // int -> Dimensions map
1288 .operandDimensions = {{0, {1, 2, 2, 1}}},
1289 // int -> FLOAT32 map
1290 .float32Operands = {},
1291 // int -> INT32 map
1292 .int32Operands = {},
1293 // int -> QUANT8_ASYMM map
1294 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
1295 // int -> QUANT16_SYMM map
1296 .quant16SymmOperands = {},
1297 // int -> FLOAT16 map
1298 .float16Operands = {},
1299 // int -> BOOL8 map
1300 .bool8Operands = {},
1301 // int -> QUANT8_SYMM_PER_CHANNEL map
1302 .quant8ChannelOperands = {},
1303 // int -> QUANT16_ASYMM map
1304 .quant16AsymmOperands = {},
1305 // int -> QUANT8_SYMM map
1306 .quant8SymmOperands = {},
1307 }
1308 },
1309 }, // End of an example
1310 };
1311 return examples_dynamic_output_shape_nhwc_quant8;
1312 };
1313
get_examples_dynamic_output_shape_nhwc_channelQuant8()1314 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_channelQuant8() {
1315 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_channelQuant8 = {
1316 // Begin of an example
1317 {
1318 .operands = {
1319 //Input(s)
1320 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1321 // int -> Dimensions map
1322 .operandDimensions = {{0, {1, 3, 3, 1}}},
1323 // int -> FLOAT32 map
1324 .float32Operands = {},
1325 // int -> INT32 map
1326 .int32Operands = {},
1327 // int -> QUANT8_ASYMM map
1328 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}},
1329 // int -> QUANT16_SYMM map
1330 .quant16SymmOperands = {},
1331 // int -> FLOAT16 map
1332 .float16Operands = {},
1333 // int -> BOOL8 map
1334 .bool8Operands = {},
1335 // int -> QUANT8_SYMM_PER_CHANNEL map
1336 .quant8ChannelOperands = {},
1337 // int -> QUANT16_ASYMM map
1338 .quant16AsymmOperands = {},
1339 // int -> QUANT8_SYMM map
1340 .quant8SymmOperands = {},
1341 },
1342 //Output(s)
1343 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1344 // int -> Dimensions map
1345 .operandDimensions = {{0, {1, 2, 2, 1}}},
1346 // int -> FLOAT32 map
1347 .float32Operands = {},
1348 // int -> INT32 map
1349 .int32Operands = {},
1350 // int -> QUANT8_ASYMM map
1351 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
1352 // int -> QUANT16_SYMM map
1353 .quant16SymmOperands = {},
1354 // int -> FLOAT16 map
1355 .float16Operands = {},
1356 // int -> BOOL8 map
1357 .bool8Operands = {},
1358 // int -> QUANT8_SYMM_PER_CHANNEL map
1359 .quant8ChannelOperands = {},
1360 // int -> QUANT16_ASYMM map
1361 .quant16AsymmOperands = {},
1362 // int -> QUANT8_SYMM map
1363 .quant8SymmOperands = {},
1364 }
1365 },
1366 }, // End of an example
1367 };
1368 return examples_dynamic_output_shape_nhwc_channelQuant8;
1369 };
1370
get_examples_dynamic_output_shape_nhwc_float16()1371 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_float16() {
1372 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_float16 = {
1373 // Begin of an example
1374 {
1375 .operands = {
1376 //Input(s)
1377 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1378 // int -> Dimensions map
1379 .operandDimensions = {{0, {1, 3, 3, 1}}},
1380 // int -> FLOAT32 map
1381 .float32Operands = {},
1382 // int -> INT32 map
1383 .int32Operands = {},
1384 // int -> QUANT8_ASYMM map
1385 .quant8AsymmOperands = {},
1386 // int -> QUANT16_SYMM map
1387 .quant16SymmOperands = {},
1388 // int -> FLOAT16 map
1389 .float16Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}},
1390 // int -> BOOL8 map
1391 .bool8Operands = {},
1392 // int -> QUANT8_SYMM_PER_CHANNEL map
1393 .quant8ChannelOperands = {},
1394 // int -> QUANT16_ASYMM map
1395 .quant16AsymmOperands = {},
1396 // int -> QUANT8_SYMM map
1397 .quant8SymmOperands = {},
1398 },
1399 //Output(s)
1400 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1401 // int -> Dimensions map
1402 .operandDimensions = {{0, {1, 2, 2, 1}}},
1403 // int -> FLOAT32 map
1404 .float32Operands = {},
1405 // int -> INT32 map
1406 .int32Operands = {},
1407 // int -> QUANT8_ASYMM map
1408 .quant8AsymmOperands = {},
1409 // int -> QUANT16_SYMM map
1410 .quant16SymmOperands = {},
1411 // int -> FLOAT16 map
1412 .float16Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
1413 // int -> BOOL8 map
1414 .bool8Operands = {},
1415 // int -> QUANT8_SYMM_PER_CHANNEL map
1416 .quant8ChannelOperands = {},
1417 // int -> QUANT16_ASYMM map
1418 .quant16AsymmOperands = {},
1419 // int -> QUANT8_SYMM map
1420 .quant8SymmOperands = {},
1421 }
1422 },
1423 }, // End of an example
1424 };
1425 return examples_dynamic_output_shape_nhwc_float16;
1426 };
1427
get_examples_dynamic_output_shape_nhwc_weight_as_input()1428 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_weight_as_input() {
1429 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_weight_as_input = {
1430 // Begin of an example
1431 {
1432 .operands = {
1433 //Input(s)
1434 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1435 // int -> Dimensions map
1436 .operandDimensions = {{0, {1, 3, 3, 1}}, {1, {1, 2, 2, 1}}, {2, {1}}},
1437 // int -> FLOAT32 map
1438 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}, {1, {0.25f, 0.25f, 0.25f, 0.25f}}, {2, {0.0f}}},
1439 // int -> INT32 map
1440 .int32Operands = {},
1441 // int -> QUANT8_ASYMM map
1442 .quant8AsymmOperands = {},
1443 // int -> QUANT16_SYMM map
1444 .quant16SymmOperands = {},
1445 // int -> FLOAT16 map
1446 .float16Operands = {},
1447 // int -> BOOL8 map
1448 .bool8Operands = {},
1449 // int -> QUANT8_SYMM_PER_CHANNEL map
1450 .quant8ChannelOperands = {},
1451 // int -> QUANT16_ASYMM map
1452 .quant16AsymmOperands = {},
1453 // int -> QUANT8_SYMM map
1454 .quant8SymmOperands = {},
1455 },
1456 //Output(s)
1457 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1458 // int -> Dimensions map
1459 .operandDimensions = {{0, {1, 2, 2, 1}}},
1460 // int -> FLOAT32 map
1461 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
1462 // int -> INT32 map
1463 .int32Operands = {},
1464 // int -> QUANT8_ASYMM map
1465 .quant8AsymmOperands = {},
1466 // int -> QUANT16_SYMM map
1467 .quant16SymmOperands = {},
1468 // int -> FLOAT16 map
1469 .float16Operands = {},
1470 // int -> BOOL8 map
1471 .bool8Operands = {},
1472 // int -> QUANT8_SYMM_PER_CHANNEL map
1473 .quant8ChannelOperands = {},
1474 // int -> QUANT16_ASYMM map
1475 .quant16AsymmOperands = {},
1476 // int -> QUANT8_SYMM map
1477 .quant8SymmOperands = {},
1478 }
1479 },
1480 }, // End of an example
1481 };
1482 return examples_dynamic_output_shape_nhwc_weight_as_input;
1483 };
1484
get_examples_dynamic_output_shape_nhwc_weight_as_input_relaxed()1485 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_weight_as_input_relaxed() {
1486 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_weight_as_input_relaxed = {
1487 // Begin of an example
1488 {
1489 .operands = {
1490 //Input(s)
1491 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1492 // int -> Dimensions map
1493 .operandDimensions = {{0, {1, 3, 3, 1}}, {1, {1, 2, 2, 1}}, {2, {1}}},
1494 // int -> FLOAT32 map
1495 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}, {1, {0.25f, 0.25f, 0.25f, 0.25f}}, {2, {0.0f}}},
1496 // int -> INT32 map
1497 .int32Operands = {},
1498 // int -> QUANT8_ASYMM map
1499 .quant8AsymmOperands = {},
1500 // int -> QUANT16_SYMM map
1501 .quant16SymmOperands = {},
1502 // int -> FLOAT16 map
1503 .float16Operands = {},
1504 // int -> BOOL8 map
1505 .bool8Operands = {},
1506 // int -> QUANT8_SYMM_PER_CHANNEL map
1507 .quant8ChannelOperands = {},
1508 // int -> QUANT16_ASYMM map
1509 .quant16AsymmOperands = {},
1510 // int -> QUANT8_SYMM map
1511 .quant8SymmOperands = {},
1512 },
1513 //Output(s)
1514 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1515 // int -> Dimensions map
1516 .operandDimensions = {{0, {1, 2, 2, 1}}},
1517 // int -> FLOAT32 map
1518 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
1519 // int -> INT32 map
1520 .int32Operands = {},
1521 // int -> QUANT8_ASYMM map
1522 .quant8AsymmOperands = {},
1523 // int -> QUANT16_SYMM map
1524 .quant16SymmOperands = {},
1525 // int -> FLOAT16 map
1526 .float16Operands = {},
1527 // int -> BOOL8 map
1528 .bool8Operands = {},
1529 // int -> QUANT8_SYMM_PER_CHANNEL map
1530 .quant8ChannelOperands = {},
1531 // int -> QUANT16_ASYMM map
1532 .quant16AsymmOperands = {},
1533 // int -> QUANT8_SYMM map
1534 .quant8SymmOperands = {},
1535 }
1536 },
1537 }, // End of an example
1538 };
1539 return examples_dynamic_output_shape_nhwc_weight_as_input_relaxed;
1540 };
1541
get_examples_dynamic_output_shape_nhwc_weight_as_input_quant8()1542 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_weight_as_input_quant8() {
1543 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_weight_as_input_quant8 = {
1544 // Begin of an example
1545 {
1546 .operands = {
1547 //Input(s)
1548 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1549 // int -> Dimensions map
1550 .operandDimensions = {{0, {1, 3, 3, 1}}, {1, {1, 2, 2, 1}}, {2, {1}}},
1551 // int -> FLOAT32 map
1552 .float32Operands = {},
1553 // int -> INT32 map
1554 .int32Operands = {{2, {0}}},
1555 // int -> QUANT8_ASYMM map
1556 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}, {1, {2, 2, 2, 2}}},
1557 // int -> QUANT16_SYMM map
1558 .quant16SymmOperands = {},
1559 // int -> FLOAT16 map
1560 .float16Operands = {},
1561 // int -> BOOL8 map
1562 .bool8Operands = {},
1563 // int -> QUANT8_SYMM_PER_CHANNEL map
1564 .quant8ChannelOperands = {},
1565 // int -> QUANT16_ASYMM map
1566 .quant16AsymmOperands = {},
1567 // int -> QUANT8_SYMM map
1568 .quant8SymmOperands = {},
1569 },
1570 //Output(s)
1571 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1572 // int -> Dimensions map
1573 .operandDimensions = {{0, {1, 2, 2, 1}}},
1574 // int -> FLOAT32 map
1575 .float32Operands = {},
1576 // int -> INT32 map
1577 .int32Operands = {},
1578 // int -> QUANT8_ASYMM map
1579 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
1580 // int -> QUANT16_SYMM map
1581 .quant16SymmOperands = {},
1582 // int -> FLOAT16 map
1583 .float16Operands = {},
1584 // int -> BOOL8 map
1585 .bool8Operands = {},
1586 // int -> QUANT8_SYMM_PER_CHANNEL map
1587 .quant8ChannelOperands = {},
1588 // int -> QUANT16_ASYMM map
1589 .quant16AsymmOperands = {},
1590 // int -> QUANT8_SYMM map
1591 .quant8SymmOperands = {},
1592 }
1593 },
1594 }, // End of an example
1595 };
1596 return examples_dynamic_output_shape_nhwc_weight_as_input_quant8;
1597 };
1598
get_examples_dynamic_output_shape_nhwc_weight_as_input_channelQuant8()1599 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_weight_as_input_channelQuant8() {
1600 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_weight_as_input_channelQuant8 = {
1601 // Begin of an example
1602 {
1603 .operands = {
1604 //Input(s)
1605 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1606 // int -> Dimensions map
1607 .operandDimensions = {{0, {1, 3, 3, 1}}, {1, {1, 2, 2, 1}}, {2, {1}}},
1608 // int -> FLOAT32 map
1609 .float32Operands = {},
1610 // int -> INT32 map
1611 .int32Operands = {{2, {0}}},
1612 // int -> QUANT8_ASYMM map
1613 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}},
1614 // int -> QUANT16_SYMM map
1615 .quant16SymmOperands = {},
1616 // int -> FLOAT16 map
1617 .float16Operands = {},
1618 // int -> BOOL8 map
1619 .bool8Operands = {},
1620 // int -> QUANT8_SYMM_PER_CHANNEL map
1621 .quant8ChannelOperands = {{1, {2, 2, 2, 2}}},
1622 // int -> QUANT16_ASYMM map
1623 .quant16AsymmOperands = {},
1624 // int -> QUANT8_SYMM map
1625 .quant8SymmOperands = {},
1626 },
1627 //Output(s)
1628 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1629 // int -> Dimensions map
1630 .operandDimensions = {{0, {1, 2, 2, 1}}},
1631 // int -> FLOAT32 map
1632 .float32Operands = {},
1633 // int -> INT32 map
1634 .int32Operands = {},
1635 // int -> QUANT8_ASYMM map
1636 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
1637 // int -> QUANT16_SYMM map
1638 .quant16SymmOperands = {},
1639 // int -> FLOAT16 map
1640 .float16Operands = {},
1641 // int -> BOOL8 map
1642 .bool8Operands = {},
1643 // int -> QUANT8_SYMM_PER_CHANNEL map
1644 .quant8ChannelOperands = {},
1645 // int -> QUANT16_ASYMM map
1646 .quant16AsymmOperands = {},
1647 // int -> QUANT8_SYMM map
1648 .quant8SymmOperands = {},
1649 }
1650 },
1651 }, // End of an example
1652 };
1653 return examples_dynamic_output_shape_nhwc_weight_as_input_channelQuant8;
1654 };
1655
get_examples_dynamic_output_shape_nhwc_weight_as_input_float16()1656 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_weight_as_input_float16() {
1657 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_weight_as_input_float16 = {
1658 // Begin of an example
1659 {
1660 .operands = {
1661 //Input(s)
1662 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1663 // int -> Dimensions map
1664 .operandDimensions = {{0, {1, 3, 3, 1}}, {1, {1, 2, 2, 1}}, {2, {1}}},
1665 // int -> FLOAT32 map
1666 .float32Operands = {},
1667 // int -> INT32 map
1668 .int32Operands = {},
1669 // int -> QUANT8_ASYMM map
1670 .quant8AsymmOperands = {},
1671 // int -> QUANT16_SYMM map
1672 .quant16SymmOperands = {},
1673 // int -> FLOAT16 map
1674 .float16Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}, {1, {0.25f, 0.25f, 0.25f, 0.25f}}, {2, {0.0f}}},
1675 // int -> BOOL8 map
1676 .bool8Operands = {},
1677 // int -> QUANT8_SYMM_PER_CHANNEL map
1678 .quant8ChannelOperands = {},
1679 // int -> QUANT16_ASYMM map
1680 .quant16AsymmOperands = {},
1681 // int -> QUANT8_SYMM map
1682 .quant8SymmOperands = {},
1683 },
1684 //Output(s)
1685 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1686 // int -> Dimensions map
1687 .operandDimensions = {{0, {1, 2, 2, 1}}},
1688 // int -> FLOAT32 map
1689 .float32Operands = {},
1690 // int -> INT32 map
1691 .int32Operands = {},
1692 // int -> QUANT8_ASYMM map
1693 .quant8AsymmOperands = {},
1694 // int -> QUANT16_SYMM map
1695 .quant16SymmOperands = {},
1696 // int -> FLOAT16 map
1697 .float16Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
1698 // int -> BOOL8 map
1699 .bool8Operands = {},
1700 // int -> QUANT8_SYMM_PER_CHANNEL map
1701 .quant8ChannelOperands = {},
1702 // int -> QUANT16_ASYMM map
1703 .quant16AsymmOperands = {},
1704 // int -> QUANT8_SYMM map
1705 .quant8SymmOperands = {},
1706 }
1707 },
1708 }, // End of an example
1709 };
1710 return examples_dynamic_output_shape_nhwc_weight_as_input_float16;
1711 };
1712
get_examples_dynamic_output_shape_nchw()1713 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw() {
1714 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw = {
1715 // Begin of an example
1716 {
1717 .operands = {
1718 //Input(s)
1719 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1720 // int -> Dimensions map
1721 .operandDimensions = {{0, {1, 1, 3, 3}}},
1722 // int -> FLOAT32 map
1723 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}},
1724 // int -> INT32 map
1725 .int32Operands = {},
1726 // int -> QUANT8_ASYMM map
1727 .quant8AsymmOperands = {},
1728 // int -> QUANT16_SYMM map
1729 .quant16SymmOperands = {},
1730 // int -> FLOAT16 map
1731 .float16Operands = {},
1732 // int -> BOOL8 map
1733 .bool8Operands = {},
1734 // int -> QUANT8_SYMM_PER_CHANNEL map
1735 .quant8ChannelOperands = {},
1736 // int -> QUANT16_ASYMM map
1737 .quant16AsymmOperands = {},
1738 // int -> QUANT8_SYMM map
1739 .quant8SymmOperands = {},
1740 },
1741 //Output(s)
1742 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1743 // int -> Dimensions map
1744 .operandDimensions = {{0, {1, 1, 2, 2}}},
1745 // int -> FLOAT32 map
1746 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
1747 // int -> INT32 map
1748 .int32Operands = {},
1749 // int -> QUANT8_ASYMM map
1750 .quant8AsymmOperands = {},
1751 // int -> QUANT16_SYMM map
1752 .quant16SymmOperands = {},
1753 // int -> FLOAT16 map
1754 .float16Operands = {},
1755 // int -> BOOL8 map
1756 .bool8Operands = {},
1757 // int -> QUANT8_SYMM_PER_CHANNEL map
1758 .quant8ChannelOperands = {},
1759 // int -> QUANT16_ASYMM map
1760 .quant16AsymmOperands = {},
1761 // int -> QUANT8_SYMM map
1762 .quant8SymmOperands = {},
1763 }
1764 },
1765 }, // End of an example
1766 };
1767 return examples_dynamic_output_shape_nchw;
1768 };
1769
get_examples_dynamic_output_shape_nchw_relaxed()1770 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_relaxed() {
1771 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_relaxed = {
1772 // Begin of an example
1773 {
1774 .operands = {
1775 //Input(s)
1776 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1777 // int -> Dimensions map
1778 .operandDimensions = {{0, {1, 1, 3, 3}}},
1779 // int -> FLOAT32 map
1780 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}},
1781 // int -> INT32 map
1782 .int32Operands = {},
1783 // int -> QUANT8_ASYMM map
1784 .quant8AsymmOperands = {},
1785 // int -> QUANT16_SYMM map
1786 .quant16SymmOperands = {},
1787 // int -> FLOAT16 map
1788 .float16Operands = {},
1789 // int -> BOOL8 map
1790 .bool8Operands = {},
1791 // int -> QUANT8_SYMM_PER_CHANNEL map
1792 .quant8ChannelOperands = {},
1793 // int -> QUANT16_ASYMM map
1794 .quant16AsymmOperands = {},
1795 // int -> QUANT8_SYMM map
1796 .quant8SymmOperands = {},
1797 },
1798 //Output(s)
1799 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1800 // int -> Dimensions map
1801 .operandDimensions = {{0, {1, 1, 2, 2}}},
1802 // int -> FLOAT32 map
1803 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
1804 // int -> INT32 map
1805 .int32Operands = {},
1806 // int -> QUANT8_ASYMM map
1807 .quant8AsymmOperands = {},
1808 // int -> QUANT16_SYMM map
1809 .quant16SymmOperands = {},
1810 // int -> FLOAT16 map
1811 .float16Operands = {},
1812 // int -> BOOL8 map
1813 .bool8Operands = {},
1814 // int -> QUANT8_SYMM_PER_CHANNEL map
1815 .quant8ChannelOperands = {},
1816 // int -> QUANT16_ASYMM map
1817 .quant16AsymmOperands = {},
1818 // int -> QUANT8_SYMM map
1819 .quant8SymmOperands = {},
1820 }
1821 },
1822 }, // End of an example
1823 };
1824 return examples_dynamic_output_shape_nchw_relaxed;
1825 };
1826
get_examples_dynamic_output_shape_nchw_quant8()1827 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_quant8() {
1828 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_quant8 = {
1829 // Begin of an example
1830 {
1831 .operands = {
1832 //Input(s)
1833 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1834 // int -> Dimensions map
1835 .operandDimensions = {{0, {1, 1, 3, 3}}},
1836 // int -> FLOAT32 map
1837 .float32Operands = {},
1838 // int -> INT32 map
1839 .int32Operands = {},
1840 // int -> QUANT8_ASYMM map
1841 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}},
1842 // int -> QUANT16_SYMM map
1843 .quant16SymmOperands = {},
1844 // int -> FLOAT16 map
1845 .float16Operands = {},
1846 // int -> BOOL8 map
1847 .bool8Operands = {},
1848 // int -> QUANT8_SYMM_PER_CHANNEL map
1849 .quant8ChannelOperands = {},
1850 // int -> QUANT16_ASYMM map
1851 .quant16AsymmOperands = {},
1852 // int -> QUANT8_SYMM map
1853 .quant8SymmOperands = {},
1854 },
1855 //Output(s)
1856 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1857 // int -> Dimensions map
1858 .operandDimensions = {{0, {1, 1, 2, 2}}},
1859 // int -> FLOAT32 map
1860 .float32Operands = {},
1861 // int -> INT32 map
1862 .int32Operands = {},
1863 // int -> QUANT8_ASYMM map
1864 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
1865 // int -> QUANT16_SYMM map
1866 .quant16SymmOperands = {},
1867 // int -> FLOAT16 map
1868 .float16Operands = {},
1869 // int -> BOOL8 map
1870 .bool8Operands = {},
1871 // int -> QUANT8_SYMM_PER_CHANNEL map
1872 .quant8ChannelOperands = {},
1873 // int -> QUANT16_ASYMM map
1874 .quant16AsymmOperands = {},
1875 // int -> QUANT8_SYMM map
1876 .quant8SymmOperands = {},
1877 }
1878 },
1879 }, // End of an example
1880 };
1881 return examples_dynamic_output_shape_nchw_quant8;
1882 };
1883
get_examples_dynamic_output_shape_nchw_channelQuant8()1884 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_channelQuant8() {
1885 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_channelQuant8 = {
1886 // Begin of an example
1887 {
1888 .operands = {
1889 //Input(s)
1890 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1891 // int -> Dimensions map
1892 .operandDimensions = {{0, {1, 1, 3, 3}}},
1893 // int -> FLOAT32 map
1894 .float32Operands = {},
1895 // int -> INT32 map
1896 .int32Operands = {},
1897 // int -> QUANT8_ASYMM map
1898 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}},
1899 // int -> QUANT16_SYMM map
1900 .quant16SymmOperands = {},
1901 // int -> FLOAT16 map
1902 .float16Operands = {},
1903 // int -> BOOL8 map
1904 .bool8Operands = {},
1905 // int -> QUANT8_SYMM_PER_CHANNEL map
1906 .quant8ChannelOperands = {},
1907 // int -> QUANT16_ASYMM map
1908 .quant16AsymmOperands = {},
1909 // int -> QUANT8_SYMM map
1910 .quant8SymmOperands = {},
1911 },
1912 //Output(s)
1913 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1914 // int -> Dimensions map
1915 .operandDimensions = {{0, {1, 1, 2, 2}}},
1916 // int -> FLOAT32 map
1917 .float32Operands = {},
1918 // int -> INT32 map
1919 .int32Operands = {},
1920 // int -> QUANT8_ASYMM map
1921 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
1922 // int -> QUANT16_SYMM map
1923 .quant16SymmOperands = {},
1924 // int -> FLOAT16 map
1925 .float16Operands = {},
1926 // int -> BOOL8 map
1927 .bool8Operands = {},
1928 // int -> QUANT8_SYMM_PER_CHANNEL map
1929 .quant8ChannelOperands = {},
1930 // int -> QUANT16_ASYMM map
1931 .quant16AsymmOperands = {},
1932 // int -> QUANT8_SYMM map
1933 .quant8SymmOperands = {},
1934 }
1935 },
1936 }, // End of an example
1937 };
1938 return examples_dynamic_output_shape_nchw_channelQuant8;
1939 };
1940
get_examples_dynamic_output_shape_nchw_float16()1941 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_float16() {
1942 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_float16 = {
1943 // Begin of an example
1944 {
1945 .operands = {
1946 //Input(s)
1947 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1948 // int -> Dimensions map
1949 .operandDimensions = {{0, {1, 1, 3, 3}}},
1950 // int -> FLOAT32 map
1951 .float32Operands = {},
1952 // int -> INT32 map
1953 .int32Operands = {},
1954 // int -> QUANT8_ASYMM map
1955 .quant8AsymmOperands = {},
1956 // int -> QUANT16_SYMM map
1957 .quant16SymmOperands = {},
1958 // int -> FLOAT16 map
1959 .float16Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}},
1960 // int -> BOOL8 map
1961 .bool8Operands = {},
1962 // int -> QUANT8_SYMM_PER_CHANNEL map
1963 .quant8ChannelOperands = {},
1964 // int -> QUANT16_ASYMM map
1965 .quant16AsymmOperands = {},
1966 // int -> QUANT8_SYMM map
1967 .quant8SymmOperands = {},
1968 },
1969 //Output(s)
1970 { // See tools/test_generator/include/TestHarness.h:MixedTyped
1971 // int -> Dimensions map
1972 .operandDimensions = {{0, {1, 1, 2, 2}}},
1973 // int -> FLOAT32 map
1974 .float32Operands = {},
1975 // int -> INT32 map
1976 .int32Operands = {},
1977 // int -> QUANT8_ASYMM map
1978 .quant8AsymmOperands = {},
1979 // int -> QUANT16_SYMM map
1980 .quant16SymmOperands = {},
1981 // int -> FLOAT16 map
1982 .float16Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
1983 // int -> BOOL8 map
1984 .bool8Operands = {},
1985 // int -> QUANT8_SYMM_PER_CHANNEL map
1986 .quant8ChannelOperands = {},
1987 // int -> QUANT16_ASYMM map
1988 .quant16AsymmOperands = {},
1989 // int -> QUANT8_SYMM map
1990 .quant8SymmOperands = {},
1991 }
1992 },
1993 }, // End of an example
1994 };
1995 return examples_dynamic_output_shape_nchw_float16;
1996 };
1997
get_examples_dynamic_output_shape_nchw_weight_as_input()1998 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_weight_as_input() {
1999 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_weight_as_input = {
2000 // Begin of an example
2001 {
2002 .operands = {
2003 //Input(s)
2004 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2005 // int -> Dimensions map
2006 .operandDimensions = {{0, {1, 1, 3, 3}}, {1, {1, 2, 2, 1}}, {2, {1}}},
2007 // int -> FLOAT32 map
2008 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}, {1, {0.25f, 0.25f, 0.25f, 0.25f}}, {2, {0.0f}}},
2009 // int -> INT32 map
2010 .int32Operands = {},
2011 // int -> QUANT8_ASYMM map
2012 .quant8AsymmOperands = {},
2013 // int -> QUANT16_SYMM map
2014 .quant16SymmOperands = {},
2015 // int -> FLOAT16 map
2016 .float16Operands = {},
2017 // int -> BOOL8 map
2018 .bool8Operands = {},
2019 // int -> QUANT8_SYMM_PER_CHANNEL map
2020 .quant8ChannelOperands = {},
2021 // int -> QUANT16_ASYMM map
2022 .quant16AsymmOperands = {},
2023 // int -> QUANT8_SYMM map
2024 .quant8SymmOperands = {},
2025 },
2026 //Output(s)
2027 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2028 // int -> Dimensions map
2029 .operandDimensions = {{0, {1, 1, 2, 2}}},
2030 // int -> FLOAT32 map
2031 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
2032 // int -> INT32 map
2033 .int32Operands = {},
2034 // int -> QUANT8_ASYMM map
2035 .quant8AsymmOperands = {},
2036 // int -> QUANT16_SYMM map
2037 .quant16SymmOperands = {},
2038 // int -> FLOAT16 map
2039 .float16Operands = {},
2040 // int -> BOOL8 map
2041 .bool8Operands = {},
2042 // int -> QUANT8_SYMM_PER_CHANNEL map
2043 .quant8ChannelOperands = {},
2044 // int -> QUANT16_ASYMM map
2045 .quant16AsymmOperands = {},
2046 // int -> QUANT8_SYMM map
2047 .quant8SymmOperands = {},
2048 }
2049 },
2050 }, // End of an example
2051 };
2052 return examples_dynamic_output_shape_nchw_weight_as_input;
2053 };
2054
get_examples_dynamic_output_shape_nchw_weight_as_input_relaxed()2055 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_weight_as_input_relaxed() {
2056 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_weight_as_input_relaxed = {
2057 // Begin of an example
2058 {
2059 .operands = {
2060 //Input(s)
2061 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2062 // int -> Dimensions map
2063 .operandDimensions = {{0, {1, 1, 3, 3}}, {1, {1, 2, 2, 1}}, {2, {1}}},
2064 // int -> FLOAT32 map
2065 .float32Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}, {1, {0.25f, 0.25f, 0.25f, 0.25f}}, {2, {0.0f}}},
2066 // int -> INT32 map
2067 .int32Operands = {},
2068 // int -> QUANT8_ASYMM map
2069 .quant8AsymmOperands = {},
2070 // int -> QUANT16_SYMM map
2071 .quant16SymmOperands = {},
2072 // int -> FLOAT16 map
2073 .float16Operands = {},
2074 // int -> BOOL8 map
2075 .bool8Operands = {},
2076 // int -> QUANT8_SYMM_PER_CHANNEL map
2077 .quant8ChannelOperands = {},
2078 // int -> QUANT16_ASYMM map
2079 .quant16AsymmOperands = {},
2080 // int -> QUANT8_SYMM map
2081 .quant8SymmOperands = {},
2082 },
2083 //Output(s)
2084 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2085 // int -> Dimensions map
2086 .operandDimensions = {{0, {1, 1, 2, 2}}},
2087 // int -> FLOAT32 map
2088 .float32Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
2089 // int -> INT32 map
2090 .int32Operands = {},
2091 // int -> QUANT8_ASYMM map
2092 .quant8AsymmOperands = {},
2093 // int -> QUANT16_SYMM map
2094 .quant16SymmOperands = {},
2095 // int -> FLOAT16 map
2096 .float16Operands = {},
2097 // int -> BOOL8 map
2098 .bool8Operands = {},
2099 // int -> QUANT8_SYMM_PER_CHANNEL map
2100 .quant8ChannelOperands = {},
2101 // int -> QUANT16_ASYMM map
2102 .quant16AsymmOperands = {},
2103 // int -> QUANT8_SYMM map
2104 .quant8SymmOperands = {},
2105 }
2106 },
2107 }, // End of an example
2108 };
2109 return examples_dynamic_output_shape_nchw_weight_as_input_relaxed;
2110 };
2111
get_examples_dynamic_output_shape_nchw_weight_as_input_quant8()2112 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_weight_as_input_quant8() {
2113 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_weight_as_input_quant8 = {
2114 // Begin of an example
2115 {
2116 .operands = {
2117 //Input(s)
2118 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2119 // int -> Dimensions map
2120 .operandDimensions = {{0, {1, 1, 3, 3}}, {1, {1, 2, 2, 1}}, {2, {1}}},
2121 // int -> FLOAT32 map
2122 .float32Operands = {},
2123 // int -> INT32 map
2124 .int32Operands = {{2, {0}}},
2125 // int -> QUANT8_ASYMM map
2126 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}, {1, {2, 2, 2, 2}}},
2127 // int -> QUANT16_SYMM map
2128 .quant16SymmOperands = {},
2129 // int -> FLOAT16 map
2130 .float16Operands = {},
2131 // int -> BOOL8 map
2132 .bool8Operands = {},
2133 // int -> QUANT8_SYMM_PER_CHANNEL map
2134 .quant8ChannelOperands = {},
2135 // int -> QUANT16_ASYMM map
2136 .quant16AsymmOperands = {},
2137 // int -> QUANT8_SYMM map
2138 .quant8SymmOperands = {},
2139 },
2140 //Output(s)
2141 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2142 // int -> Dimensions map
2143 .operandDimensions = {{0, {1, 1, 2, 2}}},
2144 // int -> FLOAT32 map
2145 .float32Operands = {},
2146 // int -> INT32 map
2147 .int32Operands = {},
2148 // int -> QUANT8_ASYMM map
2149 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
2150 // int -> QUANT16_SYMM map
2151 .quant16SymmOperands = {},
2152 // int -> FLOAT16 map
2153 .float16Operands = {},
2154 // int -> BOOL8 map
2155 .bool8Operands = {},
2156 // int -> QUANT8_SYMM_PER_CHANNEL map
2157 .quant8ChannelOperands = {},
2158 // int -> QUANT16_ASYMM map
2159 .quant16AsymmOperands = {},
2160 // int -> QUANT8_SYMM map
2161 .quant8SymmOperands = {},
2162 }
2163 },
2164 }, // End of an example
2165 };
2166 return examples_dynamic_output_shape_nchw_weight_as_input_quant8;
2167 };
2168
get_examples_dynamic_output_shape_nchw_weight_as_input_channelQuant8()2169 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_weight_as_input_channelQuant8() {
2170 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_weight_as_input_channelQuant8 = {
2171 // Begin of an example
2172 {
2173 .operands = {
2174 //Input(s)
2175 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2176 // int -> Dimensions map
2177 .operandDimensions = {{0, {1, 1, 3, 3}}, {1, {1, 2, 2, 1}}, {2, {1}}},
2178 // int -> FLOAT32 map
2179 .float32Operands = {},
2180 // int -> INT32 map
2181 .int32Operands = {{2, {0}}},
2182 // int -> QUANT8_ASYMM map
2183 .quant8AsymmOperands = {{0, {2, 2, 2, 2, 1, 2, 2, 2, 2}}},
2184 // int -> QUANT16_SYMM map
2185 .quant16SymmOperands = {},
2186 // int -> FLOAT16 map
2187 .float16Operands = {},
2188 // int -> BOOL8 map
2189 .bool8Operands = {},
2190 // int -> QUANT8_SYMM_PER_CHANNEL map
2191 .quant8ChannelOperands = {{1, {2, 2, 2, 2}}},
2192 // int -> QUANT16_ASYMM map
2193 .quant16AsymmOperands = {},
2194 // int -> QUANT8_SYMM map
2195 .quant8SymmOperands = {},
2196 },
2197 //Output(s)
2198 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2199 // int -> Dimensions map
2200 .operandDimensions = {{0, {1, 1, 2, 2}}},
2201 // int -> FLOAT32 map
2202 .float32Operands = {},
2203 // int -> INT32 map
2204 .int32Operands = {},
2205 // int -> QUANT8_ASYMM map
2206 .quant8AsymmOperands = {{0, {7, 7, 7, 7}}},
2207 // int -> QUANT16_SYMM map
2208 .quant16SymmOperands = {},
2209 // int -> FLOAT16 map
2210 .float16Operands = {},
2211 // int -> BOOL8 map
2212 .bool8Operands = {},
2213 // int -> QUANT8_SYMM_PER_CHANNEL map
2214 .quant8ChannelOperands = {},
2215 // int -> QUANT16_ASYMM map
2216 .quant16AsymmOperands = {},
2217 // int -> QUANT8_SYMM map
2218 .quant8SymmOperands = {},
2219 }
2220 },
2221 }, // End of an example
2222 };
2223 return examples_dynamic_output_shape_nchw_weight_as_input_channelQuant8;
2224 };
2225
get_examples_dynamic_output_shape_nchw_weight_as_input_float16()2226 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_weight_as_input_float16() {
2227 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_weight_as_input_float16 = {
2228 // Begin of an example
2229 {
2230 .operands = {
2231 //Input(s)
2232 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2233 // int -> Dimensions map
2234 .operandDimensions = {{0, {1, 1, 3, 3}}, {1, {1, 2, 2, 1}}, {2, {1}}},
2235 // int -> FLOAT32 map
2236 .float32Operands = {},
2237 // int -> INT32 map
2238 .int32Operands = {},
2239 // int -> QUANT8_ASYMM map
2240 .quant8AsymmOperands = {},
2241 // int -> QUANT16_SYMM map
2242 .quant16SymmOperands = {},
2243 // int -> FLOAT16 map
2244 .float16Operands = {{0, {1.0f, 1.0f, 1.0f, 1.0f, 0.5f, 1.0f, 1.0f, 1.0f, 1.0f}}, {1, {0.25f, 0.25f, 0.25f, 0.25f}}, {2, {0.0f}}},
2245 // int -> BOOL8 map
2246 .bool8Operands = {},
2247 // int -> QUANT8_SYMM_PER_CHANNEL map
2248 .quant8ChannelOperands = {},
2249 // int -> QUANT16_ASYMM map
2250 .quant16AsymmOperands = {},
2251 // int -> QUANT8_SYMM map
2252 .quant8SymmOperands = {},
2253 },
2254 //Output(s)
2255 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2256 // int -> Dimensions map
2257 .operandDimensions = {{0, {1, 1, 2, 2}}},
2258 // int -> FLOAT32 map
2259 .float32Operands = {},
2260 // int -> INT32 map
2261 .int32Operands = {},
2262 // int -> QUANT8_ASYMM map
2263 .quant8AsymmOperands = {},
2264 // int -> QUANT16_SYMM map
2265 .quant16SymmOperands = {},
2266 // int -> FLOAT16 map
2267 .float16Operands = {{0, {0.875f, 0.875f, 0.875f, 0.875f}}},
2268 // int -> BOOL8 map
2269 .bool8Operands = {},
2270 // int -> QUANT8_SYMM_PER_CHANNEL map
2271 .quant8ChannelOperands = {},
2272 // int -> QUANT16_ASYMM map
2273 .quant16AsymmOperands = {},
2274 // int -> QUANT8_SYMM map
2275 .quant8SymmOperands = {},
2276 }
2277 },
2278 }, // End of an example
2279 };
2280 return examples_dynamic_output_shape_nchw_weight_as_input_float16;
2281 };
2282
get_examples_nhwc_2()2283 std::vector<MixedTypedExample>& get_examples_nhwc_2() {
2284 static std::vector<MixedTypedExample> examples_nhwc_2 = {
2285 // Begin of an example
2286 {
2287 .operands = {
2288 //Input(s)
2289 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2290 // int -> Dimensions map
2291 .operandDimensions = {{0, {1, 3, 4, 1}}},
2292 // int -> FLOAT32 map
2293 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}},
2294 // int -> INT32 map
2295 .int32Operands = {},
2296 // int -> QUANT8_ASYMM map
2297 .quant8AsymmOperands = {},
2298 // int -> QUANT16_SYMM map
2299 .quant16SymmOperands = {},
2300 // int -> FLOAT16 map
2301 .float16Operands = {},
2302 // int -> BOOL8 map
2303 .bool8Operands = {},
2304 // int -> QUANT8_SYMM_PER_CHANNEL map
2305 .quant8ChannelOperands = {},
2306 // int -> QUANT16_ASYMM map
2307 .quant16AsymmOperands = {},
2308 // int -> QUANT8_SYMM map
2309 .quant8SymmOperands = {},
2310 },
2311 //Output(s)
2312 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2313 // int -> Dimensions map
2314 .operandDimensions = {{0, {1, 3, 4, 1}}},
2315 // int -> FLOAT32 map
2316 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
2317 // int -> INT32 map
2318 .int32Operands = {},
2319 // int -> QUANT8_ASYMM map
2320 .quant8AsymmOperands = {},
2321 // int -> QUANT16_SYMM map
2322 .quant16SymmOperands = {},
2323 // int -> FLOAT16 map
2324 .float16Operands = {},
2325 // int -> BOOL8 map
2326 .bool8Operands = {},
2327 // int -> QUANT8_SYMM_PER_CHANNEL map
2328 .quant8ChannelOperands = {},
2329 // int -> QUANT16_ASYMM map
2330 .quant16AsymmOperands = {},
2331 // int -> QUANT8_SYMM map
2332 .quant8SymmOperands = {},
2333 }
2334 },
2335 }, // End of an example
2336 };
2337 return examples_nhwc_2;
2338 };
2339
get_examples_nhwc_relaxed_2()2340 std::vector<MixedTypedExample>& get_examples_nhwc_relaxed_2() {
2341 static std::vector<MixedTypedExample> examples_nhwc_relaxed_2 = {
2342 // Begin of an example
2343 {
2344 .operands = {
2345 //Input(s)
2346 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2347 // int -> Dimensions map
2348 .operandDimensions = {{0, {1, 3, 4, 1}}},
2349 // int -> FLOAT32 map
2350 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}},
2351 // int -> INT32 map
2352 .int32Operands = {},
2353 // int -> QUANT8_ASYMM map
2354 .quant8AsymmOperands = {},
2355 // int -> QUANT16_SYMM map
2356 .quant16SymmOperands = {},
2357 // int -> FLOAT16 map
2358 .float16Operands = {},
2359 // int -> BOOL8 map
2360 .bool8Operands = {},
2361 // int -> QUANT8_SYMM_PER_CHANNEL map
2362 .quant8ChannelOperands = {},
2363 // int -> QUANT16_ASYMM map
2364 .quant16AsymmOperands = {},
2365 // int -> QUANT8_SYMM map
2366 .quant8SymmOperands = {},
2367 },
2368 //Output(s)
2369 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2370 // int -> Dimensions map
2371 .operandDimensions = {{0, {1, 3, 4, 1}}},
2372 // int -> FLOAT32 map
2373 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
2374 // int -> INT32 map
2375 .int32Operands = {},
2376 // int -> QUANT8_ASYMM map
2377 .quant8AsymmOperands = {},
2378 // int -> QUANT16_SYMM map
2379 .quant16SymmOperands = {},
2380 // int -> FLOAT16 map
2381 .float16Operands = {},
2382 // int -> BOOL8 map
2383 .bool8Operands = {},
2384 // int -> QUANT8_SYMM_PER_CHANNEL map
2385 .quant8ChannelOperands = {},
2386 // int -> QUANT16_ASYMM map
2387 .quant16AsymmOperands = {},
2388 // int -> QUANT8_SYMM map
2389 .quant8SymmOperands = {},
2390 }
2391 },
2392 }, // End of an example
2393 };
2394 return examples_nhwc_relaxed_2;
2395 };
2396
get_examples_nhwc_quant8_2()2397 std::vector<MixedTypedExample>& get_examples_nhwc_quant8_2() {
2398 static std::vector<MixedTypedExample> examples_nhwc_quant8_2 = {
2399 // Begin of an example
2400 {
2401 .operands = {
2402 //Input(s)
2403 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2404 // int -> Dimensions map
2405 .operandDimensions = {{0, {1, 3, 4, 1}}},
2406 // int -> FLOAT32 map
2407 .float32Operands = {},
2408 // int -> INT32 map
2409 .int32Operands = {},
2410 // int -> QUANT8_ASYMM map
2411 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}},
2412 // int -> QUANT16_SYMM map
2413 .quant16SymmOperands = {},
2414 // int -> FLOAT16 map
2415 .float16Operands = {},
2416 // int -> BOOL8 map
2417 .bool8Operands = {},
2418 // int -> QUANT8_SYMM_PER_CHANNEL map
2419 .quant8ChannelOperands = {},
2420 // int -> QUANT16_ASYMM map
2421 .quant16AsymmOperands = {},
2422 // int -> QUANT8_SYMM map
2423 .quant8SymmOperands = {},
2424 },
2425 //Output(s)
2426 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2427 // int -> Dimensions map
2428 .operandDimensions = {{0, {1, 3, 4, 1}}},
2429 // int -> FLOAT32 map
2430 .float32Operands = {},
2431 // int -> INT32 map
2432 .int32Operands = {},
2433 // int -> QUANT8_ASYMM map
2434 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
2435 // int -> QUANT16_SYMM map
2436 .quant16SymmOperands = {},
2437 // int -> FLOAT16 map
2438 .float16Operands = {},
2439 // int -> BOOL8 map
2440 .bool8Operands = {},
2441 // int -> QUANT8_SYMM_PER_CHANNEL map
2442 .quant8ChannelOperands = {},
2443 // int -> QUANT16_ASYMM map
2444 .quant16AsymmOperands = {},
2445 // int -> QUANT8_SYMM map
2446 .quant8SymmOperands = {},
2447 }
2448 },
2449 }, // End of an example
2450 };
2451 return examples_nhwc_quant8_2;
2452 };
2453
get_examples_nhwc_channelQuant8_2()2454 std::vector<MixedTypedExample>& get_examples_nhwc_channelQuant8_2() {
2455 static std::vector<MixedTypedExample> examples_nhwc_channelQuant8_2 = {
2456 // Begin of an example
2457 {
2458 .operands = {
2459 //Input(s)
2460 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2461 // int -> Dimensions map
2462 .operandDimensions = {{0, {1, 3, 4, 1}}},
2463 // int -> FLOAT32 map
2464 .float32Operands = {},
2465 // int -> INT32 map
2466 .int32Operands = {},
2467 // int -> QUANT8_ASYMM map
2468 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}},
2469 // int -> QUANT16_SYMM map
2470 .quant16SymmOperands = {},
2471 // int -> FLOAT16 map
2472 .float16Operands = {},
2473 // int -> BOOL8 map
2474 .bool8Operands = {},
2475 // int -> QUANT8_SYMM_PER_CHANNEL map
2476 .quant8ChannelOperands = {},
2477 // int -> QUANT16_ASYMM map
2478 .quant16AsymmOperands = {},
2479 // int -> QUANT8_SYMM map
2480 .quant8SymmOperands = {},
2481 },
2482 //Output(s)
2483 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2484 // int -> Dimensions map
2485 .operandDimensions = {{0, {1, 3, 4, 1}}},
2486 // int -> FLOAT32 map
2487 .float32Operands = {},
2488 // int -> INT32 map
2489 .int32Operands = {},
2490 // int -> QUANT8_ASYMM map
2491 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
2492 // int -> QUANT16_SYMM map
2493 .quant16SymmOperands = {},
2494 // int -> FLOAT16 map
2495 .float16Operands = {},
2496 // int -> BOOL8 map
2497 .bool8Operands = {},
2498 // int -> QUANT8_SYMM_PER_CHANNEL map
2499 .quant8ChannelOperands = {},
2500 // int -> QUANT16_ASYMM map
2501 .quant16AsymmOperands = {},
2502 // int -> QUANT8_SYMM map
2503 .quant8SymmOperands = {},
2504 }
2505 },
2506 }, // End of an example
2507 };
2508 return examples_nhwc_channelQuant8_2;
2509 };
2510
get_examples_nhwc_float16_2()2511 std::vector<MixedTypedExample>& get_examples_nhwc_float16_2() {
2512 static std::vector<MixedTypedExample> examples_nhwc_float16_2 = {
2513 // Begin of an example
2514 {
2515 .operands = {
2516 //Input(s)
2517 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2518 // int -> Dimensions map
2519 .operandDimensions = {{0, {1, 3, 4, 1}}},
2520 // int -> FLOAT32 map
2521 .float32Operands = {},
2522 // int -> INT32 map
2523 .int32Operands = {},
2524 // int -> QUANT8_ASYMM map
2525 .quant8AsymmOperands = {},
2526 // int -> QUANT16_SYMM map
2527 .quant16SymmOperands = {},
2528 // int -> FLOAT16 map
2529 .float16Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}},
2530 // int -> BOOL8 map
2531 .bool8Operands = {},
2532 // int -> QUANT8_SYMM_PER_CHANNEL map
2533 .quant8ChannelOperands = {},
2534 // int -> QUANT16_ASYMM map
2535 .quant16AsymmOperands = {},
2536 // int -> QUANT8_SYMM map
2537 .quant8SymmOperands = {},
2538 },
2539 //Output(s)
2540 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2541 // int -> Dimensions map
2542 .operandDimensions = {{0, {1, 3, 4, 1}}},
2543 // int -> FLOAT32 map
2544 .float32Operands = {},
2545 // int -> INT32 map
2546 .int32Operands = {},
2547 // int -> QUANT8_ASYMM map
2548 .quant8AsymmOperands = {},
2549 // int -> QUANT16_SYMM map
2550 .quant16SymmOperands = {},
2551 // int -> FLOAT16 map
2552 .float16Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
2553 // int -> BOOL8 map
2554 .bool8Operands = {},
2555 // int -> QUANT8_SYMM_PER_CHANNEL map
2556 .quant8ChannelOperands = {},
2557 // int -> QUANT16_ASYMM map
2558 .quant16AsymmOperands = {},
2559 // int -> QUANT8_SYMM map
2560 .quant8SymmOperands = {},
2561 }
2562 },
2563 }, // End of an example
2564 };
2565 return examples_nhwc_float16_2;
2566 };
2567
get_examples_nhwc_weight_as_input_2()2568 std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input_2() {
2569 static std::vector<MixedTypedExample> examples_nhwc_weight_as_input_2 = {
2570 // Begin of an example
2571 {
2572 .operands = {
2573 //Input(s)
2574 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2575 // int -> Dimensions map
2576 .operandDimensions = {{0, {1, 3, 4, 1}}, {1, {1, 3, 3, 1}}, {2, {1}}},
2577 // int -> FLOAT32 map
2578 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {-200.0f}}},
2579 // int -> INT32 map
2580 .int32Operands = {},
2581 // int -> QUANT8_ASYMM map
2582 .quant8AsymmOperands = {},
2583 // int -> QUANT16_SYMM map
2584 .quant16SymmOperands = {},
2585 // int -> FLOAT16 map
2586 .float16Operands = {},
2587 // int -> BOOL8 map
2588 .bool8Operands = {},
2589 // int -> QUANT8_SYMM_PER_CHANNEL map
2590 .quant8ChannelOperands = {},
2591 // int -> QUANT16_ASYMM map
2592 .quant16AsymmOperands = {},
2593 // int -> QUANT8_SYMM map
2594 .quant8SymmOperands = {},
2595 },
2596 //Output(s)
2597 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2598 // int -> Dimensions map
2599 .operandDimensions = {{0, {1, 3, 4, 1}}},
2600 // int -> FLOAT32 map
2601 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
2602 // int -> INT32 map
2603 .int32Operands = {},
2604 // int -> QUANT8_ASYMM map
2605 .quant8AsymmOperands = {},
2606 // int -> QUANT16_SYMM map
2607 .quant16SymmOperands = {},
2608 // int -> FLOAT16 map
2609 .float16Operands = {},
2610 // int -> BOOL8 map
2611 .bool8Operands = {},
2612 // int -> QUANT8_SYMM_PER_CHANNEL map
2613 .quant8ChannelOperands = {},
2614 // int -> QUANT16_ASYMM map
2615 .quant16AsymmOperands = {},
2616 // int -> QUANT8_SYMM map
2617 .quant8SymmOperands = {},
2618 }
2619 },
2620 }, // End of an example
2621 };
2622 return examples_nhwc_weight_as_input_2;
2623 };
2624
get_examples_nhwc_weight_as_input_relaxed_2()2625 std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input_relaxed_2() {
2626 static std::vector<MixedTypedExample> examples_nhwc_weight_as_input_relaxed_2 = {
2627 // Begin of an example
2628 {
2629 .operands = {
2630 //Input(s)
2631 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2632 // int -> Dimensions map
2633 .operandDimensions = {{0, {1, 3, 4, 1}}, {1, {1, 3, 3, 1}}, {2, {1}}},
2634 // int -> FLOAT32 map
2635 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {-200.0f}}},
2636 // int -> INT32 map
2637 .int32Operands = {},
2638 // int -> QUANT8_ASYMM map
2639 .quant8AsymmOperands = {},
2640 // int -> QUANT16_SYMM map
2641 .quant16SymmOperands = {},
2642 // int -> FLOAT16 map
2643 .float16Operands = {},
2644 // int -> BOOL8 map
2645 .bool8Operands = {},
2646 // int -> QUANT8_SYMM_PER_CHANNEL map
2647 .quant8ChannelOperands = {},
2648 // int -> QUANT16_ASYMM map
2649 .quant16AsymmOperands = {},
2650 // int -> QUANT8_SYMM map
2651 .quant8SymmOperands = {},
2652 },
2653 //Output(s)
2654 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2655 // int -> Dimensions map
2656 .operandDimensions = {{0, {1, 3, 4, 1}}},
2657 // int -> FLOAT32 map
2658 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
2659 // int -> INT32 map
2660 .int32Operands = {},
2661 // int -> QUANT8_ASYMM map
2662 .quant8AsymmOperands = {},
2663 // int -> QUANT16_SYMM map
2664 .quant16SymmOperands = {},
2665 // int -> FLOAT16 map
2666 .float16Operands = {},
2667 // int -> BOOL8 map
2668 .bool8Operands = {},
2669 // int -> QUANT8_SYMM_PER_CHANNEL map
2670 .quant8ChannelOperands = {},
2671 // int -> QUANT16_ASYMM map
2672 .quant16AsymmOperands = {},
2673 // int -> QUANT8_SYMM map
2674 .quant8SymmOperands = {},
2675 }
2676 },
2677 }, // End of an example
2678 };
2679 return examples_nhwc_weight_as_input_relaxed_2;
2680 };
2681
get_examples_nhwc_weight_as_input_quant8_2()2682 std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input_quant8_2() {
2683 static std::vector<MixedTypedExample> examples_nhwc_weight_as_input_quant8_2 = {
2684 // Begin of an example
2685 {
2686 .operands = {
2687 //Input(s)
2688 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2689 // int -> Dimensions map
2690 .operandDimensions = {{0, {1, 3, 4, 1}}, {1, {1, 3, 3, 1}}, {2, {1}}},
2691 // int -> FLOAT32 map
2692 .float32Operands = {},
2693 // int -> INT32 map
2694 .int32Operands = {{2, {-800}}},
2695 // int -> QUANT8_ASYMM map
2696 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}, {1, {129, 135, 141, 131, 137, 143, 133, 139, 145}}},
2697 // int -> QUANT16_SYMM map
2698 .quant16SymmOperands = {},
2699 // int -> FLOAT16 map
2700 .float16Operands = {},
2701 // int -> BOOL8 map
2702 .bool8Operands = {},
2703 // int -> QUANT8_SYMM_PER_CHANNEL map
2704 .quant8ChannelOperands = {},
2705 // int -> QUANT16_ASYMM map
2706 .quant16AsymmOperands = {},
2707 // int -> QUANT8_SYMM map
2708 .quant8SymmOperands = {},
2709 },
2710 //Output(s)
2711 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2712 // int -> Dimensions map
2713 .operandDimensions = {{0, {1, 3, 4, 1}}},
2714 // int -> FLOAT32 map
2715 .float32Operands = {},
2716 // int -> INT32 map
2717 .int32Operands = {},
2718 // int -> QUANT8_ASYMM map
2719 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
2720 // int -> QUANT16_SYMM map
2721 .quant16SymmOperands = {},
2722 // int -> FLOAT16 map
2723 .float16Operands = {},
2724 // int -> BOOL8 map
2725 .bool8Operands = {},
2726 // int -> QUANT8_SYMM_PER_CHANNEL map
2727 .quant8ChannelOperands = {},
2728 // int -> QUANT16_ASYMM map
2729 .quant16AsymmOperands = {},
2730 // int -> QUANT8_SYMM map
2731 .quant8SymmOperands = {},
2732 }
2733 },
2734 }, // End of an example
2735 };
2736 return examples_nhwc_weight_as_input_quant8_2;
2737 };
2738
get_examples_nhwc_weight_as_input_channelQuant8_2()2739 std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input_channelQuant8_2() {
2740 static std::vector<MixedTypedExample> examples_nhwc_weight_as_input_channelQuant8_2 = {
2741 // Begin of an example
2742 {
2743 .operands = {
2744 //Input(s)
2745 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2746 // int -> Dimensions map
2747 .operandDimensions = {{0, {1, 3, 4, 1}}, {1, {1, 3, 3, 1}}, {2, {1}}},
2748 // int -> FLOAT32 map
2749 .float32Operands = {},
2750 // int -> INT32 map
2751 .int32Operands = {{2, {-800}}},
2752 // int -> QUANT8_ASYMM map
2753 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}},
2754 // int -> QUANT16_SYMM map
2755 .quant16SymmOperands = {},
2756 // int -> FLOAT16 map
2757 .float16Operands = {},
2758 // int -> BOOL8 map
2759 .bool8Operands = {},
2760 // int -> QUANT8_SYMM_PER_CHANNEL map
2761 .quant8ChannelOperands = {{1, {2, 8, 14, 4, 10, 16, 6, 12, 18}}},
2762 // int -> QUANT16_ASYMM map
2763 .quant16AsymmOperands = {},
2764 // int -> QUANT8_SYMM map
2765 .quant8SymmOperands = {},
2766 },
2767 //Output(s)
2768 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2769 // int -> Dimensions map
2770 .operandDimensions = {{0, {1, 3, 4, 1}}},
2771 // int -> FLOAT32 map
2772 .float32Operands = {},
2773 // int -> INT32 map
2774 .int32Operands = {},
2775 // int -> QUANT8_ASYMM map
2776 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
2777 // int -> QUANT16_SYMM map
2778 .quant16SymmOperands = {},
2779 // int -> FLOAT16 map
2780 .float16Operands = {},
2781 // int -> BOOL8 map
2782 .bool8Operands = {},
2783 // int -> QUANT8_SYMM_PER_CHANNEL map
2784 .quant8ChannelOperands = {},
2785 // int -> QUANT16_ASYMM map
2786 .quant16AsymmOperands = {},
2787 // int -> QUANT8_SYMM map
2788 .quant8SymmOperands = {},
2789 }
2790 },
2791 }, // End of an example
2792 };
2793 return examples_nhwc_weight_as_input_channelQuant8_2;
2794 };
2795
get_examples_nhwc_weight_as_input_float16_2()2796 std::vector<MixedTypedExample>& get_examples_nhwc_weight_as_input_float16_2() {
2797 static std::vector<MixedTypedExample> examples_nhwc_weight_as_input_float16_2 = {
2798 // Begin of an example
2799 {
2800 .operands = {
2801 //Input(s)
2802 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2803 // int -> Dimensions map
2804 .operandDimensions = {{0, {1, 3, 4, 1}}, {1, {1, 3, 3, 1}}, {2, {1}}},
2805 // int -> FLOAT32 map
2806 .float32Operands = {},
2807 // int -> INT32 map
2808 .int32Operands = {},
2809 // int -> QUANT8_ASYMM map
2810 .quant8AsymmOperands = {},
2811 // int -> QUANT16_SYMM map
2812 .quant16SymmOperands = {},
2813 // int -> FLOAT16 map
2814 .float16Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {-200.0f}}},
2815 // int -> BOOL8 map
2816 .bool8Operands = {},
2817 // int -> QUANT8_SYMM_PER_CHANNEL map
2818 .quant8ChannelOperands = {},
2819 // int -> QUANT16_ASYMM map
2820 .quant16AsymmOperands = {},
2821 // int -> QUANT8_SYMM map
2822 .quant8SymmOperands = {},
2823 },
2824 //Output(s)
2825 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2826 // int -> Dimensions map
2827 .operandDimensions = {{0, {1, 3, 4, 1}}},
2828 // int -> FLOAT32 map
2829 .float32Operands = {},
2830 // int -> INT32 map
2831 .int32Operands = {},
2832 // int -> QUANT8_ASYMM map
2833 .quant8AsymmOperands = {},
2834 // int -> QUANT16_SYMM map
2835 .quant16SymmOperands = {},
2836 // int -> FLOAT16 map
2837 .float16Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
2838 // int -> BOOL8 map
2839 .bool8Operands = {},
2840 // int -> QUANT8_SYMM_PER_CHANNEL map
2841 .quant8ChannelOperands = {},
2842 // int -> QUANT16_ASYMM map
2843 .quant16AsymmOperands = {},
2844 // int -> QUANT8_SYMM map
2845 .quant8SymmOperands = {},
2846 }
2847 },
2848 }, // End of an example
2849 };
2850 return examples_nhwc_weight_as_input_float16_2;
2851 };
2852
get_examples_nchw_2()2853 std::vector<MixedTypedExample>& get_examples_nchw_2() {
2854 static std::vector<MixedTypedExample> examples_nchw_2 = {
2855 // Begin of an example
2856 {
2857 .operands = {
2858 //Input(s)
2859 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2860 // int -> Dimensions map
2861 .operandDimensions = {{0, {1, 1, 3, 4}}},
2862 // int -> FLOAT32 map
2863 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}},
2864 // int -> INT32 map
2865 .int32Operands = {},
2866 // int -> QUANT8_ASYMM map
2867 .quant8AsymmOperands = {},
2868 // int -> QUANT16_SYMM map
2869 .quant16SymmOperands = {},
2870 // int -> FLOAT16 map
2871 .float16Operands = {},
2872 // int -> BOOL8 map
2873 .bool8Operands = {},
2874 // int -> QUANT8_SYMM_PER_CHANNEL map
2875 .quant8ChannelOperands = {},
2876 // int -> QUANT16_ASYMM map
2877 .quant16AsymmOperands = {},
2878 // int -> QUANT8_SYMM map
2879 .quant8SymmOperands = {},
2880 },
2881 //Output(s)
2882 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2883 // int -> Dimensions map
2884 .operandDimensions = {{0, {1, 1, 3, 4}}},
2885 // int -> FLOAT32 map
2886 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
2887 // int -> INT32 map
2888 .int32Operands = {},
2889 // int -> QUANT8_ASYMM map
2890 .quant8AsymmOperands = {},
2891 // int -> QUANT16_SYMM map
2892 .quant16SymmOperands = {},
2893 // int -> FLOAT16 map
2894 .float16Operands = {},
2895 // int -> BOOL8 map
2896 .bool8Operands = {},
2897 // int -> QUANT8_SYMM_PER_CHANNEL map
2898 .quant8ChannelOperands = {},
2899 // int -> QUANT16_ASYMM map
2900 .quant16AsymmOperands = {},
2901 // int -> QUANT8_SYMM map
2902 .quant8SymmOperands = {},
2903 }
2904 },
2905 }, // End of an example
2906 };
2907 return examples_nchw_2;
2908 };
2909
get_examples_nchw_relaxed_2()2910 std::vector<MixedTypedExample>& get_examples_nchw_relaxed_2() {
2911 static std::vector<MixedTypedExample> examples_nchw_relaxed_2 = {
2912 // Begin of an example
2913 {
2914 .operands = {
2915 //Input(s)
2916 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2917 // int -> Dimensions map
2918 .operandDimensions = {{0, {1, 1, 3, 4}}},
2919 // int -> FLOAT32 map
2920 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}},
2921 // int -> INT32 map
2922 .int32Operands = {},
2923 // int -> QUANT8_ASYMM map
2924 .quant8AsymmOperands = {},
2925 // int -> QUANT16_SYMM map
2926 .quant16SymmOperands = {},
2927 // int -> FLOAT16 map
2928 .float16Operands = {},
2929 // int -> BOOL8 map
2930 .bool8Operands = {},
2931 // int -> QUANT8_SYMM_PER_CHANNEL map
2932 .quant8ChannelOperands = {},
2933 // int -> QUANT16_ASYMM map
2934 .quant16AsymmOperands = {},
2935 // int -> QUANT8_SYMM map
2936 .quant8SymmOperands = {},
2937 },
2938 //Output(s)
2939 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2940 // int -> Dimensions map
2941 .operandDimensions = {{0, {1, 1, 3, 4}}},
2942 // int -> FLOAT32 map
2943 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
2944 // int -> INT32 map
2945 .int32Operands = {},
2946 // int -> QUANT8_ASYMM map
2947 .quant8AsymmOperands = {},
2948 // int -> QUANT16_SYMM map
2949 .quant16SymmOperands = {},
2950 // int -> FLOAT16 map
2951 .float16Operands = {},
2952 // int -> BOOL8 map
2953 .bool8Operands = {},
2954 // int -> QUANT8_SYMM_PER_CHANNEL map
2955 .quant8ChannelOperands = {},
2956 // int -> QUANT16_ASYMM map
2957 .quant16AsymmOperands = {},
2958 // int -> QUANT8_SYMM map
2959 .quant8SymmOperands = {},
2960 }
2961 },
2962 }, // End of an example
2963 };
2964 return examples_nchw_relaxed_2;
2965 };
2966
get_examples_nchw_quant8_2()2967 std::vector<MixedTypedExample>& get_examples_nchw_quant8_2() {
2968 static std::vector<MixedTypedExample> examples_nchw_quant8_2 = {
2969 // Begin of an example
2970 {
2971 .operands = {
2972 //Input(s)
2973 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2974 // int -> Dimensions map
2975 .operandDimensions = {{0, {1, 1, 3, 4}}},
2976 // int -> FLOAT32 map
2977 .float32Operands = {},
2978 // int -> INT32 map
2979 .int32Operands = {},
2980 // int -> QUANT8_ASYMM map
2981 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}},
2982 // int -> QUANT16_SYMM map
2983 .quant16SymmOperands = {},
2984 // int -> FLOAT16 map
2985 .float16Operands = {},
2986 // int -> BOOL8 map
2987 .bool8Operands = {},
2988 // int -> QUANT8_SYMM_PER_CHANNEL map
2989 .quant8ChannelOperands = {},
2990 // int -> QUANT16_ASYMM map
2991 .quant16AsymmOperands = {},
2992 // int -> QUANT8_SYMM map
2993 .quant8SymmOperands = {},
2994 },
2995 //Output(s)
2996 { // See tools/test_generator/include/TestHarness.h:MixedTyped
2997 // int -> Dimensions map
2998 .operandDimensions = {{0, {1, 1, 3, 4}}},
2999 // int -> FLOAT32 map
3000 .float32Operands = {},
3001 // int -> INT32 map
3002 .int32Operands = {},
3003 // int -> QUANT8_ASYMM map
3004 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
3005 // int -> QUANT16_SYMM map
3006 .quant16SymmOperands = {},
3007 // int -> FLOAT16 map
3008 .float16Operands = {},
3009 // int -> BOOL8 map
3010 .bool8Operands = {},
3011 // int -> QUANT8_SYMM_PER_CHANNEL map
3012 .quant8ChannelOperands = {},
3013 // int -> QUANT16_ASYMM map
3014 .quant16AsymmOperands = {},
3015 // int -> QUANT8_SYMM map
3016 .quant8SymmOperands = {},
3017 }
3018 },
3019 }, // End of an example
3020 };
3021 return examples_nchw_quant8_2;
3022 };
3023
get_examples_nchw_channelQuant8_2()3024 std::vector<MixedTypedExample>& get_examples_nchw_channelQuant8_2() {
3025 static std::vector<MixedTypedExample> examples_nchw_channelQuant8_2 = {
3026 // Begin of an example
3027 {
3028 .operands = {
3029 //Input(s)
3030 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3031 // int -> Dimensions map
3032 .operandDimensions = {{0, {1, 1, 3, 4}}},
3033 // int -> FLOAT32 map
3034 .float32Operands = {},
3035 // int -> INT32 map
3036 .int32Operands = {},
3037 // int -> QUANT8_ASYMM map
3038 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}},
3039 // int -> QUANT16_SYMM map
3040 .quant16SymmOperands = {},
3041 // int -> FLOAT16 map
3042 .float16Operands = {},
3043 // int -> BOOL8 map
3044 .bool8Operands = {},
3045 // int -> QUANT8_SYMM_PER_CHANNEL map
3046 .quant8ChannelOperands = {},
3047 // int -> QUANT16_ASYMM map
3048 .quant16AsymmOperands = {},
3049 // int -> QUANT8_SYMM map
3050 .quant8SymmOperands = {},
3051 },
3052 //Output(s)
3053 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3054 // int -> Dimensions map
3055 .operandDimensions = {{0, {1, 1, 3, 4}}},
3056 // int -> FLOAT32 map
3057 .float32Operands = {},
3058 // int -> INT32 map
3059 .int32Operands = {},
3060 // int -> QUANT8_ASYMM map
3061 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
3062 // int -> QUANT16_SYMM map
3063 .quant16SymmOperands = {},
3064 // int -> FLOAT16 map
3065 .float16Operands = {},
3066 // int -> BOOL8 map
3067 .bool8Operands = {},
3068 // int -> QUANT8_SYMM_PER_CHANNEL map
3069 .quant8ChannelOperands = {},
3070 // int -> QUANT16_ASYMM map
3071 .quant16AsymmOperands = {},
3072 // int -> QUANT8_SYMM map
3073 .quant8SymmOperands = {},
3074 }
3075 },
3076 }, // End of an example
3077 };
3078 return examples_nchw_channelQuant8_2;
3079 };
3080
get_examples_nchw_float16_2()3081 std::vector<MixedTypedExample>& get_examples_nchw_float16_2() {
3082 static std::vector<MixedTypedExample> examples_nchw_float16_2 = {
3083 // Begin of an example
3084 {
3085 .operands = {
3086 //Input(s)
3087 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3088 // int -> Dimensions map
3089 .operandDimensions = {{0, {1, 1, 3, 4}}},
3090 // int -> FLOAT32 map
3091 .float32Operands = {},
3092 // int -> INT32 map
3093 .int32Operands = {},
3094 // int -> QUANT8_ASYMM map
3095 .quant8AsymmOperands = {},
3096 // int -> QUANT16_SYMM map
3097 .quant16SymmOperands = {},
3098 // int -> FLOAT16 map
3099 .float16Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}},
3100 // int -> BOOL8 map
3101 .bool8Operands = {},
3102 // int -> QUANT8_SYMM_PER_CHANNEL map
3103 .quant8ChannelOperands = {},
3104 // int -> QUANT16_ASYMM map
3105 .quant16AsymmOperands = {},
3106 // int -> QUANT8_SYMM map
3107 .quant8SymmOperands = {},
3108 },
3109 //Output(s)
3110 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3111 // int -> Dimensions map
3112 .operandDimensions = {{0, {1, 1, 3, 4}}},
3113 // int -> FLOAT32 map
3114 .float32Operands = {},
3115 // int -> INT32 map
3116 .int32Operands = {},
3117 // int -> QUANT8_ASYMM map
3118 .quant8AsymmOperands = {},
3119 // int -> QUANT16_SYMM map
3120 .quant16SymmOperands = {},
3121 // int -> FLOAT16 map
3122 .float16Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
3123 // int -> BOOL8 map
3124 .bool8Operands = {},
3125 // int -> QUANT8_SYMM_PER_CHANNEL map
3126 .quant8ChannelOperands = {},
3127 // int -> QUANT16_ASYMM map
3128 .quant16AsymmOperands = {},
3129 // int -> QUANT8_SYMM map
3130 .quant8SymmOperands = {},
3131 }
3132 },
3133 }, // End of an example
3134 };
3135 return examples_nchw_float16_2;
3136 };
3137
get_examples_nchw_weight_as_input_2()3138 std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input_2() {
3139 static std::vector<MixedTypedExample> examples_nchw_weight_as_input_2 = {
3140 // Begin of an example
3141 {
3142 .operands = {
3143 //Input(s)
3144 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3145 // int -> Dimensions map
3146 .operandDimensions = {{0, {1, 1, 3, 4}}, {1, {1, 3, 3, 1}}, {2, {1}}},
3147 // int -> FLOAT32 map
3148 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {-200.0f}}},
3149 // int -> INT32 map
3150 .int32Operands = {},
3151 // int -> QUANT8_ASYMM map
3152 .quant8AsymmOperands = {},
3153 // int -> QUANT16_SYMM map
3154 .quant16SymmOperands = {},
3155 // int -> FLOAT16 map
3156 .float16Operands = {},
3157 // int -> BOOL8 map
3158 .bool8Operands = {},
3159 // int -> QUANT8_SYMM_PER_CHANNEL map
3160 .quant8ChannelOperands = {},
3161 // int -> QUANT16_ASYMM map
3162 .quant16AsymmOperands = {},
3163 // int -> QUANT8_SYMM map
3164 .quant8SymmOperands = {},
3165 },
3166 //Output(s)
3167 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3168 // int -> Dimensions map
3169 .operandDimensions = {{0, {1, 1, 3, 4}}},
3170 // int -> FLOAT32 map
3171 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
3172 // int -> INT32 map
3173 .int32Operands = {},
3174 // int -> QUANT8_ASYMM map
3175 .quant8AsymmOperands = {},
3176 // int -> QUANT16_SYMM map
3177 .quant16SymmOperands = {},
3178 // int -> FLOAT16 map
3179 .float16Operands = {},
3180 // int -> BOOL8 map
3181 .bool8Operands = {},
3182 // int -> QUANT8_SYMM_PER_CHANNEL map
3183 .quant8ChannelOperands = {},
3184 // int -> QUANT16_ASYMM map
3185 .quant16AsymmOperands = {},
3186 // int -> QUANT8_SYMM map
3187 .quant8SymmOperands = {},
3188 }
3189 },
3190 }, // End of an example
3191 };
3192 return examples_nchw_weight_as_input_2;
3193 };
3194
get_examples_nchw_weight_as_input_relaxed_2()3195 std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input_relaxed_2() {
3196 static std::vector<MixedTypedExample> examples_nchw_weight_as_input_relaxed_2 = {
3197 // Begin of an example
3198 {
3199 .operands = {
3200 //Input(s)
3201 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3202 // int -> Dimensions map
3203 .operandDimensions = {{0, {1, 1, 3, 4}}, {1, {1, 3, 3, 1}}, {2, {1}}},
3204 // int -> FLOAT32 map
3205 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {-200.0f}}},
3206 // int -> INT32 map
3207 .int32Operands = {},
3208 // int -> QUANT8_ASYMM map
3209 .quant8AsymmOperands = {},
3210 // int -> QUANT16_SYMM map
3211 .quant16SymmOperands = {},
3212 // int -> FLOAT16 map
3213 .float16Operands = {},
3214 // int -> BOOL8 map
3215 .bool8Operands = {},
3216 // int -> QUANT8_SYMM_PER_CHANNEL map
3217 .quant8ChannelOperands = {},
3218 // int -> QUANT16_ASYMM map
3219 .quant16AsymmOperands = {},
3220 // int -> QUANT8_SYMM map
3221 .quant8SymmOperands = {},
3222 },
3223 //Output(s)
3224 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3225 // int -> Dimensions map
3226 .operandDimensions = {{0, {1, 1, 3, 4}}},
3227 // int -> FLOAT32 map
3228 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
3229 // int -> INT32 map
3230 .int32Operands = {},
3231 // int -> QUANT8_ASYMM map
3232 .quant8AsymmOperands = {},
3233 // int -> QUANT16_SYMM map
3234 .quant16SymmOperands = {},
3235 // int -> FLOAT16 map
3236 .float16Operands = {},
3237 // int -> BOOL8 map
3238 .bool8Operands = {},
3239 // int -> QUANT8_SYMM_PER_CHANNEL map
3240 .quant8ChannelOperands = {},
3241 // int -> QUANT16_ASYMM map
3242 .quant16AsymmOperands = {},
3243 // int -> QUANT8_SYMM map
3244 .quant8SymmOperands = {},
3245 }
3246 },
3247 }, // End of an example
3248 };
3249 return examples_nchw_weight_as_input_relaxed_2;
3250 };
3251
get_examples_nchw_weight_as_input_quant8_2()3252 std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input_quant8_2() {
3253 static std::vector<MixedTypedExample> examples_nchw_weight_as_input_quant8_2 = {
3254 // Begin of an example
3255 {
3256 .operands = {
3257 //Input(s)
3258 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3259 // int -> Dimensions map
3260 .operandDimensions = {{0, {1, 1, 3, 4}}, {1, {1, 3, 3, 1}}, {2, {1}}},
3261 // int -> FLOAT32 map
3262 .float32Operands = {},
3263 // int -> INT32 map
3264 .int32Operands = {{2, {-800}}},
3265 // int -> QUANT8_ASYMM map
3266 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}, {1, {129, 135, 141, 131, 137, 143, 133, 139, 145}}},
3267 // int -> QUANT16_SYMM map
3268 .quant16SymmOperands = {},
3269 // int -> FLOAT16 map
3270 .float16Operands = {},
3271 // int -> BOOL8 map
3272 .bool8Operands = {},
3273 // int -> QUANT8_SYMM_PER_CHANNEL map
3274 .quant8ChannelOperands = {},
3275 // int -> QUANT16_ASYMM map
3276 .quant16AsymmOperands = {},
3277 // int -> QUANT8_SYMM map
3278 .quant8SymmOperands = {},
3279 },
3280 //Output(s)
3281 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3282 // int -> Dimensions map
3283 .operandDimensions = {{0, {1, 1, 3, 4}}},
3284 // int -> FLOAT32 map
3285 .float32Operands = {},
3286 // int -> INT32 map
3287 .int32Operands = {},
3288 // int -> QUANT8_ASYMM map
3289 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
3290 // int -> QUANT16_SYMM map
3291 .quant16SymmOperands = {},
3292 // int -> FLOAT16 map
3293 .float16Operands = {},
3294 // int -> BOOL8 map
3295 .bool8Operands = {},
3296 // int -> QUANT8_SYMM_PER_CHANNEL map
3297 .quant8ChannelOperands = {},
3298 // int -> QUANT16_ASYMM map
3299 .quant16AsymmOperands = {},
3300 // int -> QUANT8_SYMM map
3301 .quant8SymmOperands = {},
3302 }
3303 },
3304 }, // End of an example
3305 };
3306 return examples_nchw_weight_as_input_quant8_2;
3307 };
3308
get_examples_nchw_weight_as_input_channelQuant8_2()3309 std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input_channelQuant8_2() {
3310 static std::vector<MixedTypedExample> examples_nchw_weight_as_input_channelQuant8_2 = {
3311 // Begin of an example
3312 {
3313 .operands = {
3314 //Input(s)
3315 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3316 // int -> Dimensions map
3317 .operandDimensions = {{0, {1, 1, 3, 4}}, {1, {1, 3, 3, 1}}, {2, {1}}},
3318 // int -> FLOAT32 map
3319 .float32Operands = {},
3320 // int -> INT32 map
3321 .int32Operands = {{2, {-800}}},
3322 // int -> QUANT8_ASYMM map
3323 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}},
3324 // int -> QUANT16_SYMM map
3325 .quant16SymmOperands = {},
3326 // int -> FLOAT16 map
3327 .float16Operands = {},
3328 // int -> BOOL8 map
3329 .bool8Operands = {},
3330 // int -> QUANT8_SYMM_PER_CHANNEL map
3331 .quant8ChannelOperands = {{1, {2, 8, 14, 4, 10, 16, 6, 12, 18}}},
3332 // int -> QUANT16_ASYMM map
3333 .quant16AsymmOperands = {},
3334 // int -> QUANT8_SYMM map
3335 .quant8SymmOperands = {},
3336 },
3337 //Output(s)
3338 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3339 // int -> Dimensions map
3340 .operandDimensions = {{0, {1, 1, 3, 4}}},
3341 // int -> FLOAT32 map
3342 .float32Operands = {},
3343 // int -> INT32 map
3344 .int32Operands = {},
3345 // int -> QUANT8_ASYMM map
3346 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
3347 // int -> QUANT16_SYMM map
3348 .quant16SymmOperands = {},
3349 // int -> FLOAT16 map
3350 .float16Operands = {},
3351 // int -> BOOL8 map
3352 .bool8Operands = {},
3353 // int -> QUANT8_SYMM_PER_CHANNEL map
3354 .quant8ChannelOperands = {},
3355 // int -> QUANT16_ASYMM map
3356 .quant16AsymmOperands = {},
3357 // int -> QUANT8_SYMM map
3358 .quant8SymmOperands = {},
3359 }
3360 },
3361 }, // End of an example
3362 };
3363 return examples_nchw_weight_as_input_channelQuant8_2;
3364 };
3365
get_examples_nchw_weight_as_input_float16_2()3366 std::vector<MixedTypedExample>& get_examples_nchw_weight_as_input_float16_2() {
3367 static std::vector<MixedTypedExample> examples_nchw_weight_as_input_float16_2 = {
3368 // Begin of an example
3369 {
3370 .operands = {
3371 //Input(s)
3372 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3373 // int -> Dimensions map
3374 .operandDimensions = {{0, {1, 1, 3, 4}}, {1, {1, 3, 3, 1}}, {2, {1}}},
3375 // int -> FLOAT32 map
3376 .float32Operands = {},
3377 // int -> INT32 map
3378 .int32Operands = {},
3379 // int -> QUANT8_ASYMM map
3380 .quant8AsymmOperands = {},
3381 // int -> QUANT16_SYMM map
3382 .quant16SymmOperands = {},
3383 // int -> FLOAT16 map
3384 .float16Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {-200.0f}}},
3385 // int -> BOOL8 map
3386 .bool8Operands = {},
3387 // int -> QUANT8_SYMM_PER_CHANNEL map
3388 .quant8ChannelOperands = {},
3389 // int -> QUANT16_ASYMM map
3390 .quant16AsymmOperands = {},
3391 // int -> QUANT8_SYMM map
3392 .quant8SymmOperands = {},
3393 },
3394 //Output(s)
3395 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3396 // int -> Dimensions map
3397 .operandDimensions = {{0, {1, 1, 3, 4}}},
3398 // int -> FLOAT32 map
3399 .float32Operands = {},
3400 // int -> INT32 map
3401 .int32Operands = {},
3402 // int -> QUANT8_ASYMM map
3403 .quant8AsymmOperands = {},
3404 // int -> QUANT16_SYMM map
3405 .quant16SymmOperands = {},
3406 // int -> FLOAT16 map
3407 .float16Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
3408 // int -> BOOL8 map
3409 .bool8Operands = {},
3410 // int -> QUANT8_SYMM_PER_CHANNEL map
3411 .quant8ChannelOperands = {},
3412 // int -> QUANT16_ASYMM map
3413 .quant16AsymmOperands = {},
3414 // int -> QUANT8_SYMM map
3415 .quant8SymmOperands = {},
3416 }
3417 },
3418 }, // End of an example
3419 };
3420 return examples_nchw_weight_as_input_float16_2;
3421 };
3422
get_examples_dynamic_output_shape_nhwc_2()3423 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_2() {
3424 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_2 = {
3425 // Begin of an example
3426 {
3427 .operands = {
3428 //Input(s)
3429 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3430 // int -> Dimensions map
3431 .operandDimensions = {{0, {1, 3, 4, 1}}},
3432 // int -> FLOAT32 map
3433 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}},
3434 // int -> INT32 map
3435 .int32Operands = {},
3436 // int -> QUANT8_ASYMM map
3437 .quant8AsymmOperands = {},
3438 // int -> QUANT16_SYMM map
3439 .quant16SymmOperands = {},
3440 // int -> FLOAT16 map
3441 .float16Operands = {},
3442 // int -> BOOL8 map
3443 .bool8Operands = {},
3444 // int -> QUANT8_SYMM_PER_CHANNEL map
3445 .quant8ChannelOperands = {},
3446 // int -> QUANT16_ASYMM map
3447 .quant16AsymmOperands = {},
3448 // int -> QUANT8_SYMM map
3449 .quant8SymmOperands = {},
3450 },
3451 //Output(s)
3452 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3453 // int -> Dimensions map
3454 .operandDimensions = {{0, {1, 3, 4, 1}}},
3455 // int -> FLOAT32 map
3456 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
3457 // int -> INT32 map
3458 .int32Operands = {},
3459 // int -> QUANT8_ASYMM map
3460 .quant8AsymmOperands = {},
3461 // int -> QUANT16_SYMM map
3462 .quant16SymmOperands = {},
3463 // int -> FLOAT16 map
3464 .float16Operands = {},
3465 // int -> BOOL8 map
3466 .bool8Operands = {},
3467 // int -> QUANT8_SYMM_PER_CHANNEL map
3468 .quant8ChannelOperands = {},
3469 // int -> QUANT16_ASYMM map
3470 .quant16AsymmOperands = {},
3471 // int -> QUANT8_SYMM map
3472 .quant8SymmOperands = {},
3473 }
3474 },
3475 }, // End of an example
3476 };
3477 return examples_dynamic_output_shape_nhwc_2;
3478 };
3479
get_examples_dynamic_output_shape_nhwc_relaxed_2()3480 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_relaxed_2() {
3481 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_relaxed_2 = {
3482 // Begin of an example
3483 {
3484 .operands = {
3485 //Input(s)
3486 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3487 // int -> Dimensions map
3488 .operandDimensions = {{0, {1, 3, 4, 1}}},
3489 // int -> FLOAT32 map
3490 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}},
3491 // int -> INT32 map
3492 .int32Operands = {},
3493 // int -> QUANT8_ASYMM map
3494 .quant8AsymmOperands = {},
3495 // int -> QUANT16_SYMM map
3496 .quant16SymmOperands = {},
3497 // int -> FLOAT16 map
3498 .float16Operands = {},
3499 // int -> BOOL8 map
3500 .bool8Operands = {},
3501 // int -> QUANT8_SYMM_PER_CHANNEL map
3502 .quant8ChannelOperands = {},
3503 // int -> QUANT16_ASYMM map
3504 .quant16AsymmOperands = {},
3505 // int -> QUANT8_SYMM map
3506 .quant8SymmOperands = {},
3507 },
3508 //Output(s)
3509 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3510 // int -> Dimensions map
3511 .operandDimensions = {{0, {1, 3, 4, 1}}},
3512 // int -> FLOAT32 map
3513 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
3514 // int -> INT32 map
3515 .int32Operands = {},
3516 // int -> QUANT8_ASYMM map
3517 .quant8AsymmOperands = {},
3518 // int -> QUANT16_SYMM map
3519 .quant16SymmOperands = {},
3520 // int -> FLOAT16 map
3521 .float16Operands = {},
3522 // int -> BOOL8 map
3523 .bool8Operands = {},
3524 // int -> QUANT8_SYMM_PER_CHANNEL map
3525 .quant8ChannelOperands = {},
3526 // int -> QUANT16_ASYMM map
3527 .quant16AsymmOperands = {},
3528 // int -> QUANT8_SYMM map
3529 .quant8SymmOperands = {},
3530 }
3531 },
3532 }, // End of an example
3533 };
3534 return examples_dynamic_output_shape_nhwc_relaxed_2;
3535 };
3536
get_examples_dynamic_output_shape_nhwc_quant8_2()3537 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_quant8_2() {
3538 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_quant8_2 = {
3539 // Begin of an example
3540 {
3541 .operands = {
3542 //Input(s)
3543 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3544 // int -> Dimensions map
3545 .operandDimensions = {{0, {1, 3, 4, 1}}},
3546 // int -> FLOAT32 map
3547 .float32Operands = {},
3548 // int -> INT32 map
3549 .int32Operands = {},
3550 // int -> QUANT8_ASYMM map
3551 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}},
3552 // int -> QUANT16_SYMM map
3553 .quant16SymmOperands = {},
3554 // int -> FLOAT16 map
3555 .float16Operands = {},
3556 // int -> BOOL8 map
3557 .bool8Operands = {},
3558 // int -> QUANT8_SYMM_PER_CHANNEL map
3559 .quant8ChannelOperands = {},
3560 // int -> QUANT16_ASYMM map
3561 .quant16AsymmOperands = {},
3562 // int -> QUANT8_SYMM map
3563 .quant8SymmOperands = {},
3564 },
3565 //Output(s)
3566 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3567 // int -> Dimensions map
3568 .operandDimensions = {{0, {1, 3, 4, 1}}},
3569 // int -> FLOAT32 map
3570 .float32Operands = {},
3571 // int -> INT32 map
3572 .int32Operands = {},
3573 // int -> QUANT8_ASYMM map
3574 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
3575 // int -> QUANT16_SYMM map
3576 .quant16SymmOperands = {},
3577 // int -> FLOAT16 map
3578 .float16Operands = {},
3579 // int -> BOOL8 map
3580 .bool8Operands = {},
3581 // int -> QUANT8_SYMM_PER_CHANNEL map
3582 .quant8ChannelOperands = {},
3583 // int -> QUANT16_ASYMM map
3584 .quant16AsymmOperands = {},
3585 // int -> QUANT8_SYMM map
3586 .quant8SymmOperands = {},
3587 }
3588 },
3589 }, // End of an example
3590 };
3591 return examples_dynamic_output_shape_nhwc_quant8_2;
3592 };
3593
get_examples_dynamic_output_shape_nhwc_channelQuant8_2()3594 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_channelQuant8_2() {
3595 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_channelQuant8_2 = {
3596 // Begin of an example
3597 {
3598 .operands = {
3599 //Input(s)
3600 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3601 // int -> Dimensions map
3602 .operandDimensions = {{0, {1, 3, 4, 1}}},
3603 // int -> FLOAT32 map
3604 .float32Operands = {},
3605 // int -> INT32 map
3606 .int32Operands = {},
3607 // int -> QUANT8_ASYMM map
3608 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}},
3609 // int -> QUANT16_SYMM map
3610 .quant16SymmOperands = {},
3611 // int -> FLOAT16 map
3612 .float16Operands = {},
3613 // int -> BOOL8 map
3614 .bool8Operands = {},
3615 // int -> QUANT8_SYMM_PER_CHANNEL map
3616 .quant8ChannelOperands = {},
3617 // int -> QUANT16_ASYMM map
3618 .quant16AsymmOperands = {},
3619 // int -> QUANT8_SYMM map
3620 .quant8SymmOperands = {},
3621 },
3622 //Output(s)
3623 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3624 // int -> Dimensions map
3625 .operandDimensions = {{0, {1, 3, 4, 1}}},
3626 // int -> FLOAT32 map
3627 .float32Operands = {},
3628 // int -> INT32 map
3629 .int32Operands = {},
3630 // int -> QUANT8_ASYMM map
3631 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
3632 // int -> QUANT16_SYMM map
3633 .quant16SymmOperands = {},
3634 // int -> FLOAT16 map
3635 .float16Operands = {},
3636 // int -> BOOL8 map
3637 .bool8Operands = {},
3638 // int -> QUANT8_SYMM_PER_CHANNEL map
3639 .quant8ChannelOperands = {},
3640 // int -> QUANT16_ASYMM map
3641 .quant16AsymmOperands = {},
3642 // int -> QUANT8_SYMM map
3643 .quant8SymmOperands = {},
3644 }
3645 },
3646 }, // End of an example
3647 };
3648 return examples_dynamic_output_shape_nhwc_channelQuant8_2;
3649 };
3650
get_examples_dynamic_output_shape_nhwc_float16_2()3651 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_float16_2() {
3652 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_float16_2 = {
3653 // Begin of an example
3654 {
3655 .operands = {
3656 //Input(s)
3657 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3658 // int -> Dimensions map
3659 .operandDimensions = {{0, {1, 3, 4, 1}}},
3660 // int -> FLOAT32 map
3661 .float32Operands = {},
3662 // int -> INT32 map
3663 .int32Operands = {},
3664 // int -> QUANT8_ASYMM map
3665 .quant8AsymmOperands = {},
3666 // int -> QUANT16_SYMM map
3667 .quant16SymmOperands = {},
3668 // int -> FLOAT16 map
3669 .float16Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}},
3670 // int -> BOOL8 map
3671 .bool8Operands = {},
3672 // int -> QUANT8_SYMM_PER_CHANNEL map
3673 .quant8ChannelOperands = {},
3674 // int -> QUANT16_ASYMM map
3675 .quant16AsymmOperands = {},
3676 // int -> QUANT8_SYMM map
3677 .quant8SymmOperands = {},
3678 },
3679 //Output(s)
3680 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3681 // int -> Dimensions map
3682 .operandDimensions = {{0, {1, 3, 4, 1}}},
3683 // int -> FLOAT32 map
3684 .float32Operands = {},
3685 // int -> INT32 map
3686 .int32Operands = {},
3687 // int -> QUANT8_ASYMM map
3688 .quant8AsymmOperands = {},
3689 // int -> QUANT16_SYMM map
3690 .quant16SymmOperands = {},
3691 // int -> FLOAT16 map
3692 .float16Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
3693 // int -> BOOL8 map
3694 .bool8Operands = {},
3695 // int -> QUANT8_SYMM_PER_CHANNEL map
3696 .quant8ChannelOperands = {},
3697 // int -> QUANT16_ASYMM map
3698 .quant16AsymmOperands = {},
3699 // int -> QUANT8_SYMM map
3700 .quant8SymmOperands = {},
3701 }
3702 },
3703 }, // End of an example
3704 };
3705 return examples_dynamic_output_shape_nhwc_float16_2;
3706 };
3707
get_examples_dynamic_output_shape_nhwc_weight_as_input_2()3708 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_weight_as_input_2() {
3709 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_weight_as_input_2 = {
3710 // Begin of an example
3711 {
3712 .operands = {
3713 //Input(s)
3714 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3715 // int -> Dimensions map
3716 .operandDimensions = {{0, {1, 3, 4, 1}}, {1, {1, 3, 3, 1}}, {2, {1}}},
3717 // int -> FLOAT32 map
3718 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {-200.0f}}},
3719 // int -> INT32 map
3720 .int32Operands = {},
3721 // int -> QUANT8_ASYMM map
3722 .quant8AsymmOperands = {},
3723 // int -> QUANT16_SYMM map
3724 .quant16SymmOperands = {},
3725 // int -> FLOAT16 map
3726 .float16Operands = {},
3727 // int -> BOOL8 map
3728 .bool8Operands = {},
3729 // int -> QUANT8_SYMM_PER_CHANNEL map
3730 .quant8ChannelOperands = {},
3731 // int -> QUANT16_ASYMM map
3732 .quant16AsymmOperands = {},
3733 // int -> QUANT8_SYMM map
3734 .quant8SymmOperands = {},
3735 },
3736 //Output(s)
3737 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3738 // int -> Dimensions map
3739 .operandDimensions = {{0, {1, 3, 4, 1}}},
3740 // int -> FLOAT32 map
3741 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
3742 // int -> INT32 map
3743 .int32Operands = {},
3744 // int -> QUANT8_ASYMM map
3745 .quant8AsymmOperands = {},
3746 // int -> QUANT16_SYMM map
3747 .quant16SymmOperands = {},
3748 // int -> FLOAT16 map
3749 .float16Operands = {},
3750 // int -> BOOL8 map
3751 .bool8Operands = {},
3752 // int -> QUANT8_SYMM_PER_CHANNEL map
3753 .quant8ChannelOperands = {},
3754 // int -> QUANT16_ASYMM map
3755 .quant16AsymmOperands = {},
3756 // int -> QUANT8_SYMM map
3757 .quant8SymmOperands = {},
3758 }
3759 },
3760 }, // End of an example
3761 };
3762 return examples_dynamic_output_shape_nhwc_weight_as_input_2;
3763 };
3764
get_examples_dynamic_output_shape_nhwc_weight_as_input_relaxed_2()3765 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_weight_as_input_relaxed_2() {
3766 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_weight_as_input_relaxed_2 = {
3767 // Begin of an example
3768 {
3769 .operands = {
3770 //Input(s)
3771 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3772 // int -> Dimensions map
3773 .operandDimensions = {{0, {1, 3, 4, 1}}, {1, {1, 3, 3, 1}}, {2, {1}}},
3774 // int -> FLOAT32 map
3775 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {-200.0f}}},
3776 // int -> INT32 map
3777 .int32Operands = {},
3778 // int -> QUANT8_ASYMM map
3779 .quant8AsymmOperands = {},
3780 // int -> QUANT16_SYMM map
3781 .quant16SymmOperands = {},
3782 // int -> FLOAT16 map
3783 .float16Operands = {},
3784 // int -> BOOL8 map
3785 .bool8Operands = {},
3786 // int -> QUANT8_SYMM_PER_CHANNEL map
3787 .quant8ChannelOperands = {},
3788 // int -> QUANT16_ASYMM map
3789 .quant16AsymmOperands = {},
3790 // int -> QUANT8_SYMM map
3791 .quant8SymmOperands = {},
3792 },
3793 //Output(s)
3794 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3795 // int -> Dimensions map
3796 .operandDimensions = {{0, {1, 3, 4, 1}}},
3797 // int -> FLOAT32 map
3798 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
3799 // int -> INT32 map
3800 .int32Operands = {},
3801 // int -> QUANT8_ASYMM map
3802 .quant8AsymmOperands = {},
3803 // int -> QUANT16_SYMM map
3804 .quant16SymmOperands = {},
3805 // int -> FLOAT16 map
3806 .float16Operands = {},
3807 // int -> BOOL8 map
3808 .bool8Operands = {},
3809 // int -> QUANT8_SYMM_PER_CHANNEL map
3810 .quant8ChannelOperands = {},
3811 // int -> QUANT16_ASYMM map
3812 .quant16AsymmOperands = {},
3813 // int -> QUANT8_SYMM map
3814 .quant8SymmOperands = {},
3815 }
3816 },
3817 }, // End of an example
3818 };
3819 return examples_dynamic_output_shape_nhwc_weight_as_input_relaxed_2;
3820 };
3821
get_examples_dynamic_output_shape_nhwc_weight_as_input_quant8_2()3822 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_weight_as_input_quant8_2() {
3823 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_weight_as_input_quant8_2 = {
3824 // Begin of an example
3825 {
3826 .operands = {
3827 //Input(s)
3828 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3829 // int -> Dimensions map
3830 .operandDimensions = {{0, {1, 3, 4, 1}}, {1, {1, 3, 3, 1}}, {2, {1}}},
3831 // int -> FLOAT32 map
3832 .float32Operands = {},
3833 // int -> INT32 map
3834 .int32Operands = {{2, {-800}}},
3835 // int -> QUANT8_ASYMM map
3836 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}, {1, {129, 135, 141, 131, 137, 143, 133, 139, 145}}},
3837 // int -> QUANT16_SYMM map
3838 .quant16SymmOperands = {},
3839 // int -> FLOAT16 map
3840 .float16Operands = {},
3841 // int -> BOOL8 map
3842 .bool8Operands = {},
3843 // int -> QUANT8_SYMM_PER_CHANNEL map
3844 .quant8ChannelOperands = {},
3845 // int -> QUANT16_ASYMM map
3846 .quant16AsymmOperands = {},
3847 // int -> QUANT8_SYMM map
3848 .quant8SymmOperands = {},
3849 },
3850 //Output(s)
3851 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3852 // int -> Dimensions map
3853 .operandDimensions = {{0, {1, 3, 4, 1}}},
3854 // int -> FLOAT32 map
3855 .float32Operands = {},
3856 // int -> INT32 map
3857 .int32Operands = {},
3858 // int -> QUANT8_ASYMM map
3859 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
3860 // int -> QUANT16_SYMM map
3861 .quant16SymmOperands = {},
3862 // int -> FLOAT16 map
3863 .float16Operands = {},
3864 // int -> BOOL8 map
3865 .bool8Operands = {},
3866 // int -> QUANT8_SYMM_PER_CHANNEL map
3867 .quant8ChannelOperands = {},
3868 // int -> QUANT16_ASYMM map
3869 .quant16AsymmOperands = {},
3870 // int -> QUANT8_SYMM map
3871 .quant8SymmOperands = {},
3872 }
3873 },
3874 }, // End of an example
3875 };
3876 return examples_dynamic_output_shape_nhwc_weight_as_input_quant8_2;
3877 };
3878
get_examples_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2()3879 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2() {
3880 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2 = {
3881 // Begin of an example
3882 {
3883 .operands = {
3884 //Input(s)
3885 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3886 // int -> Dimensions map
3887 .operandDimensions = {{0, {1, 3, 4, 1}}, {1, {1, 3, 3, 1}}, {2, {1}}},
3888 // int -> FLOAT32 map
3889 .float32Operands = {},
3890 // int -> INT32 map
3891 .int32Operands = {{2, {-800}}},
3892 // int -> QUANT8_ASYMM map
3893 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}},
3894 // int -> QUANT16_SYMM map
3895 .quant16SymmOperands = {},
3896 // int -> FLOAT16 map
3897 .float16Operands = {},
3898 // int -> BOOL8 map
3899 .bool8Operands = {},
3900 // int -> QUANT8_SYMM_PER_CHANNEL map
3901 .quant8ChannelOperands = {{1, {2, 8, 14, 4, 10, 16, 6, 12, 18}}},
3902 // int -> QUANT16_ASYMM map
3903 .quant16AsymmOperands = {},
3904 // int -> QUANT8_SYMM map
3905 .quant8SymmOperands = {},
3906 },
3907 //Output(s)
3908 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3909 // int -> Dimensions map
3910 .operandDimensions = {{0, {1, 3, 4, 1}}},
3911 // int -> FLOAT32 map
3912 .float32Operands = {},
3913 // int -> INT32 map
3914 .int32Operands = {},
3915 // int -> QUANT8_ASYMM map
3916 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
3917 // int -> QUANT16_SYMM map
3918 .quant16SymmOperands = {},
3919 // int -> FLOAT16 map
3920 .float16Operands = {},
3921 // int -> BOOL8 map
3922 .bool8Operands = {},
3923 // int -> QUANT8_SYMM_PER_CHANNEL map
3924 .quant8ChannelOperands = {},
3925 // int -> QUANT16_ASYMM map
3926 .quant16AsymmOperands = {},
3927 // int -> QUANT8_SYMM map
3928 .quant8SymmOperands = {},
3929 }
3930 },
3931 }, // End of an example
3932 };
3933 return examples_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2;
3934 };
3935
get_examples_dynamic_output_shape_nhwc_weight_as_input_float16_2()3936 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nhwc_weight_as_input_float16_2() {
3937 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nhwc_weight_as_input_float16_2 = {
3938 // Begin of an example
3939 {
3940 .operands = {
3941 //Input(s)
3942 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3943 // int -> Dimensions map
3944 .operandDimensions = {{0, {1, 3, 4, 1}}, {1, {1, 3, 3, 1}}, {2, {1}}},
3945 // int -> FLOAT32 map
3946 .float32Operands = {},
3947 // int -> INT32 map
3948 .int32Operands = {},
3949 // int -> QUANT8_ASYMM map
3950 .quant8AsymmOperands = {},
3951 // int -> QUANT16_SYMM map
3952 .quant16SymmOperands = {},
3953 // int -> FLOAT16 map
3954 .float16Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {-200.0f}}},
3955 // int -> BOOL8 map
3956 .bool8Operands = {},
3957 // int -> QUANT8_SYMM_PER_CHANNEL map
3958 .quant8ChannelOperands = {},
3959 // int -> QUANT16_ASYMM map
3960 .quant16AsymmOperands = {},
3961 // int -> QUANT8_SYMM map
3962 .quant8SymmOperands = {},
3963 },
3964 //Output(s)
3965 { // See tools/test_generator/include/TestHarness.h:MixedTyped
3966 // int -> Dimensions map
3967 .operandDimensions = {{0, {1, 3, 4, 1}}},
3968 // int -> FLOAT32 map
3969 .float32Operands = {},
3970 // int -> INT32 map
3971 .int32Operands = {},
3972 // int -> QUANT8_ASYMM map
3973 .quant8AsymmOperands = {},
3974 // int -> QUANT16_SYMM map
3975 .quant16SymmOperands = {},
3976 // int -> FLOAT16 map
3977 .float16Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
3978 // int -> BOOL8 map
3979 .bool8Operands = {},
3980 // int -> QUANT8_SYMM_PER_CHANNEL map
3981 .quant8ChannelOperands = {},
3982 // int -> QUANT16_ASYMM map
3983 .quant16AsymmOperands = {},
3984 // int -> QUANT8_SYMM map
3985 .quant8SymmOperands = {},
3986 }
3987 },
3988 }, // End of an example
3989 };
3990 return examples_dynamic_output_shape_nhwc_weight_as_input_float16_2;
3991 };
3992
get_examples_dynamic_output_shape_nchw_2()3993 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_2() {
3994 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_2 = {
3995 // Begin of an example
3996 {
3997 .operands = {
3998 //Input(s)
3999 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4000 // int -> Dimensions map
4001 .operandDimensions = {{0, {1, 1, 3, 4}}},
4002 // int -> FLOAT32 map
4003 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}},
4004 // int -> INT32 map
4005 .int32Operands = {},
4006 // int -> QUANT8_ASYMM map
4007 .quant8AsymmOperands = {},
4008 // int -> QUANT16_SYMM map
4009 .quant16SymmOperands = {},
4010 // int -> FLOAT16 map
4011 .float16Operands = {},
4012 // int -> BOOL8 map
4013 .bool8Operands = {},
4014 // int -> QUANT8_SYMM_PER_CHANNEL map
4015 .quant8ChannelOperands = {},
4016 // int -> QUANT16_ASYMM map
4017 .quant16AsymmOperands = {},
4018 // int -> QUANT8_SYMM map
4019 .quant8SymmOperands = {},
4020 },
4021 //Output(s)
4022 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4023 // int -> Dimensions map
4024 .operandDimensions = {{0, {1, 1, 3, 4}}},
4025 // int -> FLOAT32 map
4026 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
4027 // int -> INT32 map
4028 .int32Operands = {},
4029 // int -> QUANT8_ASYMM map
4030 .quant8AsymmOperands = {},
4031 // int -> QUANT16_SYMM map
4032 .quant16SymmOperands = {},
4033 // int -> FLOAT16 map
4034 .float16Operands = {},
4035 // int -> BOOL8 map
4036 .bool8Operands = {},
4037 // int -> QUANT8_SYMM_PER_CHANNEL map
4038 .quant8ChannelOperands = {},
4039 // int -> QUANT16_ASYMM map
4040 .quant16AsymmOperands = {},
4041 // int -> QUANT8_SYMM map
4042 .quant8SymmOperands = {},
4043 }
4044 },
4045 }, // End of an example
4046 };
4047 return examples_dynamic_output_shape_nchw_2;
4048 };
4049
get_examples_dynamic_output_shape_nchw_relaxed_2()4050 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_relaxed_2() {
4051 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_relaxed_2 = {
4052 // Begin of an example
4053 {
4054 .operands = {
4055 //Input(s)
4056 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4057 // int -> Dimensions map
4058 .operandDimensions = {{0, {1, 1, 3, 4}}},
4059 // int -> FLOAT32 map
4060 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}},
4061 // int -> INT32 map
4062 .int32Operands = {},
4063 // int -> QUANT8_ASYMM map
4064 .quant8AsymmOperands = {},
4065 // int -> QUANT16_SYMM map
4066 .quant16SymmOperands = {},
4067 // int -> FLOAT16 map
4068 .float16Operands = {},
4069 // int -> BOOL8 map
4070 .bool8Operands = {},
4071 // int -> QUANT8_SYMM_PER_CHANNEL map
4072 .quant8ChannelOperands = {},
4073 // int -> QUANT16_ASYMM map
4074 .quant16AsymmOperands = {},
4075 // int -> QUANT8_SYMM map
4076 .quant8SymmOperands = {},
4077 },
4078 //Output(s)
4079 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4080 // int -> Dimensions map
4081 .operandDimensions = {{0, {1, 1, 3, 4}}},
4082 // int -> FLOAT32 map
4083 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
4084 // int -> INT32 map
4085 .int32Operands = {},
4086 // int -> QUANT8_ASYMM map
4087 .quant8AsymmOperands = {},
4088 // int -> QUANT16_SYMM map
4089 .quant16SymmOperands = {},
4090 // int -> FLOAT16 map
4091 .float16Operands = {},
4092 // int -> BOOL8 map
4093 .bool8Operands = {},
4094 // int -> QUANT8_SYMM_PER_CHANNEL map
4095 .quant8ChannelOperands = {},
4096 // int -> QUANT16_ASYMM map
4097 .quant16AsymmOperands = {},
4098 // int -> QUANT8_SYMM map
4099 .quant8SymmOperands = {},
4100 }
4101 },
4102 }, // End of an example
4103 };
4104 return examples_dynamic_output_shape_nchw_relaxed_2;
4105 };
4106
get_examples_dynamic_output_shape_nchw_quant8_2()4107 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_quant8_2() {
4108 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_quant8_2 = {
4109 // Begin of an example
4110 {
4111 .operands = {
4112 //Input(s)
4113 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4114 // int -> Dimensions map
4115 .operandDimensions = {{0, {1, 1, 3, 4}}},
4116 // int -> FLOAT32 map
4117 .float32Operands = {},
4118 // int -> INT32 map
4119 .int32Operands = {},
4120 // int -> QUANT8_ASYMM map
4121 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}},
4122 // int -> QUANT16_SYMM map
4123 .quant16SymmOperands = {},
4124 // int -> FLOAT16 map
4125 .float16Operands = {},
4126 // int -> BOOL8 map
4127 .bool8Operands = {},
4128 // int -> QUANT8_SYMM_PER_CHANNEL map
4129 .quant8ChannelOperands = {},
4130 // int -> QUANT16_ASYMM map
4131 .quant16AsymmOperands = {},
4132 // int -> QUANT8_SYMM map
4133 .quant8SymmOperands = {},
4134 },
4135 //Output(s)
4136 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4137 // int -> Dimensions map
4138 .operandDimensions = {{0, {1, 1, 3, 4}}},
4139 // int -> FLOAT32 map
4140 .float32Operands = {},
4141 // int -> INT32 map
4142 .int32Operands = {},
4143 // int -> QUANT8_ASYMM map
4144 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
4145 // int -> QUANT16_SYMM map
4146 .quant16SymmOperands = {},
4147 // int -> FLOAT16 map
4148 .float16Operands = {},
4149 // int -> BOOL8 map
4150 .bool8Operands = {},
4151 // int -> QUANT8_SYMM_PER_CHANNEL map
4152 .quant8ChannelOperands = {},
4153 // int -> QUANT16_ASYMM map
4154 .quant16AsymmOperands = {},
4155 // int -> QUANT8_SYMM map
4156 .quant8SymmOperands = {},
4157 }
4158 },
4159 }, // End of an example
4160 };
4161 return examples_dynamic_output_shape_nchw_quant8_2;
4162 };
4163
get_examples_dynamic_output_shape_nchw_channelQuant8_2()4164 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_channelQuant8_2() {
4165 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_channelQuant8_2 = {
4166 // Begin of an example
4167 {
4168 .operands = {
4169 //Input(s)
4170 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4171 // int -> Dimensions map
4172 .operandDimensions = {{0, {1, 1, 3, 4}}},
4173 // int -> FLOAT32 map
4174 .float32Operands = {},
4175 // int -> INT32 map
4176 .int32Operands = {},
4177 // int -> QUANT8_ASYMM map
4178 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}},
4179 // int -> QUANT16_SYMM map
4180 .quant16SymmOperands = {},
4181 // int -> FLOAT16 map
4182 .float16Operands = {},
4183 // int -> BOOL8 map
4184 .bool8Operands = {},
4185 // int -> QUANT8_SYMM_PER_CHANNEL map
4186 .quant8ChannelOperands = {},
4187 // int -> QUANT16_ASYMM map
4188 .quant16AsymmOperands = {},
4189 // int -> QUANT8_SYMM map
4190 .quant8SymmOperands = {},
4191 },
4192 //Output(s)
4193 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4194 // int -> Dimensions map
4195 .operandDimensions = {{0, {1, 1, 3, 4}}},
4196 // int -> FLOAT32 map
4197 .float32Operands = {},
4198 // int -> INT32 map
4199 .int32Operands = {},
4200 // int -> QUANT8_ASYMM map
4201 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
4202 // int -> QUANT16_SYMM map
4203 .quant16SymmOperands = {},
4204 // int -> FLOAT16 map
4205 .float16Operands = {},
4206 // int -> BOOL8 map
4207 .bool8Operands = {},
4208 // int -> QUANT8_SYMM_PER_CHANNEL map
4209 .quant8ChannelOperands = {},
4210 // int -> QUANT16_ASYMM map
4211 .quant16AsymmOperands = {},
4212 // int -> QUANT8_SYMM map
4213 .quant8SymmOperands = {},
4214 }
4215 },
4216 }, // End of an example
4217 };
4218 return examples_dynamic_output_shape_nchw_channelQuant8_2;
4219 };
4220
get_examples_dynamic_output_shape_nchw_float16_2()4221 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_float16_2() {
4222 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_float16_2 = {
4223 // Begin of an example
4224 {
4225 .operands = {
4226 //Input(s)
4227 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4228 // int -> Dimensions map
4229 .operandDimensions = {{0, {1, 1, 3, 4}}},
4230 // int -> FLOAT32 map
4231 .float32Operands = {},
4232 // int -> INT32 map
4233 .int32Operands = {},
4234 // int -> QUANT8_ASYMM map
4235 .quant8AsymmOperands = {},
4236 // int -> QUANT16_SYMM map
4237 .quant16SymmOperands = {},
4238 // int -> FLOAT16 map
4239 .float16Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}},
4240 // int -> BOOL8 map
4241 .bool8Operands = {},
4242 // int -> QUANT8_SYMM_PER_CHANNEL map
4243 .quant8ChannelOperands = {},
4244 // int -> QUANT16_ASYMM map
4245 .quant16AsymmOperands = {},
4246 // int -> QUANT8_SYMM map
4247 .quant8SymmOperands = {},
4248 },
4249 //Output(s)
4250 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4251 // int -> Dimensions map
4252 .operandDimensions = {{0, {1, 1, 3, 4}}},
4253 // int -> FLOAT32 map
4254 .float32Operands = {},
4255 // int -> INT32 map
4256 .int32Operands = {},
4257 // int -> QUANT8_ASYMM map
4258 .quant8AsymmOperands = {},
4259 // int -> QUANT16_SYMM map
4260 .quant16SymmOperands = {},
4261 // int -> FLOAT16 map
4262 .float16Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
4263 // int -> BOOL8 map
4264 .bool8Operands = {},
4265 // int -> QUANT8_SYMM_PER_CHANNEL map
4266 .quant8ChannelOperands = {},
4267 // int -> QUANT16_ASYMM map
4268 .quant16AsymmOperands = {},
4269 // int -> QUANT8_SYMM map
4270 .quant8SymmOperands = {},
4271 }
4272 },
4273 }, // End of an example
4274 };
4275 return examples_dynamic_output_shape_nchw_float16_2;
4276 };
4277
get_examples_dynamic_output_shape_nchw_weight_as_input_2()4278 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_weight_as_input_2() {
4279 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_weight_as_input_2 = {
4280 // Begin of an example
4281 {
4282 .operands = {
4283 //Input(s)
4284 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4285 // int -> Dimensions map
4286 .operandDimensions = {{0, {1, 1, 3, 4}}, {1, {1, 3, 3, 1}}, {2, {1}}},
4287 // int -> FLOAT32 map
4288 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {-200.0f}}},
4289 // int -> INT32 map
4290 .int32Operands = {},
4291 // int -> QUANT8_ASYMM map
4292 .quant8AsymmOperands = {},
4293 // int -> QUANT16_SYMM map
4294 .quant16SymmOperands = {},
4295 // int -> FLOAT16 map
4296 .float16Operands = {},
4297 // int -> BOOL8 map
4298 .bool8Operands = {},
4299 // int -> QUANT8_SYMM_PER_CHANNEL map
4300 .quant8ChannelOperands = {},
4301 // int -> QUANT16_ASYMM map
4302 .quant16AsymmOperands = {},
4303 // int -> QUANT8_SYMM map
4304 .quant8SymmOperands = {},
4305 },
4306 //Output(s)
4307 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4308 // int -> Dimensions map
4309 .operandDimensions = {{0, {1, 1, 3, 4}}},
4310 // int -> FLOAT32 map
4311 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
4312 // int -> INT32 map
4313 .int32Operands = {},
4314 // int -> QUANT8_ASYMM map
4315 .quant8AsymmOperands = {},
4316 // int -> QUANT16_SYMM map
4317 .quant16SymmOperands = {},
4318 // int -> FLOAT16 map
4319 .float16Operands = {},
4320 // int -> BOOL8 map
4321 .bool8Operands = {},
4322 // int -> QUANT8_SYMM_PER_CHANNEL map
4323 .quant8ChannelOperands = {},
4324 // int -> QUANT16_ASYMM map
4325 .quant16AsymmOperands = {},
4326 // int -> QUANT8_SYMM map
4327 .quant8SymmOperands = {},
4328 }
4329 },
4330 }, // End of an example
4331 };
4332 return examples_dynamic_output_shape_nchw_weight_as_input_2;
4333 };
4334
get_examples_dynamic_output_shape_nchw_weight_as_input_relaxed_2()4335 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_weight_as_input_relaxed_2() {
4336 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_weight_as_input_relaxed_2 = {
4337 // Begin of an example
4338 {
4339 .operands = {
4340 //Input(s)
4341 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4342 // int -> Dimensions map
4343 .operandDimensions = {{0, {1, 1, 3, 4}}, {1, {1, 3, 3, 1}}, {2, {1}}},
4344 // int -> FLOAT32 map
4345 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {-200.0f}}},
4346 // int -> INT32 map
4347 .int32Operands = {},
4348 // int -> QUANT8_ASYMM map
4349 .quant8AsymmOperands = {},
4350 // int -> QUANT16_SYMM map
4351 .quant16SymmOperands = {},
4352 // int -> FLOAT16 map
4353 .float16Operands = {},
4354 // int -> BOOL8 map
4355 .bool8Operands = {},
4356 // int -> QUANT8_SYMM_PER_CHANNEL map
4357 .quant8ChannelOperands = {},
4358 // int -> QUANT16_ASYMM map
4359 .quant16AsymmOperands = {},
4360 // int -> QUANT8_SYMM map
4361 .quant8SymmOperands = {},
4362 },
4363 //Output(s)
4364 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4365 // int -> Dimensions map
4366 .operandDimensions = {{0, {1, 1, 3, 4}}},
4367 // int -> FLOAT32 map
4368 .float32Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
4369 // int -> INT32 map
4370 .int32Operands = {},
4371 // int -> QUANT8_ASYMM map
4372 .quant8AsymmOperands = {},
4373 // int -> QUANT16_SYMM map
4374 .quant16SymmOperands = {},
4375 // int -> FLOAT16 map
4376 .float16Operands = {},
4377 // int -> BOOL8 map
4378 .bool8Operands = {},
4379 // int -> QUANT8_SYMM_PER_CHANNEL map
4380 .quant8ChannelOperands = {},
4381 // int -> QUANT16_ASYMM map
4382 .quant16AsymmOperands = {},
4383 // int -> QUANT8_SYMM map
4384 .quant8SymmOperands = {},
4385 }
4386 },
4387 }, // End of an example
4388 };
4389 return examples_dynamic_output_shape_nchw_weight_as_input_relaxed_2;
4390 };
4391
get_examples_dynamic_output_shape_nchw_weight_as_input_quant8_2()4392 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_weight_as_input_quant8_2() {
4393 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_weight_as_input_quant8_2 = {
4394 // Begin of an example
4395 {
4396 .operands = {
4397 //Input(s)
4398 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4399 // int -> Dimensions map
4400 .operandDimensions = {{0, {1, 1, 3, 4}}, {1, {1, 3, 3, 1}}, {2, {1}}},
4401 // int -> FLOAT32 map
4402 .float32Operands = {},
4403 // int -> INT32 map
4404 .int32Operands = {{2, {-800}}},
4405 // int -> QUANT8_ASYMM map
4406 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}, {1, {129, 135, 141, 131, 137, 143, 133, 139, 145}}},
4407 // int -> QUANT16_SYMM map
4408 .quant16SymmOperands = {},
4409 // int -> FLOAT16 map
4410 .float16Operands = {},
4411 // int -> BOOL8 map
4412 .bool8Operands = {},
4413 // int -> QUANT8_SYMM_PER_CHANNEL map
4414 .quant8ChannelOperands = {},
4415 // int -> QUANT16_ASYMM map
4416 .quant16AsymmOperands = {},
4417 // int -> QUANT8_SYMM map
4418 .quant8SymmOperands = {},
4419 },
4420 //Output(s)
4421 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4422 // int -> Dimensions map
4423 .operandDimensions = {{0, {1, 1, 3, 4}}},
4424 // int -> FLOAT32 map
4425 .float32Operands = {},
4426 // int -> INT32 map
4427 .int32Operands = {},
4428 // int -> QUANT8_ASYMM map
4429 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
4430 // int -> QUANT16_SYMM map
4431 .quant16SymmOperands = {},
4432 // int -> FLOAT16 map
4433 .float16Operands = {},
4434 // int -> BOOL8 map
4435 .bool8Operands = {},
4436 // int -> QUANT8_SYMM_PER_CHANNEL map
4437 .quant8ChannelOperands = {},
4438 // int -> QUANT16_ASYMM map
4439 .quant16AsymmOperands = {},
4440 // int -> QUANT8_SYMM map
4441 .quant8SymmOperands = {},
4442 }
4443 },
4444 }, // End of an example
4445 };
4446 return examples_dynamic_output_shape_nchw_weight_as_input_quant8_2;
4447 };
4448
get_examples_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2()4449 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2() {
4450 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2 = {
4451 // Begin of an example
4452 {
4453 .operands = {
4454 //Input(s)
4455 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4456 // int -> Dimensions map
4457 .operandDimensions = {{0, {1, 1, 3, 4}}, {1, {1, 3, 3, 1}}, {2, {1}}},
4458 // int -> FLOAT32 map
4459 .float32Operands = {},
4460 // int -> INT32 map
4461 .int32Operands = {{2, {-800}}},
4462 // int -> QUANT8_ASYMM map
4463 .quant8AsymmOperands = {{0, {129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151}}},
4464 // int -> QUANT16_SYMM map
4465 .quant16SymmOperands = {},
4466 // int -> FLOAT16 map
4467 .float16Operands = {},
4468 // int -> BOOL8 map
4469 .bool8Operands = {},
4470 // int -> QUANT8_SYMM_PER_CHANNEL map
4471 .quant8ChannelOperands = {{1, {2, 8, 14, 4, 10, 16, 6, 12, 18}}},
4472 // int -> QUANT16_ASYMM map
4473 .quant16AsymmOperands = {},
4474 // int -> QUANT8_SYMM map
4475 .quant8SymmOperands = {},
4476 },
4477 //Output(s)
4478 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4479 // int -> Dimensions map
4480 .operandDimensions = {{0, {1, 1, 3, 4}}},
4481 // int -> FLOAT32 map
4482 .float32Operands = {},
4483 // int -> INT32 map
4484 .int32Operands = {},
4485 // int -> QUANT8_ASYMM map
4486 .quant8AsymmOperands = {{0, {50, 50, 50, 50, 85, 162, 207, 50, 50, 84, 111, 50}}},
4487 // int -> QUANT16_SYMM map
4488 .quant16SymmOperands = {},
4489 // int -> FLOAT16 map
4490 .float16Operands = {},
4491 // int -> BOOL8 map
4492 .bool8Operands = {},
4493 // int -> QUANT8_SYMM_PER_CHANNEL map
4494 .quant8ChannelOperands = {},
4495 // int -> QUANT16_ASYMM map
4496 .quant16AsymmOperands = {},
4497 // int -> QUANT8_SYMM map
4498 .quant8SymmOperands = {},
4499 }
4500 },
4501 }, // End of an example
4502 };
4503 return examples_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2;
4504 };
4505
get_examples_dynamic_output_shape_nchw_weight_as_input_float16_2()4506 std::vector<MixedTypedExample>& get_examples_dynamic_output_shape_nchw_weight_as_input_float16_2() {
4507 static std::vector<MixedTypedExample> examples_dynamic_output_shape_nchw_weight_as_input_float16_2 = {
4508 // Begin of an example
4509 {
4510 .operands = {
4511 //Input(s)
4512 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4513 // int -> Dimensions map
4514 .operandDimensions = {{0, {1, 1, 3, 4}}, {1, {1, 3, 3, 1}}, {2, {1}}},
4515 // int -> FLOAT32 map
4516 .float32Operands = {},
4517 // int -> INT32 map
4518 .int32Operands = {},
4519 // int -> QUANT8_ASYMM map
4520 .quant8AsymmOperands = {},
4521 // int -> QUANT16_SYMM map
4522 .quant16SymmOperands = {},
4523 // int -> FLOAT16 map
4524 .float16Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {-200.0f}}},
4525 // int -> BOOL8 map
4526 .bool8Operands = {},
4527 // int -> QUANT8_SYMM_PER_CHANNEL map
4528 .quant8ChannelOperands = {},
4529 // int -> QUANT16_ASYMM map
4530 .quant16AsymmOperands = {},
4531 // int -> QUANT8_SYMM map
4532 .quant8SymmOperands = {},
4533 },
4534 //Output(s)
4535 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4536 // int -> Dimensions map
4537 .operandDimensions = {{0, {1, 1, 3, 4}}},
4538 // int -> FLOAT32 map
4539 .float32Operands = {},
4540 // int -> INT32 map
4541 .int32Operands = {},
4542 // int -> QUANT8_ASYMM map
4543 .quant8AsymmOperands = {},
4544 // int -> QUANT16_SYMM map
4545 .quant16SymmOperands = {},
4546 // int -> FLOAT16 map
4547 .float16Operands = {{0, {0.0f, 0.0f, 0.0f, 0.0f, 35.0f, 112.0f, 157.0f, 0.0f, 0.0f, 34.0f, 61.0f, 0.0f}}},
4548 // int -> BOOL8 map
4549 .bool8Operands = {},
4550 // int -> QUANT8_SYMM_PER_CHANNEL map
4551 .quant8ChannelOperands = {},
4552 // int -> QUANT16_ASYMM map
4553 .quant16AsymmOperands = {},
4554 // int -> QUANT8_SYMM map
4555 .quant8SymmOperands = {},
4556 }
4557 },
4558 }, // End of an example
4559 };
4560 return examples_dynamic_output_shape_nchw_weight_as_input_float16_2;
4561 };
4562
get_examples_channel_nhwc()4563 std::vector<MixedTypedExample>& get_examples_channel_nhwc() {
4564 static std::vector<MixedTypedExample> examples_channel_nhwc = {
4565 // Begin of an example
4566 {
4567 .operands = {
4568 //Input(s)
4569 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4570 // int -> Dimensions map
4571 .operandDimensions = {{0, {1, 1, 1, 3}}},
4572 // int -> FLOAT32 map
4573 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}},
4574 // int -> INT32 map
4575 .int32Operands = {},
4576 // int -> QUANT8_ASYMM map
4577 .quant8AsymmOperands = {},
4578 // int -> QUANT16_SYMM map
4579 .quant16SymmOperands = {},
4580 // int -> FLOAT16 map
4581 .float16Operands = {},
4582 // int -> BOOL8 map
4583 .bool8Operands = {},
4584 // int -> QUANT8_SYMM_PER_CHANNEL map
4585 .quant8ChannelOperands = {},
4586 // int -> QUANT16_ASYMM map
4587 .quant16AsymmOperands = {},
4588 // int -> QUANT8_SYMM map
4589 .quant8SymmOperands = {},
4590 },
4591 //Output(s)
4592 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4593 // int -> Dimensions map
4594 .operandDimensions = {{0, {1, 1, 1, 3}}},
4595 // int -> FLOAT32 map
4596 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
4597 // int -> INT32 map
4598 .int32Operands = {},
4599 // int -> QUANT8_ASYMM map
4600 .quant8AsymmOperands = {},
4601 // int -> QUANT16_SYMM map
4602 .quant16SymmOperands = {},
4603 // int -> FLOAT16 map
4604 .float16Operands = {},
4605 // int -> BOOL8 map
4606 .bool8Operands = {},
4607 // int -> QUANT8_SYMM_PER_CHANNEL map
4608 .quant8ChannelOperands = {},
4609 // int -> QUANT16_ASYMM map
4610 .quant16AsymmOperands = {},
4611 // int -> QUANT8_SYMM map
4612 .quant8SymmOperands = {},
4613 }
4614 },
4615 }, // End of an example
4616 };
4617 return examples_channel_nhwc;
4618 };
4619
get_examples_channel_nhwc_relaxed()4620 std::vector<MixedTypedExample>& get_examples_channel_nhwc_relaxed() {
4621 static std::vector<MixedTypedExample> examples_channel_nhwc_relaxed = {
4622 // Begin of an example
4623 {
4624 .operands = {
4625 //Input(s)
4626 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4627 // int -> Dimensions map
4628 .operandDimensions = {{0, {1, 1, 1, 3}}},
4629 // int -> FLOAT32 map
4630 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}},
4631 // int -> INT32 map
4632 .int32Operands = {},
4633 // int -> QUANT8_ASYMM map
4634 .quant8AsymmOperands = {},
4635 // int -> QUANT16_SYMM map
4636 .quant16SymmOperands = {},
4637 // int -> FLOAT16 map
4638 .float16Operands = {},
4639 // int -> BOOL8 map
4640 .bool8Operands = {},
4641 // int -> QUANT8_SYMM_PER_CHANNEL map
4642 .quant8ChannelOperands = {},
4643 // int -> QUANT16_ASYMM map
4644 .quant16AsymmOperands = {},
4645 // int -> QUANT8_SYMM map
4646 .quant8SymmOperands = {},
4647 },
4648 //Output(s)
4649 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4650 // int -> Dimensions map
4651 .operandDimensions = {{0, {1, 1, 1, 3}}},
4652 // int -> FLOAT32 map
4653 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
4654 // int -> INT32 map
4655 .int32Operands = {},
4656 // int -> QUANT8_ASYMM map
4657 .quant8AsymmOperands = {},
4658 // int -> QUANT16_SYMM map
4659 .quant16SymmOperands = {},
4660 // int -> FLOAT16 map
4661 .float16Operands = {},
4662 // int -> BOOL8 map
4663 .bool8Operands = {},
4664 // int -> QUANT8_SYMM_PER_CHANNEL map
4665 .quant8ChannelOperands = {},
4666 // int -> QUANT16_ASYMM map
4667 .quant16AsymmOperands = {},
4668 // int -> QUANT8_SYMM map
4669 .quant8SymmOperands = {},
4670 }
4671 },
4672 }, // End of an example
4673 };
4674 return examples_channel_nhwc_relaxed;
4675 };
4676
get_examples_channel_nhwc_quant8()4677 std::vector<MixedTypedExample>& get_examples_channel_nhwc_quant8() {
4678 static std::vector<MixedTypedExample> examples_channel_nhwc_quant8 = {
4679 // Begin of an example
4680 {
4681 .operands = {
4682 //Input(s)
4683 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4684 // int -> Dimensions map
4685 .operandDimensions = {{0, {1, 1, 1, 3}}},
4686 // int -> FLOAT32 map
4687 .float32Operands = {},
4688 // int -> INT32 map
4689 .int32Operands = {},
4690 // int -> QUANT8_ASYMM map
4691 .quant8AsymmOperands = {{0, {10, 10, 10}}},
4692 // int -> QUANT16_SYMM map
4693 .quant16SymmOperands = {},
4694 // int -> FLOAT16 map
4695 .float16Operands = {},
4696 // int -> BOOL8 map
4697 .bool8Operands = {},
4698 // int -> QUANT8_SYMM_PER_CHANNEL map
4699 .quant8ChannelOperands = {},
4700 // int -> QUANT16_ASYMM map
4701 .quant16AsymmOperands = {},
4702 // int -> QUANT8_SYMM map
4703 .quant8SymmOperands = {},
4704 },
4705 //Output(s)
4706 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4707 // int -> Dimensions map
4708 .operandDimensions = {{0, {1, 1, 1, 3}}},
4709 // int -> FLOAT32 map
4710 .float32Operands = {},
4711 // int -> INT32 map
4712 .int32Operands = {},
4713 // int -> QUANT8_ASYMM map
4714 .quant8AsymmOperands = {{0, {30, 75, 120}}},
4715 // int -> QUANT16_SYMM map
4716 .quant16SymmOperands = {},
4717 // int -> FLOAT16 map
4718 .float16Operands = {},
4719 // int -> BOOL8 map
4720 .bool8Operands = {},
4721 // int -> QUANT8_SYMM_PER_CHANNEL map
4722 .quant8ChannelOperands = {},
4723 // int -> QUANT16_ASYMM map
4724 .quant16AsymmOperands = {},
4725 // int -> QUANT8_SYMM map
4726 .quant8SymmOperands = {},
4727 }
4728 },
4729 }, // End of an example
4730 };
4731 return examples_channel_nhwc_quant8;
4732 };
4733
get_examples_channel_nhwc_channelQuant8()4734 std::vector<MixedTypedExample>& get_examples_channel_nhwc_channelQuant8() {
4735 static std::vector<MixedTypedExample> examples_channel_nhwc_channelQuant8 = {
4736 // Begin of an example
4737 {
4738 .operands = {
4739 //Input(s)
4740 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4741 // int -> Dimensions map
4742 .operandDimensions = {{0, {1, 1, 1, 3}}},
4743 // int -> FLOAT32 map
4744 .float32Operands = {},
4745 // int -> INT32 map
4746 .int32Operands = {},
4747 // int -> QUANT8_ASYMM map
4748 .quant8AsymmOperands = {{0, {10, 10, 10}}},
4749 // int -> QUANT16_SYMM map
4750 .quant16SymmOperands = {},
4751 // int -> FLOAT16 map
4752 .float16Operands = {},
4753 // int -> BOOL8 map
4754 .bool8Operands = {},
4755 // int -> QUANT8_SYMM_PER_CHANNEL map
4756 .quant8ChannelOperands = {},
4757 // int -> QUANT16_ASYMM map
4758 .quant16AsymmOperands = {},
4759 // int -> QUANT8_SYMM map
4760 .quant8SymmOperands = {},
4761 },
4762 //Output(s)
4763 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4764 // int -> Dimensions map
4765 .operandDimensions = {{0, {1, 1, 1, 3}}},
4766 // int -> FLOAT32 map
4767 .float32Operands = {},
4768 // int -> INT32 map
4769 .int32Operands = {},
4770 // int -> QUANT8_ASYMM map
4771 .quant8AsymmOperands = {{0, {30, 75, 120}}},
4772 // int -> QUANT16_SYMM map
4773 .quant16SymmOperands = {},
4774 // int -> FLOAT16 map
4775 .float16Operands = {},
4776 // int -> BOOL8 map
4777 .bool8Operands = {},
4778 // int -> QUANT8_SYMM_PER_CHANNEL map
4779 .quant8ChannelOperands = {},
4780 // int -> QUANT16_ASYMM map
4781 .quant16AsymmOperands = {},
4782 // int -> QUANT8_SYMM map
4783 .quant8SymmOperands = {},
4784 }
4785 },
4786 }, // End of an example
4787 };
4788 return examples_channel_nhwc_channelQuant8;
4789 };
4790
get_examples_channel_nhwc_float16()4791 std::vector<MixedTypedExample>& get_examples_channel_nhwc_float16() {
4792 static std::vector<MixedTypedExample> examples_channel_nhwc_float16 = {
4793 // Begin of an example
4794 {
4795 .operands = {
4796 //Input(s)
4797 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4798 // int -> Dimensions map
4799 .operandDimensions = {{0, {1, 1, 1, 3}}},
4800 // int -> FLOAT32 map
4801 .float32Operands = {},
4802 // int -> INT32 map
4803 .int32Operands = {},
4804 // int -> QUANT8_ASYMM map
4805 .quant8AsymmOperands = {},
4806 // int -> QUANT16_SYMM map
4807 .quant16SymmOperands = {},
4808 // int -> FLOAT16 map
4809 .float16Operands = {{0, {5.0f, 5.0f, 5.0f}}},
4810 // int -> BOOL8 map
4811 .bool8Operands = {},
4812 // int -> QUANT8_SYMM_PER_CHANNEL map
4813 .quant8ChannelOperands = {},
4814 // int -> QUANT16_ASYMM map
4815 .quant16AsymmOperands = {},
4816 // int -> QUANT8_SYMM map
4817 .quant8SymmOperands = {},
4818 },
4819 //Output(s)
4820 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4821 // int -> Dimensions map
4822 .operandDimensions = {{0, {1, 1, 1, 3}}},
4823 // int -> FLOAT32 map
4824 .float32Operands = {},
4825 // int -> INT32 map
4826 .int32Operands = {},
4827 // int -> QUANT8_ASYMM map
4828 .quant8AsymmOperands = {},
4829 // int -> QUANT16_SYMM map
4830 .quant16SymmOperands = {},
4831 // int -> FLOAT16 map
4832 .float16Operands = {{0, {15.0f, 37.5f, 60.0f}}},
4833 // int -> BOOL8 map
4834 .bool8Operands = {},
4835 // int -> QUANT8_SYMM_PER_CHANNEL map
4836 .quant8ChannelOperands = {},
4837 // int -> QUANT16_ASYMM map
4838 .quant16AsymmOperands = {},
4839 // int -> QUANT8_SYMM map
4840 .quant8SymmOperands = {},
4841 }
4842 },
4843 }, // End of an example
4844 };
4845 return examples_channel_nhwc_float16;
4846 };
4847
get_examples_channel_nhwc_weight_as_input()4848 std::vector<MixedTypedExample>& get_examples_channel_nhwc_weight_as_input() {
4849 static std::vector<MixedTypedExample> examples_channel_nhwc_weight_as_input = {
4850 // Begin of an example
4851 {
4852 .operands = {
4853 //Input(s)
4854 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4855 // int -> Dimensions map
4856 .operandDimensions = {{0, {1, 1, 1, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
4857 // int -> FLOAT32 map
4858 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}, {1, {0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f}}, {2, {0.0f, 0.0f, 0.0f}}},
4859 // int -> INT32 map
4860 .int32Operands = {},
4861 // int -> QUANT8_ASYMM map
4862 .quant8AsymmOperands = {},
4863 // int -> QUANT16_SYMM map
4864 .quant16SymmOperands = {},
4865 // int -> FLOAT16 map
4866 .float16Operands = {},
4867 // int -> BOOL8 map
4868 .bool8Operands = {},
4869 // int -> QUANT8_SYMM_PER_CHANNEL map
4870 .quant8ChannelOperands = {},
4871 // int -> QUANT16_ASYMM map
4872 .quant16AsymmOperands = {},
4873 // int -> QUANT8_SYMM map
4874 .quant8SymmOperands = {},
4875 },
4876 //Output(s)
4877 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4878 // int -> Dimensions map
4879 .operandDimensions = {{0, {1, 1, 1, 3}}},
4880 // int -> FLOAT32 map
4881 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
4882 // int -> INT32 map
4883 .int32Operands = {},
4884 // int -> QUANT8_ASYMM map
4885 .quant8AsymmOperands = {},
4886 // int -> QUANT16_SYMM map
4887 .quant16SymmOperands = {},
4888 // int -> FLOAT16 map
4889 .float16Operands = {},
4890 // int -> BOOL8 map
4891 .bool8Operands = {},
4892 // int -> QUANT8_SYMM_PER_CHANNEL map
4893 .quant8ChannelOperands = {},
4894 // int -> QUANT16_ASYMM map
4895 .quant16AsymmOperands = {},
4896 // int -> QUANT8_SYMM map
4897 .quant8SymmOperands = {},
4898 }
4899 },
4900 }, // End of an example
4901 };
4902 return examples_channel_nhwc_weight_as_input;
4903 };
4904
get_examples_channel_nhwc_weight_as_input_relaxed()4905 std::vector<MixedTypedExample>& get_examples_channel_nhwc_weight_as_input_relaxed() {
4906 static std::vector<MixedTypedExample> examples_channel_nhwc_weight_as_input_relaxed = {
4907 // Begin of an example
4908 {
4909 .operands = {
4910 //Input(s)
4911 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4912 // int -> Dimensions map
4913 .operandDimensions = {{0, {1, 1, 1, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
4914 // int -> FLOAT32 map
4915 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}, {1, {0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f}}, {2, {0.0f, 0.0f, 0.0f}}},
4916 // int -> INT32 map
4917 .int32Operands = {},
4918 // int -> QUANT8_ASYMM map
4919 .quant8AsymmOperands = {},
4920 // int -> QUANT16_SYMM map
4921 .quant16SymmOperands = {},
4922 // int -> FLOAT16 map
4923 .float16Operands = {},
4924 // int -> BOOL8 map
4925 .bool8Operands = {},
4926 // int -> QUANT8_SYMM_PER_CHANNEL map
4927 .quant8ChannelOperands = {},
4928 // int -> QUANT16_ASYMM map
4929 .quant16AsymmOperands = {},
4930 // int -> QUANT8_SYMM map
4931 .quant8SymmOperands = {},
4932 },
4933 //Output(s)
4934 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4935 // int -> Dimensions map
4936 .operandDimensions = {{0, {1, 1, 1, 3}}},
4937 // int -> FLOAT32 map
4938 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
4939 // int -> INT32 map
4940 .int32Operands = {},
4941 // int -> QUANT8_ASYMM map
4942 .quant8AsymmOperands = {},
4943 // int -> QUANT16_SYMM map
4944 .quant16SymmOperands = {},
4945 // int -> FLOAT16 map
4946 .float16Operands = {},
4947 // int -> BOOL8 map
4948 .bool8Operands = {},
4949 // int -> QUANT8_SYMM_PER_CHANNEL map
4950 .quant8ChannelOperands = {},
4951 // int -> QUANT16_ASYMM map
4952 .quant16AsymmOperands = {},
4953 // int -> QUANT8_SYMM map
4954 .quant8SymmOperands = {},
4955 }
4956 },
4957 }, // End of an example
4958 };
4959 return examples_channel_nhwc_weight_as_input_relaxed;
4960 };
4961
get_examples_channel_nhwc_weight_as_input_quant8()4962 std::vector<MixedTypedExample>& get_examples_channel_nhwc_weight_as_input_quant8() {
4963 static std::vector<MixedTypedExample> examples_channel_nhwc_weight_as_input_quant8 = {
4964 // Begin of an example
4965 {
4966 .operands = {
4967 //Input(s)
4968 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4969 // int -> Dimensions map
4970 .operandDimensions = {{0, {1, 1, 1, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
4971 // int -> FLOAT32 map
4972 .float32Operands = {},
4973 // int -> INT32 map
4974 .int32Operands = {{2, {0, 0, 0}}},
4975 // int -> QUANT8_ASYMM map
4976 .quant8AsymmOperands = {{0, {10, 10, 10}}, {1, {1, 2, 3, 4, 5, 6, 7, 8, 9}}},
4977 // int -> QUANT16_SYMM map
4978 .quant16SymmOperands = {},
4979 // int -> FLOAT16 map
4980 .float16Operands = {},
4981 // int -> BOOL8 map
4982 .bool8Operands = {},
4983 // int -> QUANT8_SYMM_PER_CHANNEL map
4984 .quant8ChannelOperands = {},
4985 // int -> QUANT16_ASYMM map
4986 .quant16AsymmOperands = {},
4987 // int -> QUANT8_SYMM map
4988 .quant8SymmOperands = {},
4989 },
4990 //Output(s)
4991 { // See tools/test_generator/include/TestHarness.h:MixedTyped
4992 // int -> Dimensions map
4993 .operandDimensions = {{0, {1, 1, 1, 3}}},
4994 // int -> FLOAT32 map
4995 .float32Operands = {},
4996 // int -> INT32 map
4997 .int32Operands = {},
4998 // int -> QUANT8_ASYMM map
4999 .quant8AsymmOperands = {{0, {30, 75, 120}}},
5000 // int -> QUANT16_SYMM map
5001 .quant16SymmOperands = {},
5002 // int -> FLOAT16 map
5003 .float16Operands = {},
5004 // int -> BOOL8 map
5005 .bool8Operands = {},
5006 // int -> QUANT8_SYMM_PER_CHANNEL map
5007 .quant8ChannelOperands = {},
5008 // int -> QUANT16_ASYMM map
5009 .quant16AsymmOperands = {},
5010 // int -> QUANT8_SYMM map
5011 .quant8SymmOperands = {},
5012 }
5013 },
5014 }, // End of an example
5015 };
5016 return examples_channel_nhwc_weight_as_input_quant8;
5017 };
5018
get_examples_channel_nhwc_weight_as_input_channelQuant8()5019 std::vector<MixedTypedExample>& get_examples_channel_nhwc_weight_as_input_channelQuant8() {
5020 static std::vector<MixedTypedExample> examples_channel_nhwc_weight_as_input_channelQuant8 = {
5021 // Begin of an example
5022 {
5023 .operands = {
5024 //Input(s)
5025 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5026 // int -> Dimensions map
5027 .operandDimensions = {{0, {1, 1, 1, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
5028 // int -> FLOAT32 map
5029 .float32Operands = {},
5030 // int -> INT32 map
5031 .int32Operands = {{2, {0, 0, 0}}},
5032 // int -> QUANT8_ASYMM map
5033 .quant8AsymmOperands = {{0, {10, 10, 10}}},
5034 // int -> QUANT16_SYMM map
5035 .quant16SymmOperands = {},
5036 // int -> FLOAT16 map
5037 .float16Operands = {},
5038 // int -> BOOL8 map
5039 .bool8Operands = {},
5040 // int -> QUANT8_SYMM_PER_CHANNEL map
5041 .quant8ChannelOperands = {{1, {1, 2, 3, 5, 6, 8, 12, 13, 15}}},
5042 // int -> QUANT16_ASYMM map
5043 .quant16AsymmOperands = {},
5044 // int -> QUANT8_SYMM map
5045 .quant8SymmOperands = {},
5046 },
5047 //Output(s)
5048 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5049 // int -> Dimensions map
5050 .operandDimensions = {{0, {1, 1, 1, 3}}},
5051 // int -> FLOAT32 map
5052 .float32Operands = {},
5053 // int -> INT32 map
5054 .int32Operands = {},
5055 // int -> QUANT8_ASYMM map
5056 .quant8AsymmOperands = {{0, {30, 75, 120}}},
5057 // int -> QUANT16_SYMM map
5058 .quant16SymmOperands = {},
5059 // int -> FLOAT16 map
5060 .float16Operands = {},
5061 // int -> BOOL8 map
5062 .bool8Operands = {},
5063 // int -> QUANT8_SYMM_PER_CHANNEL map
5064 .quant8ChannelOperands = {},
5065 // int -> QUANT16_ASYMM map
5066 .quant16AsymmOperands = {},
5067 // int -> QUANT8_SYMM map
5068 .quant8SymmOperands = {},
5069 }
5070 },
5071 }, // End of an example
5072 };
5073 return examples_channel_nhwc_weight_as_input_channelQuant8;
5074 };
5075
get_examples_channel_nhwc_weight_as_input_float16()5076 std::vector<MixedTypedExample>& get_examples_channel_nhwc_weight_as_input_float16() {
5077 static std::vector<MixedTypedExample> examples_channel_nhwc_weight_as_input_float16 = {
5078 // Begin of an example
5079 {
5080 .operands = {
5081 //Input(s)
5082 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5083 // int -> Dimensions map
5084 .operandDimensions = {{0, {1, 1, 1, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
5085 // int -> FLOAT32 map
5086 .float32Operands = {},
5087 // int -> INT32 map
5088 .int32Operands = {},
5089 // int -> QUANT8_ASYMM map
5090 .quant8AsymmOperands = {},
5091 // int -> QUANT16_SYMM map
5092 .quant16SymmOperands = {},
5093 // int -> FLOAT16 map
5094 .float16Operands = {{0, {5.0f, 5.0f, 5.0f}}, {1, {0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f}}, {2, {0.0f, 0.0f, 0.0f}}},
5095 // int -> BOOL8 map
5096 .bool8Operands = {},
5097 // int -> QUANT8_SYMM_PER_CHANNEL map
5098 .quant8ChannelOperands = {},
5099 // int -> QUANT16_ASYMM map
5100 .quant16AsymmOperands = {},
5101 // int -> QUANT8_SYMM map
5102 .quant8SymmOperands = {},
5103 },
5104 //Output(s)
5105 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5106 // int -> Dimensions map
5107 .operandDimensions = {{0, {1, 1, 1, 3}}},
5108 // int -> FLOAT32 map
5109 .float32Operands = {},
5110 // int -> INT32 map
5111 .int32Operands = {},
5112 // int -> QUANT8_ASYMM map
5113 .quant8AsymmOperands = {},
5114 // int -> QUANT16_SYMM map
5115 .quant16SymmOperands = {},
5116 // int -> FLOAT16 map
5117 .float16Operands = {{0, {15.0f, 37.5f, 60.0f}}},
5118 // int -> BOOL8 map
5119 .bool8Operands = {},
5120 // int -> QUANT8_SYMM_PER_CHANNEL map
5121 .quant8ChannelOperands = {},
5122 // int -> QUANT16_ASYMM map
5123 .quant16AsymmOperands = {},
5124 // int -> QUANT8_SYMM map
5125 .quant8SymmOperands = {},
5126 }
5127 },
5128 }, // End of an example
5129 };
5130 return examples_channel_nhwc_weight_as_input_float16;
5131 };
5132
get_examples_channel_nchw()5133 std::vector<MixedTypedExample>& get_examples_channel_nchw() {
5134 static std::vector<MixedTypedExample> examples_channel_nchw = {
5135 // Begin of an example
5136 {
5137 .operands = {
5138 //Input(s)
5139 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5140 // int -> Dimensions map
5141 .operandDimensions = {{0, {1, 3, 1, 1}}},
5142 // int -> FLOAT32 map
5143 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}},
5144 // int -> INT32 map
5145 .int32Operands = {},
5146 // int -> QUANT8_ASYMM map
5147 .quant8AsymmOperands = {},
5148 // int -> QUANT16_SYMM map
5149 .quant16SymmOperands = {},
5150 // int -> FLOAT16 map
5151 .float16Operands = {},
5152 // int -> BOOL8 map
5153 .bool8Operands = {},
5154 // int -> QUANT8_SYMM_PER_CHANNEL map
5155 .quant8ChannelOperands = {},
5156 // int -> QUANT16_ASYMM map
5157 .quant16AsymmOperands = {},
5158 // int -> QUANT8_SYMM map
5159 .quant8SymmOperands = {},
5160 },
5161 //Output(s)
5162 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5163 // int -> Dimensions map
5164 .operandDimensions = {{0, {1, 3, 1, 1}}},
5165 // int -> FLOAT32 map
5166 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
5167 // int -> INT32 map
5168 .int32Operands = {},
5169 // int -> QUANT8_ASYMM map
5170 .quant8AsymmOperands = {},
5171 // int -> QUANT16_SYMM map
5172 .quant16SymmOperands = {},
5173 // int -> FLOAT16 map
5174 .float16Operands = {},
5175 // int -> BOOL8 map
5176 .bool8Operands = {},
5177 // int -> QUANT8_SYMM_PER_CHANNEL map
5178 .quant8ChannelOperands = {},
5179 // int -> QUANT16_ASYMM map
5180 .quant16AsymmOperands = {},
5181 // int -> QUANT8_SYMM map
5182 .quant8SymmOperands = {},
5183 }
5184 },
5185 }, // End of an example
5186 };
5187 return examples_channel_nchw;
5188 };
5189
get_examples_channel_nchw_relaxed()5190 std::vector<MixedTypedExample>& get_examples_channel_nchw_relaxed() {
5191 static std::vector<MixedTypedExample> examples_channel_nchw_relaxed = {
5192 // Begin of an example
5193 {
5194 .operands = {
5195 //Input(s)
5196 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5197 // int -> Dimensions map
5198 .operandDimensions = {{0, {1, 3, 1, 1}}},
5199 // int -> FLOAT32 map
5200 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}},
5201 // int -> INT32 map
5202 .int32Operands = {},
5203 // int -> QUANT8_ASYMM map
5204 .quant8AsymmOperands = {},
5205 // int -> QUANT16_SYMM map
5206 .quant16SymmOperands = {},
5207 // int -> FLOAT16 map
5208 .float16Operands = {},
5209 // int -> BOOL8 map
5210 .bool8Operands = {},
5211 // int -> QUANT8_SYMM_PER_CHANNEL map
5212 .quant8ChannelOperands = {},
5213 // int -> QUANT16_ASYMM map
5214 .quant16AsymmOperands = {},
5215 // int -> QUANT8_SYMM map
5216 .quant8SymmOperands = {},
5217 },
5218 //Output(s)
5219 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5220 // int -> Dimensions map
5221 .operandDimensions = {{0, {1, 3, 1, 1}}},
5222 // int -> FLOAT32 map
5223 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
5224 // int -> INT32 map
5225 .int32Operands = {},
5226 // int -> QUANT8_ASYMM map
5227 .quant8AsymmOperands = {},
5228 // int -> QUANT16_SYMM map
5229 .quant16SymmOperands = {},
5230 // int -> FLOAT16 map
5231 .float16Operands = {},
5232 // int -> BOOL8 map
5233 .bool8Operands = {},
5234 // int -> QUANT8_SYMM_PER_CHANNEL map
5235 .quant8ChannelOperands = {},
5236 // int -> QUANT16_ASYMM map
5237 .quant16AsymmOperands = {},
5238 // int -> QUANT8_SYMM map
5239 .quant8SymmOperands = {},
5240 }
5241 },
5242 }, // End of an example
5243 };
5244 return examples_channel_nchw_relaxed;
5245 };
5246
get_examples_channel_nchw_quant8()5247 std::vector<MixedTypedExample>& get_examples_channel_nchw_quant8() {
5248 static std::vector<MixedTypedExample> examples_channel_nchw_quant8 = {
5249 // Begin of an example
5250 {
5251 .operands = {
5252 //Input(s)
5253 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5254 // int -> Dimensions map
5255 .operandDimensions = {{0, {1, 3, 1, 1}}},
5256 // int -> FLOAT32 map
5257 .float32Operands = {},
5258 // int -> INT32 map
5259 .int32Operands = {},
5260 // int -> QUANT8_ASYMM map
5261 .quant8AsymmOperands = {{0, {10, 10, 10}}},
5262 // int -> QUANT16_SYMM map
5263 .quant16SymmOperands = {},
5264 // int -> FLOAT16 map
5265 .float16Operands = {},
5266 // int -> BOOL8 map
5267 .bool8Operands = {},
5268 // int -> QUANT8_SYMM_PER_CHANNEL map
5269 .quant8ChannelOperands = {},
5270 // int -> QUANT16_ASYMM map
5271 .quant16AsymmOperands = {},
5272 // int -> QUANT8_SYMM map
5273 .quant8SymmOperands = {},
5274 },
5275 //Output(s)
5276 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5277 // int -> Dimensions map
5278 .operandDimensions = {{0, {1, 3, 1, 1}}},
5279 // int -> FLOAT32 map
5280 .float32Operands = {},
5281 // int -> INT32 map
5282 .int32Operands = {},
5283 // int -> QUANT8_ASYMM map
5284 .quant8AsymmOperands = {{0, {30, 75, 120}}},
5285 // int -> QUANT16_SYMM map
5286 .quant16SymmOperands = {},
5287 // int -> FLOAT16 map
5288 .float16Operands = {},
5289 // int -> BOOL8 map
5290 .bool8Operands = {},
5291 // int -> QUANT8_SYMM_PER_CHANNEL map
5292 .quant8ChannelOperands = {},
5293 // int -> QUANT16_ASYMM map
5294 .quant16AsymmOperands = {},
5295 // int -> QUANT8_SYMM map
5296 .quant8SymmOperands = {},
5297 }
5298 },
5299 }, // End of an example
5300 };
5301 return examples_channel_nchw_quant8;
5302 };
5303
get_examples_channel_nchw_channelQuant8()5304 std::vector<MixedTypedExample>& get_examples_channel_nchw_channelQuant8() {
5305 static std::vector<MixedTypedExample> examples_channel_nchw_channelQuant8 = {
5306 // Begin of an example
5307 {
5308 .operands = {
5309 //Input(s)
5310 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5311 // int -> Dimensions map
5312 .operandDimensions = {{0, {1, 3, 1, 1}}},
5313 // int -> FLOAT32 map
5314 .float32Operands = {},
5315 // int -> INT32 map
5316 .int32Operands = {},
5317 // int -> QUANT8_ASYMM map
5318 .quant8AsymmOperands = {{0, {10, 10, 10}}},
5319 // int -> QUANT16_SYMM map
5320 .quant16SymmOperands = {},
5321 // int -> FLOAT16 map
5322 .float16Operands = {},
5323 // int -> BOOL8 map
5324 .bool8Operands = {},
5325 // int -> QUANT8_SYMM_PER_CHANNEL map
5326 .quant8ChannelOperands = {},
5327 // int -> QUANT16_ASYMM map
5328 .quant16AsymmOperands = {},
5329 // int -> QUANT8_SYMM map
5330 .quant8SymmOperands = {},
5331 },
5332 //Output(s)
5333 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5334 // int -> Dimensions map
5335 .operandDimensions = {{0, {1, 3, 1, 1}}},
5336 // int -> FLOAT32 map
5337 .float32Operands = {},
5338 // int -> INT32 map
5339 .int32Operands = {},
5340 // int -> QUANT8_ASYMM map
5341 .quant8AsymmOperands = {{0, {30, 75, 120}}},
5342 // int -> QUANT16_SYMM map
5343 .quant16SymmOperands = {},
5344 // int -> FLOAT16 map
5345 .float16Operands = {},
5346 // int -> BOOL8 map
5347 .bool8Operands = {},
5348 // int -> QUANT8_SYMM_PER_CHANNEL map
5349 .quant8ChannelOperands = {},
5350 // int -> QUANT16_ASYMM map
5351 .quant16AsymmOperands = {},
5352 // int -> QUANT8_SYMM map
5353 .quant8SymmOperands = {},
5354 }
5355 },
5356 }, // End of an example
5357 };
5358 return examples_channel_nchw_channelQuant8;
5359 };
5360
get_examples_channel_nchw_float16()5361 std::vector<MixedTypedExample>& get_examples_channel_nchw_float16() {
5362 static std::vector<MixedTypedExample> examples_channel_nchw_float16 = {
5363 // Begin of an example
5364 {
5365 .operands = {
5366 //Input(s)
5367 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5368 // int -> Dimensions map
5369 .operandDimensions = {{0, {1, 3, 1, 1}}},
5370 // int -> FLOAT32 map
5371 .float32Operands = {},
5372 // int -> INT32 map
5373 .int32Operands = {},
5374 // int -> QUANT8_ASYMM map
5375 .quant8AsymmOperands = {},
5376 // int -> QUANT16_SYMM map
5377 .quant16SymmOperands = {},
5378 // int -> FLOAT16 map
5379 .float16Operands = {{0, {5.0f, 5.0f, 5.0f}}},
5380 // int -> BOOL8 map
5381 .bool8Operands = {},
5382 // int -> QUANT8_SYMM_PER_CHANNEL map
5383 .quant8ChannelOperands = {},
5384 // int -> QUANT16_ASYMM map
5385 .quant16AsymmOperands = {},
5386 // int -> QUANT8_SYMM map
5387 .quant8SymmOperands = {},
5388 },
5389 //Output(s)
5390 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5391 // int -> Dimensions map
5392 .operandDimensions = {{0, {1, 3, 1, 1}}},
5393 // int -> FLOAT32 map
5394 .float32Operands = {},
5395 // int -> INT32 map
5396 .int32Operands = {},
5397 // int -> QUANT8_ASYMM map
5398 .quant8AsymmOperands = {},
5399 // int -> QUANT16_SYMM map
5400 .quant16SymmOperands = {},
5401 // int -> FLOAT16 map
5402 .float16Operands = {{0, {15.0f, 37.5f, 60.0f}}},
5403 // int -> BOOL8 map
5404 .bool8Operands = {},
5405 // int -> QUANT8_SYMM_PER_CHANNEL map
5406 .quant8ChannelOperands = {},
5407 // int -> QUANT16_ASYMM map
5408 .quant16AsymmOperands = {},
5409 // int -> QUANT8_SYMM map
5410 .quant8SymmOperands = {},
5411 }
5412 },
5413 }, // End of an example
5414 };
5415 return examples_channel_nchw_float16;
5416 };
5417
get_examples_channel_nchw_weight_as_input()5418 std::vector<MixedTypedExample>& get_examples_channel_nchw_weight_as_input() {
5419 static std::vector<MixedTypedExample> examples_channel_nchw_weight_as_input = {
5420 // Begin of an example
5421 {
5422 .operands = {
5423 //Input(s)
5424 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5425 // int -> Dimensions map
5426 .operandDimensions = {{0, {1, 3, 1, 1}}, {1, {3, 1, 1, 3}}, {2, {3}}},
5427 // int -> FLOAT32 map
5428 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}, {1, {0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f}}, {2, {0.0f, 0.0f, 0.0f}}},
5429 // int -> INT32 map
5430 .int32Operands = {},
5431 // int -> QUANT8_ASYMM map
5432 .quant8AsymmOperands = {},
5433 // int -> QUANT16_SYMM map
5434 .quant16SymmOperands = {},
5435 // int -> FLOAT16 map
5436 .float16Operands = {},
5437 // int -> BOOL8 map
5438 .bool8Operands = {},
5439 // int -> QUANT8_SYMM_PER_CHANNEL map
5440 .quant8ChannelOperands = {},
5441 // int -> QUANT16_ASYMM map
5442 .quant16AsymmOperands = {},
5443 // int -> QUANT8_SYMM map
5444 .quant8SymmOperands = {},
5445 },
5446 //Output(s)
5447 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5448 // int -> Dimensions map
5449 .operandDimensions = {{0, {1, 3, 1, 1}}},
5450 // int -> FLOAT32 map
5451 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
5452 // int -> INT32 map
5453 .int32Operands = {},
5454 // int -> QUANT8_ASYMM map
5455 .quant8AsymmOperands = {},
5456 // int -> QUANT16_SYMM map
5457 .quant16SymmOperands = {},
5458 // int -> FLOAT16 map
5459 .float16Operands = {},
5460 // int -> BOOL8 map
5461 .bool8Operands = {},
5462 // int -> QUANT8_SYMM_PER_CHANNEL map
5463 .quant8ChannelOperands = {},
5464 // int -> QUANT16_ASYMM map
5465 .quant16AsymmOperands = {},
5466 // int -> QUANT8_SYMM map
5467 .quant8SymmOperands = {},
5468 }
5469 },
5470 }, // End of an example
5471 };
5472 return examples_channel_nchw_weight_as_input;
5473 };
5474
get_examples_channel_nchw_weight_as_input_relaxed()5475 std::vector<MixedTypedExample>& get_examples_channel_nchw_weight_as_input_relaxed() {
5476 static std::vector<MixedTypedExample> examples_channel_nchw_weight_as_input_relaxed = {
5477 // Begin of an example
5478 {
5479 .operands = {
5480 //Input(s)
5481 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5482 // int -> Dimensions map
5483 .operandDimensions = {{0, {1, 3, 1, 1}}, {1, {3, 1, 1, 3}}, {2, {3}}},
5484 // int -> FLOAT32 map
5485 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}, {1, {0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f}}, {2, {0.0f, 0.0f, 0.0f}}},
5486 // int -> INT32 map
5487 .int32Operands = {},
5488 // int -> QUANT8_ASYMM map
5489 .quant8AsymmOperands = {},
5490 // int -> QUANT16_SYMM map
5491 .quant16SymmOperands = {},
5492 // int -> FLOAT16 map
5493 .float16Operands = {},
5494 // int -> BOOL8 map
5495 .bool8Operands = {},
5496 // int -> QUANT8_SYMM_PER_CHANNEL map
5497 .quant8ChannelOperands = {},
5498 // int -> QUANT16_ASYMM map
5499 .quant16AsymmOperands = {},
5500 // int -> QUANT8_SYMM map
5501 .quant8SymmOperands = {},
5502 },
5503 //Output(s)
5504 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5505 // int -> Dimensions map
5506 .operandDimensions = {{0, {1, 3, 1, 1}}},
5507 // int -> FLOAT32 map
5508 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
5509 // int -> INT32 map
5510 .int32Operands = {},
5511 // int -> QUANT8_ASYMM map
5512 .quant8AsymmOperands = {},
5513 // int -> QUANT16_SYMM map
5514 .quant16SymmOperands = {},
5515 // int -> FLOAT16 map
5516 .float16Operands = {},
5517 // int -> BOOL8 map
5518 .bool8Operands = {},
5519 // int -> QUANT8_SYMM_PER_CHANNEL map
5520 .quant8ChannelOperands = {},
5521 // int -> QUANT16_ASYMM map
5522 .quant16AsymmOperands = {},
5523 // int -> QUANT8_SYMM map
5524 .quant8SymmOperands = {},
5525 }
5526 },
5527 }, // End of an example
5528 };
5529 return examples_channel_nchw_weight_as_input_relaxed;
5530 };
5531
get_examples_channel_nchw_weight_as_input_quant8()5532 std::vector<MixedTypedExample>& get_examples_channel_nchw_weight_as_input_quant8() {
5533 static std::vector<MixedTypedExample> examples_channel_nchw_weight_as_input_quant8 = {
5534 // Begin of an example
5535 {
5536 .operands = {
5537 //Input(s)
5538 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5539 // int -> Dimensions map
5540 .operandDimensions = {{0, {1, 3, 1, 1}}, {1, {3, 1, 1, 3}}, {2, {3}}},
5541 // int -> FLOAT32 map
5542 .float32Operands = {},
5543 // int -> INT32 map
5544 .int32Operands = {{2, {0, 0, 0}}},
5545 // int -> QUANT8_ASYMM map
5546 .quant8AsymmOperands = {{0, {10, 10, 10}}, {1, {1, 2, 3, 4, 5, 6, 7, 8, 9}}},
5547 // int -> QUANT16_SYMM map
5548 .quant16SymmOperands = {},
5549 // int -> FLOAT16 map
5550 .float16Operands = {},
5551 // int -> BOOL8 map
5552 .bool8Operands = {},
5553 // int -> QUANT8_SYMM_PER_CHANNEL map
5554 .quant8ChannelOperands = {},
5555 // int -> QUANT16_ASYMM map
5556 .quant16AsymmOperands = {},
5557 // int -> QUANT8_SYMM map
5558 .quant8SymmOperands = {},
5559 },
5560 //Output(s)
5561 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5562 // int -> Dimensions map
5563 .operandDimensions = {{0, {1, 3, 1, 1}}},
5564 // int -> FLOAT32 map
5565 .float32Operands = {},
5566 // int -> INT32 map
5567 .int32Operands = {},
5568 // int -> QUANT8_ASYMM map
5569 .quant8AsymmOperands = {{0, {30, 75, 120}}},
5570 // int -> QUANT16_SYMM map
5571 .quant16SymmOperands = {},
5572 // int -> FLOAT16 map
5573 .float16Operands = {},
5574 // int -> BOOL8 map
5575 .bool8Operands = {},
5576 // int -> QUANT8_SYMM_PER_CHANNEL map
5577 .quant8ChannelOperands = {},
5578 // int -> QUANT16_ASYMM map
5579 .quant16AsymmOperands = {},
5580 // int -> QUANT8_SYMM map
5581 .quant8SymmOperands = {},
5582 }
5583 },
5584 }, // End of an example
5585 };
5586 return examples_channel_nchw_weight_as_input_quant8;
5587 };
5588
get_examples_channel_nchw_weight_as_input_channelQuant8()5589 std::vector<MixedTypedExample>& get_examples_channel_nchw_weight_as_input_channelQuant8() {
5590 static std::vector<MixedTypedExample> examples_channel_nchw_weight_as_input_channelQuant8 = {
5591 // Begin of an example
5592 {
5593 .operands = {
5594 //Input(s)
5595 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5596 // int -> Dimensions map
5597 .operandDimensions = {{0, {1, 3, 1, 1}}, {1, {3, 1, 1, 3}}, {2, {3}}},
5598 // int -> FLOAT32 map
5599 .float32Operands = {},
5600 // int -> INT32 map
5601 .int32Operands = {{2, {0, 0, 0}}},
5602 // int -> QUANT8_ASYMM map
5603 .quant8AsymmOperands = {{0, {10, 10, 10}}},
5604 // int -> QUANT16_SYMM map
5605 .quant16SymmOperands = {},
5606 // int -> FLOAT16 map
5607 .float16Operands = {},
5608 // int -> BOOL8 map
5609 .bool8Operands = {},
5610 // int -> QUANT8_SYMM_PER_CHANNEL map
5611 .quant8ChannelOperands = {{1, {1, 2, 3, 5, 6, 8, 12, 13, 15}}},
5612 // int -> QUANT16_ASYMM map
5613 .quant16AsymmOperands = {},
5614 // int -> QUANT8_SYMM map
5615 .quant8SymmOperands = {},
5616 },
5617 //Output(s)
5618 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5619 // int -> Dimensions map
5620 .operandDimensions = {{0, {1, 3, 1, 1}}},
5621 // int -> FLOAT32 map
5622 .float32Operands = {},
5623 // int -> INT32 map
5624 .int32Operands = {},
5625 // int -> QUANT8_ASYMM map
5626 .quant8AsymmOperands = {{0, {30, 75, 120}}},
5627 // int -> QUANT16_SYMM map
5628 .quant16SymmOperands = {},
5629 // int -> FLOAT16 map
5630 .float16Operands = {},
5631 // int -> BOOL8 map
5632 .bool8Operands = {},
5633 // int -> QUANT8_SYMM_PER_CHANNEL map
5634 .quant8ChannelOperands = {},
5635 // int -> QUANT16_ASYMM map
5636 .quant16AsymmOperands = {},
5637 // int -> QUANT8_SYMM map
5638 .quant8SymmOperands = {},
5639 }
5640 },
5641 }, // End of an example
5642 };
5643 return examples_channel_nchw_weight_as_input_channelQuant8;
5644 };
5645
get_examples_channel_nchw_weight_as_input_float16()5646 std::vector<MixedTypedExample>& get_examples_channel_nchw_weight_as_input_float16() {
5647 static std::vector<MixedTypedExample> examples_channel_nchw_weight_as_input_float16 = {
5648 // Begin of an example
5649 {
5650 .operands = {
5651 //Input(s)
5652 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5653 // int -> Dimensions map
5654 .operandDimensions = {{0, {1, 3, 1, 1}}, {1, {3, 1, 1, 3}}, {2, {3}}},
5655 // int -> FLOAT32 map
5656 .float32Operands = {},
5657 // int -> INT32 map
5658 .int32Operands = {},
5659 // int -> QUANT8_ASYMM map
5660 .quant8AsymmOperands = {},
5661 // int -> QUANT16_SYMM map
5662 .quant16SymmOperands = {},
5663 // int -> FLOAT16 map
5664 .float16Operands = {{0, {5.0f, 5.0f, 5.0f}}, {1, {0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f}}, {2, {0.0f, 0.0f, 0.0f}}},
5665 // int -> BOOL8 map
5666 .bool8Operands = {},
5667 // int -> QUANT8_SYMM_PER_CHANNEL map
5668 .quant8ChannelOperands = {},
5669 // int -> QUANT16_ASYMM map
5670 .quant16AsymmOperands = {},
5671 // int -> QUANT8_SYMM map
5672 .quant8SymmOperands = {},
5673 },
5674 //Output(s)
5675 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5676 // int -> Dimensions map
5677 .operandDimensions = {{0, {1, 3, 1, 1}}},
5678 // int -> FLOAT32 map
5679 .float32Operands = {},
5680 // int -> INT32 map
5681 .int32Operands = {},
5682 // int -> QUANT8_ASYMM map
5683 .quant8AsymmOperands = {},
5684 // int -> QUANT16_SYMM map
5685 .quant16SymmOperands = {},
5686 // int -> FLOAT16 map
5687 .float16Operands = {{0, {15.0f, 37.5f, 60.0f}}},
5688 // int -> BOOL8 map
5689 .bool8Operands = {},
5690 // int -> QUANT8_SYMM_PER_CHANNEL map
5691 .quant8ChannelOperands = {},
5692 // int -> QUANT16_ASYMM map
5693 .quant16AsymmOperands = {},
5694 // int -> QUANT8_SYMM map
5695 .quant8SymmOperands = {},
5696 }
5697 },
5698 }, // End of an example
5699 };
5700 return examples_channel_nchw_weight_as_input_float16;
5701 };
5702
get_examples_channel_dynamic_output_shape_nhwc()5703 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nhwc() {
5704 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nhwc = {
5705 // Begin of an example
5706 {
5707 .operands = {
5708 //Input(s)
5709 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5710 // int -> Dimensions map
5711 .operandDimensions = {{0, {1, 1, 1, 3}}},
5712 // int -> FLOAT32 map
5713 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}},
5714 // int -> INT32 map
5715 .int32Operands = {},
5716 // int -> QUANT8_ASYMM map
5717 .quant8AsymmOperands = {},
5718 // int -> QUANT16_SYMM map
5719 .quant16SymmOperands = {},
5720 // int -> FLOAT16 map
5721 .float16Operands = {},
5722 // int -> BOOL8 map
5723 .bool8Operands = {},
5724 // int -> QUANT8_SYMM_PER_CHANNEL map
5725 .quant8ChannelOperands = {},
5726 // int -> QUANT16_ASYMM map
5727 .quant16AsymmOperands = {},
5728 // int -> QUANT8_SYMM map
5729 .quant8SymmOperands = {},
5730 },
5731 //Output(s)
5732 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5733 // int -> Dimensions map
5734 .operandDimensions = {{0, {1, 1, 1, 3}}},
5735 // int -> FLOAT32 map
5736 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
5737 // int -> INT32 map
5738 .int32Operands = {},
5739 // int -> QUANT8_ASYMM map
5740 .quant8AsymmOperands = {},
5741 // int -> QUANT16_SYMM map
5742 .quant16SymmOperands = {},
5743 // int -> FLOAT16 map
5744 .float16Operands = {},
5745 // int -> BOOL8 map
5746 .bool8Operands = {},
5747 // int -> QUANT8_SYMM_PER_CHANNEL map
5748 .quant8ChannelOperands = {},
5749 // int -> QUANT16_ASYMM map
5750 .quant16AsymmOperands = {},
5751 // int -> QUANT8_SYMM map
5752 .quant8SymmOperands = {},
5753 }
5754 },
5755 }, // End of an example
5756 };
5757 return examples_channel_dynamic_output_shape_nhwc;
5758 };
5759
get_examples_channel_dynamic_output_shape_nhwc_relaxed()5760 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nhwc_relaxed() {
5761 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nhwc_relaxed = {
5762 // Begin of an example
5763 {
5764 .operands = {
5765 //Input(s)
5766 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5767 // int -> Dimensions map
5768 .operandDimensions = {{0, {1, 1, 1, 3}}},
5769 // int -> FLOAT32 map
5770 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}},
5771 // int -> INT32 map
5772 .int32Operands = {},
5773 // int -> QUANT8_ASYMM map
5774 .quant8AsymmOperands = {},
5775 // int -> QUANT16_SYMM map
5776 .quant16SymmOperands = {},
5777 // int -> FLOAT16 map
5778 .float16Operands = {},
5779 // int -> BOOL8 map
5780 .bool8Operands = {},
5781 // int -> QUANT8_SYMM_PER_CHANNEL map
5782 .quant8ChannelOperands = {},
5783 // int -> QUANT16_ASYMM map
5784 .quant16AsymmOperands = {},
5785 // int -> QUANT8_SYMM map
5786 .quant8SymmOperands = {},
5787 },
5788 //Output(s)
5789 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5790 // int -> Dimensions map
5791 .operandDimensions = {{0, {1, 1, 1, 3}}},
5792 // int -> FLOAT32 map
5793 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
5794 // int -> INT32 map
5795 .int32Operands = {},
5796 // int -> QUANT8_ASYMM map
5797 .quant8AsymmOperands = {},
5798 // int -> QUANT16_SYMM map
5799 .quant16SymmOperands = {},
5800 // int -> FLOAT16 map
5801 .float16Operands = {},
5802 // int -> BOOL8 map
5803 .bool8Operands = {},
5804 // int -> QUANT8_SYMM_PER_CHANNEL map
5805 .quant8ChannelOperands = {},
5806 // int -> QUANT16_ASYMM map
5807 .quant16AsymmOperands = {},
5808 // int -> QUANT8_SYMM map
5809 .quant8SymmOperands = {},
5810 }
5811 },
5812 }, // End of an example
5813 };
5814 return examples_channel_dynamic_output_shape_nhwc_relaxed;
5815 };
5816
get_examples_channel_dynamic_output_shape_nhwc_quant8()5817 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nhwc_quant8() {
5818 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nhwc_quant8 = {
5819 // Begin of an example
5820 {
5821 .operands = {
5822 //Input(s)
5823 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5824 // int -> Dimensions map
5825 .operandDimensions = {{0, {1, 1, 1, 3}}},
5826 // int -> FLOAT32 map
5827 .float32Operands = {},
5828 // int -> INT32 map
5829 .int32Operands = {},
5830 // int -> QUANT8_ASYMM map
5831 .quant8AsymmOperands = {{0, {10, 10, 10}}},
5832 // int -> QUANT16_SYMM map
5833 .quant16SymmOperands = {},
5834 // int -> FLOAT16 map
5835 .float16Operands = {},
5836 // int -> BOOL8 map
5837 .bool8Operands = {},
5838 // int -> QUANT8_SYMM_PER_CHANNEL map
5839 .quant8ChannelOperands = {},
5840 // int -> QUANT16_ASYMM map
5841 .quant16AsymmOperands = {},
5842 // int -> QUANT8_SYMM map
5843 .quant8SymmOperands = {},
5844 },
5845 //Output(s)
5846 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5847 // int -> Dimensions map
5848 .operandDimensions = {{0, {1, 1, 1, 3}}},
5849 // int -> FLOAT32 map
5850 .float32Operands = {},
5851 // int -> INT32 map
5852 .int32Operands = {},
5853 // int -> QUANT8_ASYMM map
5854 .quant8AsymmOperands = {{0, {30, 75, 120}}},
5855 // int -> QUANT16_SYMM map
5856 .quant16SymmOperands = {},
5857 // int -> FLOAT16 map
5858 .float16Operands = {},
5859 // int -> BOOL8 map
5860 .bool8Operands = {},
5861 // int -> QUANT8_SYMM_PER_CHANNEL map
5862 .quant8ChannelOperands = {},
5863 // int -> QUANT16_ASYMM map
5864 .quant16AsymmOperands = {},
5865 // int -> QUANT8_SYMM map
5866 .quant8SymmOperands = {},
5867 }
5868 },
5869 }, // End of an example
5870 };
5871 return examples_channel_dynamic_output_shape_nhwc_quant8;
5872 };
5873
get_examples_channel_dynamic_output_shape_nhwc_channelQuant8()5874 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nhwc_channelQuant8() {
5875 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nhwc_channelQuant8 = {
5876 // Begin of an example
5877 {
5878 .operands = {
5879 //Input(s)
5880 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5881 // int -> Dimensions map
5882 .operandDimensions = {{0, {1, 1, 1, 3}}},
5883 // int -> FLOAT32 map
5884 .float32Operands = {},
5885 // int -> INT32 map
5886 .int32Operands = {},
5887 // int -> QUANT8_ASYMM map
5888 .quant8AsymmOperands = {{0, {10, 10, 10}}},
5889 // int -> QUANT16_SYMM map
5890 .quant16SymmOperands = {},
5891 // int -> FLOAT16 map
5892 .float16Operands = {},
5893 // int -> BOOL8 map
5894 .bool8Operands = {},
5895 // int -> QUANT8_SYMM_PER_CHANNEL map
5896 .quant8ChannelOperands = {},
5897 // int -> QUANT16_ASYMM map
5898 .quant16AsymmOperands = {},
5899 // int -> QUANT8_SYMM map
5900 .quant8SymmOperands = {},
5901 },
5902 //Output(s)
5903 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5904 // int -> Dimensions map
5905 .operandDimensions = {{0, {1, 1, 1, 3}}},
5906 // int -> FLOAT32 map
5907 .float32Operands = {},
5908 // int -> INT32 map
5909 .int32Operands = {},
5910 // int -> QUANT8_ASYMM map
5911 .quant8AsymmOperands = {{0, {30, 75, 120}}},
5912 // int -> QUANT16_SYMM map
5913 .quant16SymmOperands = {},
5914 // int -> FLOAT16 map
5915 .float16Operands = {},
5916 // int -> BOOL8 map
5917 .bool8Operands = {},
5918 // int -> QUANT8_SYMM_PER_CHANNEL map
5919 .quant8ChannelOperands = {},
5920 // int -> QUANT16_ASYMM map
5921 .quant16AsymmOperands = {},
5922 // int -> QUANT8_SYMM map
5923 .quant8SymmOperands = {},
5924 }
5925 },
5926 }, // End of an example
5927 };
5928 return examples_channel_dynamic_output_shape_nhwc_channelQuant8;
5929 };
5930
get_examples_channel_dynamic_output_shape_nhwc_float16()5931 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nhwc_float16() {
5932 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nhwc_float16 = {
5933 // Begin of an example
5934 {
5935 .operands = {
5936 //Input(s)
5937 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5938 // int -> Dimensions map
5939 .operandDimensions = {{0, {1, 1, 1, 3}}},
5940 // int -> FLOAT32 map
5941 .float32Operands = {},
5942 // int -> INT32 map
5943 .int32Operands = {},
5944 // int -> QUANT8_ASYMM map
5945 .quant8AsymmOperands = {},
5946 // int -> QUANT16_SYMM map
5947 .quant16SymmOperands = {},
5948 // int -> FLOAT16 map
5949 .float16Operands = {{0, {5.0f, 5.0f, 5.0f}}},
5950 // int -> BOOL8 map
5951 .bool8Operands = {},
5952 // int -> QUANT8_SYMM_PER_CHANNEL map
5953 .quant8ChannelOperands = {},
5954 // int -> QUANT16_ASYMM map
5955 .quant16AsymmOperands = {},
5956 // int -> QUANT8_SYMM map
5957 .quant8SymmOperands = {},
5958 },
5959 //Output(s)
5960 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5961 // int -> Dimensions map
5962 .operandDimensions = {{0, {1, 1, 1, 3}}},
5963 // int -> FLOAT32 map
5964 .float32Operands = {},
5965 // int -> INT32 map
5966 .int32Operands = {},
5967 // int -> QUANT8_ASYMM map
5968 .quant8AsymmOperands = {},
5969 // int -> QUANT16_SYMM map
5970 .quant16SymmOperands = {},
5971 // int -> FLOAT16 map
5972 .float16Operands = {{0, {15.0f, 37.5f, 60.0f}}},
5973 // int -> BOOL8 map
5974 .bool8Operands = {},
5975 // int -> QUANT8_SYMM_PER_CHANNEL map
5976 .quant8ChannelOperands = {},
5977 // int -> QUANT16_ASYMM map
5978 .quant16AsymmOperands = {},
5979 // int -> QUANT8_SYMM map
5980 .quant8SymmOperands = {},
5981 }
5982 },
5983 }, // End of an example
5984 };
5985 return examples_channel_dynamic_output_shape_nhwc_float16;
5986 };
5987
get_examples_channel_dynamic_output_shape_nhwc_weight_as_input()5988 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nhwc_weight_as_input() {
5989 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nhwc_weight_as_input = {
5990 // Begin of an example
5991 {
5992 .operands = {
5993 //Input(s)
5994 { // See tools/test_generator/include/TestHarness.h:MixedTyped
5995 // int -> Dimensions map
5996 .operandDimensions = {{0, {1, 1, 1, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
5997 // int -> FLOAT32 map
5998 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}, {1, {0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f}}, {2, {0.0f, 0.0f, 0.0f}}},
5999 // int -> INT32 map
6000 .int32Operands = {},
6001 // int -> QUANT8_ASYMM map
6002 .quant8AsymmOperands = {},
6003 // int -> QUANT16_SYMM map
6004 .quant16SymmOperands = {},
6005 // int -> FLOAT16 map
6006 .float16Operands = {},
6007 // int -> BOOL8 map
6008 .bool8Operands = {},
6009 // int -> QUANT8_SYMM_PER_CHANNEL map
6010 .quant8ChannelOperands = {},
6011 // int -> QUANT16_ASYMM map
6012 .quant16AsymmOperands = {},
6013 // int -> QUANT8_SYMM map
6014 .quant8SymmOperands = {},
6015 },
6016 //Output(s)
6017 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6018 // int -> Dimensions map
6019 .operandDimensions = {{0, {1, 1, 1, 3}}},
6020 // int -> FLOAT32 map
6021 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
6022 // int -> INT32 map
6023 .int32Operands = {},
6024 // int -> QUANT8_ASYMM map
6025 .quant8AsymmOperands = {},
6026 // int -> QUANT16_SYMM map
6027 .quant16SymmOperands = {},
6028 // int -> FLOAT16 map
6029 .float16Operands = {},
6030 // int -> BOOL8 map
6031 .bool8Operands = {},
6032 // int -> QUANT8_SYMM_PER_CHANNEL map
6033 .quant8ChannelOperands = {},
6034 // int -> QUANT16_ASYMM map
6035 .quant16AsymmOperands = {},
6036 // int -> QUANT8_SYMM map
6037 .quant8SymmOperands = {},
6038 }
6039 },
6040 }, // End of an example
6041 };
6042 return examples_channel_dynamic_output_shape_nhwc_weight_as_input;
6043 };
6044
get_examples_channel_dynamic_output_shape_nhwc_weight_as_input_relaxed()6045 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nhwc_weight_as_input_relaxed() {
6046 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nhwc_weight_as_input_relaxed = {
6047 // Begin of an example
6048 {
6049 .operands = {
6050 //Input(s)
6051 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6052 // int -> Dimensions map
6053 .operandDimensions = {{0, {1, 1, 1, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
6054 // int -> FLOAT32 map
6055 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}, {1, {0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f}}, {2, {0.0f, 0.0f, 0.0f}}},
6056 // int -> INT32 map
6057 .int32Operands = {},
6058 // int -> QUANT8_ASYMM map
6059 .quant8AsymmOperands = {},
6060 // int -> QUANT16_SYMM map
6061 .quant16SymmOperands = {},
6062 // int -> FLOAT16 map
6063 .float16Operands = {},
6064 // int -> BOOL8 map
6065 .bool8Operands = {},
6066 // int -> QUANT8_SYMM_PER_CHANNEL map
6067 .quant8ChannelOperands = {},
6068 // int -> QUANT16_ASYMM map
6069 .quant16AsymmOperands = {},
6070 // int -> QUANT8_SYMM map
6071 .quant8SymmOperands = {},
6072 },
6073 //Output(s)
6074 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6075 // int -> Dimensions map
6076 .operandDimensions = {{0, {1, 1, 1, 3}}},
6077 // int -> FLOAT32 map
6078 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
6079 // int -> INT32 map
6080 .int32Operands = {},
6081 // int -> QUANT8_ASYMM map
6082 .quant8AsymmOperands = {},
6083 // int -> QUANT16_SYMM map
6084 .quant16SymmOperands = {},
6085 // int -> FLOAT16 map
6086 .float16Operands = {},
6087 // int -> BOOL8 map
6088 .bool8Operands = {},
6089 // int -> QUANT8_SYMM_PER_CHANNEL map
6090 .quant8ChannelOperands = {},
6091 // int -> QUANT16_ASYMM map
6092 .quant16AsymmOperands = {},
6093 // int -> QUANT8_SYMM map
6094 .quant8SymmOperands = {},
6095 }
6096 },
6097 }, // End of an example
6098 };
6099 return examples_channel_dynamic_output_shape_nhwc_weight_as_input_relaxed;
6100 };
6101
get_examples_channel_dynamic_output_shape_nhwc_weight_as_input_quant8()6102 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nhwc_weight_as_input_quant8() {
6103 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nhwc_weight_as_input_quant8 = {
6104 // Begin of an example
6105 {
6106 .operands = {
6107 //Input(s)
6108 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6109 // int -> Dimensions map
6110 .operandDimensions = {{0, {1, 1, 1, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
6111 // int -> FLOAT32 map
6112 .float32Operands = {},
6113 // int -> INT32 map
6114 .int32Operands = {{2, {0, 0, 0}}},
6115 // int -> QUANT8_ASYMM map
6116 .quant8AsymmOperands = {{0, {10, 10, 10}}, {1, {1, 2, 3, 4, 5, 6, 7, 8, 9}}},
6117 // int -> QUANT16_SYMM map
6118 .quant16SymmOperands = {},
6119 // int -> FLOAT16 map
6120 .float16Operands = {},
6121 // int -> BOOL8 map
6122 .bool8Operands = {},
6123 // int -> QUANT8_SYMM_PER_CHANNEL map
6124 .quant8ChannelOperands = {},
6125 // int -> QUANT16_ASYMM map
6126 .quant16AsymmOperands = {},
6127 // int -> QUANT8_SYMM map
6128 .quant8SymmOperands = {},
6129 },
6130 //Output(s)
6131 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6132 // int -> Dimensions map
6133 .operandDimensions = {{0, {1, 1, 1, 3}}},
6134 // int -> FLOAT32 map
6135 .float32Operands = {},
6136 // int -> INT32 map
6137 .int32Operands = {},
6138 // int -> QUANT8_ASYMM map
6139 .quant8AsymmOperands = {{0, {30, 75, 120}}},
6140 // int -> QUANT16_SYMM map
6141 .quant16SymmOperands = {},
6142 // int -> FLOAT16 map
6143 .float16Operands = {},
6144 // int -> BOOL8 map
6145 .bool8Operands = {},
6146 // int -> QUANT8_SYMM_PER_CHANNEL map
6147 .quant8ChannelOperands = {},
6148 // int -> QUANT16_ASYMM map
6149 .quant16AsymmOperands = {},
6150 // int -> QUANT8_SYMM map
6151 .quant8SymmOperands = {},
6152 }
6153 },
6154 }, // End of an example
6155 };
6156 return examples_channel_dynamic_output_shape_nhwc_weight_as_input_quant8;
6157 };
6158
get_examples_channel_dynamic_output_shape_nhwc_weight_as_input_channelQuant8()6159 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nhwc_weight_as_input_channelQuant8() {
6160 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nhwc_weight_as_input_channelQuant8 = {
6161 // Begin of an example
6162 {
6163 .operands = {
6164 //Input(s)
6165 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6166 // int -> Dimensions map
6167 .operandDimensions = {{0, {1, 1, 1, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
6168 // int -> FLOAT32 map
6169 .float32Operands = {},
6170 // int -> INT32 map
6171 .int32Operands = {{2, {0, 0, 0}}},
6172 // int -> QUANT8_ASYMM map
6173 .quant8AsymmOperands = {{0, {10, 10, 10}}},
6174 // int -> QUANT16_SYMM map
6175 .quant16SymmOperands = {},
6176 // int -> FLOAT16 map
6177 .float16Operands = {},
6178 // int -> BOOL8 map
6179 .bool8Operands = {},
6180 // int -> QUANT8_SYMM_PER_CHANNEL map
6181 .quant8ChannelOperands = {{1, {1, 2, 3, 5, 6, 8, 12, 13, 15}}},
6182 // int -> QUANT16_ASYMM map
6183 .quant16AsymmOperands = {},
6184 // int -> QUANT8_SYMM map
6185 .quant8SymmOperands = {},
6186 },
6187 //Output(s)
6188 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6189 // int -> Dimensions map
6190 .operandDimensions = {{0, {1, 1, 1, 3}}},
6191 // int -> FLOAT32 map
6192 .float32Operands = {},
6193 // int -> INT32 map
6194 .int32Operands = {},
6195 // int -> QUANT8_ASYMM map
6196 .quant8AsymmOperands = {{0, {30, 75, 120}}},
6197 // int -> QUANT16_SYMM map
6198 .quant16SymmOperands = {},
6199 // int -> FLOAT16 map
6200 .float16Operands = {},
6201 // int -> BOOL8 map
6202 .bool8Operands = {},
6203 // int -> QUANT8_SYMM_PER_CHANNEL map
6204 .quant8ChannelOperands = {},
6205 // int -> QUANT16_ASYMM map
6206 .quant16AsymmOperands = {},
6207 // int -> QUANT8_SYMM map
6208 .quant8SymmOperands = {},
6209 }
6210 },
6211 }, // End of an example
6212 };
6213 return examples_channel_dynamic_output_shape_nhwc_weight_as_input_channelQuant8;
6214 };
6215
get_examples_channel_dynamic_output_shape_nhwc_weight_as_input_float16()6216 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nhwc_weight_as_input_float16() {
6217 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nhwc_weight_as_input_float16 = {
6218 // Begin of an example
6219 {
6220 .operands = {
6221 //Input(s)
6222 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6223 // int -> Dimensions map
6224 .operandDimensions = {{0, {1, 1, 1, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
6225 // int -> FLOAT32 map
6226 .float32Operands = {},
6227 // int -> INT32 map
6228 .int32Operands = {},
6229 // int -> QUANT8_ASYMM map
6230 .quant8AsymmOperands = {},
6231 // int -> QUANT16_SYMM map
6232 .quant16SymmOperands = {},
6233 // int -> FLOAT16 map
6234 .float16Operands = {{0, {5.0f, 5.0f, 5.0f}}, {1, {0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f}}, {2, {0.0f, 0.0f, 0.0f}}},
6235 // int -> BOOL8 map
6236 .bool8Operands = {},
6237 // int -> QUANT8_SYMM_PER_CHANNEL map
6238 .quant8ChannelOperands = {},
6239 // int -> QUANT16_ASYMM map
6240 .quant16AsymmOperands = {},
6241 // int -> QUANT8_SYMM map
6242 .quant8SymmOperands = {},
6243 },
6244 //Output(s)
6245 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6246 // int -> Dimensions map
6247 .operandDimensions = {{0, {1, 1, 1, 3}}},
6248 // int -> FLOAT32 map
6249 .float32Operands = {},
6250 // int -> INT32 map
6251 .int32Operands = {},
6252 // int -> QUANT8_ASYMM map
6253 .quant8AsymmOperands = {},
6254 // int -> QUANT16_SYMM map
6255 .quant16SymmOperands = {},
6256 // int -> FLOAT16 map
6257 .float16Operands = {{0, {15.0f, 37.5f, 60.0f}}},
6258 // int -> BOOL8 map
6259 .bool8Operands = {},
6260 // int -> QUANT8_SYMM_PER_CHANNEL map
6261 .quant8ChannelOperands = {},
6262 // int -> QUANT16_ASYMM map
6263 .quant16AsymmOperands = {},
6264 // int -> QUANT8_SYMM map
6265 .quant8SymmOperands = {},
6266 }
6267 },
6268 }, // End of an example
6269 };
6270 return examples_channel_dynamic_output_shape_nhwc_weight_as_input_float16;
6271 };
6272
get_examples_channel_dynamic_output_shape_nchw()6273 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nchw() {
6274 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nchw = {
6275 // Begin of an example
6276 {
6277 .operands = {
6278 //Input(s)
6279 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6280 // int -> Dimensions map
6281 .operandDimensions = {{0, {1, 3, 1, 1}}},
6282 // int -> FLOAT32 map
6283 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}},
6284 // int -> INT32 map
6285 .int32Operands = {},
6286 // int -> QUANT8_ASYMM map
6287 .quant8AsymmOperands = {},
6288 // int -> QUANT16_SYMM map
6289 .quant16SymmOperands = {},
6290 // int -> FLOAT16 map
6291 .float16Operands = {},
6292 // int -> BOOL8 map
6293 .bool8Operands = {},
6294 // int -> QUANT8_SYMM_PER_CHANNEL map
6295 .quant8ChannelOperands = {},
6296 // int -> QUANT16_ASYMM map
6297 .quant16AsymmOperands = {},
6298 // int -> QUANT8_SYMM map
6299 .quant8SymmOperands = {},
6300 },
6301 //Output(s)
6302 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6303 // int -> Dimensions map
6304 .operandDimensions = {{0, {1, 3, 1, 1}}},
6305 // int -> FLOAT32 map
6306 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
6307 // int -> INT32 map
6308 .int32Operands = {},
6309 // int -> QUANT8_ASYMM map
6310 .quant8AsymmOperands = {},
6311 // int -> QUANT16_SYMM map
6312 .quant16SymmOperands = {},
6313 // int -> FLOAT16 map
6314 .float16Operands = {},
6315 // int -> BOOL8 map
6316 .bool8Operands = {},
6317 // int -> QUANT8_SYMM_PER_CHANNEL map
6318 .quant8ChannelOperands = {},
6319 // int -> QUANT16_ASYMM map
6320 .quant16AsymmOperands = {},
6321 // int -> QUANT8_SYMM map
6322 .quant8SymmOperands = {},
6323 }
6324 },
6325 }, // End of an example
6326 };
6327 return examples_channel_dynamic_output_shape_nchw;
6328 };
6329
get_examples_channel_dynamic_output_shape_nchw_relaxed()6330 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nchw_relaxed() {
6331 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nchw_relaxed = {
6332 // Begin of an example
6333 {
6334 .operands = {
6335 //Input(s)
6336 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6337 // int -> Dimensions map
6338 .operandDimensions = {{0, {1, 3, 1, 1}}},
6339 // int -> FLOAT32 map
6340 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}},
6341 // int -> INT32 map
6342 .int32Operands = {},
6343 // int -> QUANT8_ASYMM map
6344 .quant8AsymmOperands = {},
6345 // int -> QUANT16_SYMM map
6346 .quant16SymmOperands = {},
6347 // int -> FLOAT16 map
6348 .float16Operands = {},
6349 // int -> BOOL8 map
6350 .bool8Operands = {},
6351 // int -> QUANT8_SYMM_PER_CHANNEL map
6352 .quant8ChannelOperands = {},
6353 // int -> QUANT16_ASYMM map
6354 .quant16AsymmOperands = {},
6355 // int -> QUANT8_SYMM map
6356 .quant8SymmOperands = {},
6357 },
6358 //Output(s)
6359 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6360 // int -> Dimensions map
6361 .operandDimensions = {{0, {1, 3, 1, 1}}},
6362 // int -> FLOAT32 map
6363 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
6364 // int -> INT32 map
6365 .int32Operands = {},
6366 // int -> QUANT8_ASYMM map
6367 .quant8AsymmOperands = {},
6368 // int -> QUANT16_SYMM map
6369 .quant16SymmOperands = {},
6370 // int -> FLOAT16 map
6371 .float16Operands = {},
6372 // int -> BOOL8 map
6373 .bool8Operands = {},
6374 // int -> QUANT8_SYMM_PER_CHANNEL map
6375 .quant8ChannelOperands = {},
6376 // int -> QUANT16_ASYMM map
6377 .quant16AsymmOperands = {},
6378 // int -> QUANT8_SYMM map
6379 .quant8SymmOperands = {},
6380 }
6381 },
6382 }, // End of an example
6383 };
6384 return examples_channel_dynamic_output_shape_nchw_relaxed;
6385 };
6386
get_examples_channel_dynamic_output_shape_nchw_quant8()6387 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nchw_quant8() {
6388 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nchw_quant8 = {
6389 // Begin of an example
6390 {
6391 .operands = {
6392 //Input(s)
6393 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6394 // int -> Dimensions map
6395 .operandDimensions = {{0, {1, 3, 1, 1}}},
6396 // int -> FLOAT32 map
6397 .float32Operands = {},
6398 // int -> INT32 map
6399 .int32Operands = {},
6400 // int -> QUANT8_ASYMM map
6401 .quant8AsymmOperands = {{0, {10, 10, 10}}},
6402 // int -> QUANT16_SYMM map
6403 .quant16SymmOperands = {},
6404 // int -> FLOAT16 map
6405 .float16Operands = {},
6406 // int -> BOOL8 map
6407 .bool8Operands = {},
6408 // int -> QUANT8_SYMM_PER_CHANNEL map
6409 .quant8ChannelOperands = {},
6410 // int -> QUANT16_ASYMM map
6411 .quant16AsymmOperands = {},
6412 // int -> QUANT8_SYMM map
6413 .quant8SymmOperands = {},
6414 },
6415 //Output(s)
6416 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6417 // int -> Dimensions map
6418 .operandDimensions = {{0, {1, 3, 1, 1}}},
6419 // int -> FLOAT32 map
6420 .float32Operands = {},
6421 // int -> INT32 map
6422 .int32Operands = {},
6423 // int -> QUANT8_ASYMM map
6424 .quant8AsymmOperands = {{0, {30, 75, 120}}},
6425 // int -> QUANT16_SYMM map
6426 .quant16SymmOperands = {},
6427 // int -> FLOAT16 map
6428 .float16Operands = {},
6429 // int -> BOOL8 map
6430 .bool8Operands = {},
6431 // int -> QUANT8_SYMM_PER_CHANNEL map
6432 .quant8ChannelOperands = {},
6433 // int -> QUANT16_ASYMM map
6434 .quant16AsymmOperands = {},
6435 // int -> QUANT8_SYMM map
6436 .quant8SymmOperands = {},
6437 }
6438 },
6439 }, // End of an example
6440 };
6441 return examples_channel_dynamic_output_shape_nchw_quant8;
6442 };
6443
get_examples_channel_dynamic_output_shape_nchw_channelQuant8()6444 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nchw_channelQuant8() {
6445 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nchw_channelQuant8 = {
6446 // Begin of an example
6447 {
6448 .operands = {
6449 //Input(s)
6450 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6451 // int -> Dimensions map
6452 .operandDimensions = {{0, {1, 3, 1, 1}}},
6453 // int -> FLOAT32 map
6454 .float32Operands = {},
6455 // int -> INT32 map
6456 .int32Operands = {},
6457 // int -> QUANT8_ASYMM map
6458 .quant8AsymmOperands = {{0, {10, 10, 10}}},
6459 // int -> QUANT16_SYMM map
6460 .quant16SymmOperands = {},
6461 // int -> FLOAT16 map
6462 .float16Operands = {},
6463 // int -> BOOL8 map
6464 .bool8Operands = {},
6465 // int -> QUANT8_SYMM_PER_CHANNEL map
6466 .quant8ChannelOperands = {},
6467 // int -> QUANT16_ASYMM map
6468 .quant16AsymmOperands = {},
6469 // int -> QUANT8_SYMM map
6470 .quant8SymmOperands = {},
6471 },
6472 //Output(s)
6473 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6474 // int -> Dimensions map
6475 .operandDimensions = {{0, {1, 3, 1, 1}}},
6476 // int -> FLOAT32 map
6477 .float32Operands = {},
6478 // int -> INT32 map
6479 .int32Operands = {},
6480 // int -> QUANT8_ASYMM map
6481 .quant8AsymmOperands = {{0, {30, 75, 120}}},
6482 // int -> QUANT16_SYMM map
6483 .quant16SymmOperands = {},
6484 // int -> FLOAT16 map
6485 .float16Operands = {},
6486 // int -> BOOL8 map
6487 .bool8Operands = {},
6488 // int -> QUANT8_SYMM_PER_CHANNEL map
6489 .quant8ChannelOperands = {},
6490 // int -> QUANT16_ASYMM map
6491 .quant16AsymmOperands = {},
6492 // int -> QUANT8_SYMM map
6493 .quant8SymmOperands = {},
6494 }
6495 },
6496 }, // End of an example
6497 };
6498 return examples_channel_dynamic_output_shape_nchw_channelQuant8;
6499 };
6500
get_examples_channel_dynamic_output_shape_nchw_float16()6501 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nchw_float16() {
6502 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nchw_float16 = {
6503 // Begin of an example
6504 {
6505 .operands = {
6506 //Input(s)
6507 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6508 // int -> Dimensions map
6509 .operandDimensions = {{0, {1, 3, 1, 1}}},
6510 // int -> FLOAT32 map
6511 .float32Operands = {},
6512 // int -> INT32 map
6513 .int32Operands = {},
6514 // int -> QUANT8_ASYMM map
6515 .quant8AsymmOperands = {},
6516 // int -> QUANT16_SYMM map
6517 .quant16SymmOperands = {},
6518 // int -> FLOAT16 map
6519 .float16Operands = {{0, {5.0f, 5.0f, 5.0f}}},
6520 // int -> BOOL8 map
6521 .bool8Operands = {},
6522 // int -> QUANT8_SYMM_PER_CHANNEL map
6523 .quant8ChannelOperands = {},
6524 // int -> QUANT16_ASYMM map
6525 .quant16AsymmOperands = {},
6526 // int -> QUANT8_SYMM map
6527 .quant8SymmOperands = {},
6528 },
6529 //Output(s)
6530 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6531 // int -> Dimensions map
6532 .operandDimensions = {{0, {1, 3, 1, 1}}},
6533 // int -> FLOAT32 map
6534 .float32Operands = {},
6535 // int -> INT32 map
6536 .int32Operands = {},
6537 // int -> QUANT8_ASYMM map
6538 .quant8AsymmOperands = {},
6539 // int -> QUANT16_SYMM map
6540 .quant16SymmOperands = {},
6541 // int -> FLOAT16 map
6542 .float16Operands = {{0, {15.0f, 37.5f, 60.0f}}},
6543 // int -> BOOL8 map
6544 .bool8Operands = {},
6545 // int -> QUANT8_SYMM_PER_CHANNEL map
6546 .quant8ChannelOperands = {},
6547 // int -> QUANT16_ASYMM map
6548 .quant16AsymmOperands = {},
6549 // int -> QUANT8_SYMM map
6550 .quant8SymmOperands = {},
6551 }
6552 },
6553 }, // End of an example
6554 };
6555 return examples_channel_dynamic_output_shape_nchw_float16;
6556 };
6557
get_examples_channel_dynamic_output_shape_nchw_weight_as_input()6558 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nchw_weight_as_input() {
6559 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nchw_weight_as_input = {
6560 // Begin of an example
6561 {
6562 .operands = {
6563 //Input(s)
6564 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6565 // int -> Dimensions map
6566 .operandDimensions = {{0, {1, 3, 1, 1}}, {1, {3, 1, 1, 3}}, {2, {3}}},
6567 // int -> FLOAT32 map
6568 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}, {1, {0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f}}, {2, {0.0f, 0.0f, 0.0f}}},
6569 // int -> INT32 map
6570 .int32Operands = {},
6571 // int -> QUANT8_ASYMM map
6572 .quant8AsymmOperands = {},
6573 // int -> QUANT16_SYMM map
6574 .quant16SymmOperands = {},
6575 // int -> FLOAT16 map
6576 .float16Operands = {},
6577 // int -> BOOL8 map
6578 .bool8Operands = {},
6579 // int -> QUANT8_SYMM_PER_CHANNEL map
6580 .quant8ChannelOperands = {},
6581 // int -> QUANT16_ASYMM map
6582 .quant16AsymmOperands = {},
6583 // int -> QUANT8_SYMM map
6584 .quant8SymmOperands = {},
6585 },
6586 //Output(s)
6587 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6588 // int -> Dimensions map
6589 .operandDimensions = {{0, {1, 3, 1, 1}}},
6590 // int -> FLOAT32 map
6591 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
6592 // int -> INT32 map
6593 .int32Operands = {},
6594 // int -> QUANT8_ASYMM map
6595 .quant8AsymmOperands = {},
6596 // int -> QUANT16_SYMM map
6597 .quant16SymmOperands = {},
6598 // int -> FLOAT16 map
6599 .float16Operands = {},
6600 // int -> BOOL8 map
6601 .bool8Operands = {},
6602 // int -> QUANT8_SYMM_PER_CHANNEL map
6603 .quant8ChannelOperands = {},
6604 // int -> QUANT16_ASYMM map
6605 .quant16AsymmOperands = {},
6606 // int -> QUANT8_SYMM map
6607 .quant8SymmOperands = {},
6608 }
6609 },
6610 }, // End of an example
6611 };
6612 return examples_channel_dynamic_output_shape_nchw_weight_as_input;
6613 };
6614
get_examples_channel_dynamic_output_shape_nchw_weight_as_input_relaxed()6615 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nchw_weight_as_input_relaxed() {
6616 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nchw_weight_as_input_relaxed = {
6617 // Begin of an example
6618 {
6619 .operands = {
6620 //Input(s)
6621 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6622 // int -> Dimensions map
6623 .operandDimensions = {{0, {1, 3, 1, 1}}, {1, {3, 1, 1, 3}}, {2, {3}}},
6624 // int -> FLOAT32 map
6625 .float32Operands = {{0, {5.0f, 5.0f, 5.0f}}, {1, {0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f}}, {2, {0.0f, 0.0f, 0.0f}}},
6626 // int -> INT32 map
6627 .int32Operands = {},
6628 // int -> QUANT8_ASYMM map
6629 .quant8AsymmOperands = {},
6630 // int -> QUANT16_SYMM map
6631 .quant16SymmOperands = {},
6632 // int -> FLOAT16 map
6633 .float16Operands = {},
6634 // int -> BOOL8 map
6635 .bool8Operands = {},
6636 // int -> QUANT8_SYMM_PER_CHANNEL map
6637 .quant8ChannelOperands = {},
6638 // int -> QUANT16_ASYMM map
6639 .quant16AsymmOperands = {},
6640 // int -> QUANT8_SYMM map
6641 .quant8SymmOperands = {},
6642 },
6643 //Output(s)
6644 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6645 // int -> Dimensions map
6646 .operandDimensions = {{0, {1, 3, 1, 1}}},
6647 // int -> FLOAT32 map
6648 .float32Operands = {{0, {15.0f, 37.5f, 60.0f}}},
6649 // int -> INT32 map
6650 .int32Operands = {},
6651 // int -> QUANT8_ASYMM map
6652 .quant8AsymmOperands = {},
6653 // int -> QUANT16_SYMM map
6654 .quant16SymmOperands = {},
6655 // int -> FLOAT16 map
6656 .float16Operands = {},
6657 // int -> BOOL8 map
6658 .bool8Operands = {},
6659 // int -> QUANT8_SYMM_PER_CHANNEL map
6660 .quant8ChannelOperands = {},
6661 // int -> QUANT16_ASYMM map
6662 .quant16AsymmOperands = {},
6663 // int -> QUANT8_SYMM map
6664 .quant8SymmOperands = {},
6665 }
6666 },
6667 }, // End of an example
6668 };
6669 return examples_channel_dynamic_output_shape_nchw_weight_as_input_relaxed;
6670 };
6671
get_examples_channel_dynamic_output_shape_nchw_weight_as_input_quant8()6672 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nchw_weight_as_input_quant8() {
6673 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nchw_weight_as_input_quant8 = {
6674 // Begin of an example
6675 {
6676 .operands = {
6677 //Input(s)
6678 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6679 // int -> Dimensions map
6680 .operandDimensions = {{0, {1, 3, 1, 1}}, {1, {3, 1, 1, 3}}, {2, {3}}},
6681 // int -> FLOAT32 map
6682 .float32Operands = {},
6683 // int -> INT32 map
6684 .int32Operands = {{2, {0, 0, 0}}},
6685 // int -> QUANT8_ASYMM map
6686 .quant8AsymmOperands = {{0, {10, 10, 10}}, {1, {1, 2, 3, 4, 5, 6, 7, 8, 9}}},
6687 // int -> QUANT16_SYMM map
6688 .quant16SymmOperands = {},
6689 // int -> FLOAT16 map
6690 .float16Operands = {},
6691 // int -> BOOL8 map
6692 .bool8Operands = {},
6693 // int -> QUANT8_SYMM_PER_CHANNEL map
6694 .quant8ChannelOperands = {},
6695 // int -> QUANT16_ASYMM map
6696 .quant16AsymmOperands = {},
6697 // int -> QUANT8_SYMM map
6698 .quant8SymmOperands = {},
6699 },
6700 //Output(s)
6701 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6702 // int -> Dimensions map
6703 .operandDimensions = {{0, {1, 3, 1, 1}}},
6704 // int -> FLOAT32 map
6705 .float32Operands = {},
6706 // int -> INT32 map
6707 .int32Operands = {},
6708 // int -> QUANT8_ASYMM map
6709 .quant8AsymmOperands = {{0, {30, 75, 120}}},
6710 // int -> QUANT16_SYMM map
6711 .quant16SymmOperands = {},
6712 // int -> FLOAT16 map
6713 .float16Operands = {},
6714 // int -> BOOL8 map
6715 .bool8Operands = {},
6716 // int -> QUANT8_SYMM_PER_CHANNEL map
6717 .quant8ChannelOperands = {},
6718 // int -> QUANT16_ASYMM map
6719 .quant16AsymmOperands = {},
6720 // int -> QUANT8_SYMM map
6721 .quant8SymmOperands = {},
6722 }
6723 },
6724 }, // End of an example
6725 };
6726 return examples_channel_dynamic_output_shape_nchw_weight_as_input_quant8;
6727 };
6728
get_examples_channel_dynamic_output_shape_nchw_weight_as_input_channelQuant8()6729 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nchw_weight_as_input_channelQuant8() {
6730 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nchw_weight_as_input_channelQuant8 = {
6731 // Begin of an example
6732 {
6733 .operands = {
6734 //Input(s)
6735 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6736 // int -> Dimensions map
6737 .operandDimensions = {{0, {1, 3, 1, 1}}, {1, {3, 1, 1, 3}}, {2, {3}}},
6738 // int -> FLOAT32 map
6739 .float32Operands = {},
6740 // int -> INT32 map
6741 .int32Operands = {{2, {0, 0, 0}}},
6742 // int -> QUANT8_ASYMM map
6743 .quant8AsymmOperands = {{0, {10, 10, 10}}},
6744 // int -> QUANT16_SYMM map
6745 .quant16SymmOperands = {},
6746 // int -> FLOAT16 map
6747 .float16Operands = {},
6748 // int -> BOOL8 map
6749 .bool8Operands = {},
6750 // int -> QUANT8_SYMM_PER_CHANNEL map
6751 .quant8ChannelOperands = {{1, {1, 2, 3, 5, 6, 8, 12, 13, 15}}},
6752 // int -> QUANT16_ASYMM map
6753 .quant16AsymmOperands = {},
6754 // int -> QUANT8_SYMM map
6755 .quant8SymmOperands = {},
6756 },
6757 //Output(s)
6758 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6759 // int -> Dimensions map
6760 .operandDimensions = {{0, {1, 3, 1, 1}}},
6761 // int -> FLOAT32 map
6762 .float32Operands = {},
6763 // int -> INT32 map
6764 .int32Operands = {},
6765 // int -> QUANT8_ASYMM map
6766 .quant8AsymmOperands = {{0, {30, 75, 120}}},
6767 // int -> QUANT16_SYMM map
6768 .quant16SymmOperands = {},
6769 // int -> FLOAT16 map
6770 .float16Operands = {},
6771 // int -> BOOL8 map
6772 .bool8Operands = {},
6773 // int -> QUANT8_SYMM_PER_CHANNEL map
6774 .quant8ChannelOperands = {},
6775 // int -> QUANT16_ASYMM map
6776 .quant16AsymmOperands = {},
6777 // int -> QUANT8_SYMM map
6778 .quant8SymmOperands = {},
6779 }
6780 },
6781 }, // End of an example
6782 };
6783 return examples_channel_dynamic_output_shape_nchw_weight_as_input_channelQuant8;
6784 };
6785
get_examples_channel_dynamic_output_shape_nchw_weight_as_input_float16()6786 std::vector<MixedTypedExample>& get_examples_channel_dynamic_output_shape_nchw_weight_as_input_float16() {
6787 static std::vector<MixedTypedExample> examples_channel_dynamic_output_shape_nchw_weight_as_input_float16 = {
6788 // Begin of an example
6789 {
6790 .operands = {
6791 //Input(s)
6792 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6793 // int -> Dimensions map
6794 .operandDimensions = {{0, {1, 3, 1, 1}}, {1, {3, 1, 1, 3}}, {2, {3}}},
6795 // int -> FLOAT32 map
6796 .float32Operands = {},
6797 // int -> INT32 map
6798 .int32Operands = {},
6799 // int -> QUANT8_ASYMM map
6800 .quant8AsymmOperands = {},
6801 // int -> QUANT16_SYMM map
6802 .quant16SymmOperands = {},
6803 // int -> FLOAT16 map
6804 .float16Operands = {{0, {5.0f, 5.0f, 5.0f}}, {1, {0.5f, 1.0f, 1.5f, 2.0f, 2.5f, 3.0f, 3.5f, 4.0f, 4.5f}}, {2, {0.0f, 0.0f, 0.0f}}},
6805 // int -> BOOL8 map
6806 .bool8Operands = {},
6807 // int -> QUANT8_SYMM_PER_CHANNEL map
6808 .quant8ChannelOperands = {},
6809 // int -> QUANT16_ASYMM map
6810 .quant16AsymmOperands = {},
6811 // int -> QUANT8_SYMM map
6812 .quant8SymmOperands = {},
6813 },
6814 //Output(s)
6815 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6816 // int -> Dimensions map
6817 .operandDimensions = {{0, {1, 3, 1, 1}}},
6818 // int -> FLOAT32 map
6819 .float32Operands = {},
6820 // int -> INT32 map
6821 .int32Operands = {},
6822 // int -> QUANT8_ASYMM map
6823 .quant8AsymmOperands = {},
6824 // int -> QUANT16_SYMM map
6825 .quant16SymmOperands = {},
6826 // int -> FLOAT16 map
6827 .float16Operands = {{0, {15.0f, 37.5f, 60.0f}}},
6828 // int -> BOOL8 map
6829 .bool8Operands = {},
6830 // int -> QUANT8_SYMM_PER_CHANNEL map
6831 .quant8ChannelOperands = {},
6832 // int -> QUANT16_ASYMM map
6833 .quant16AsymmOperands = {},
6834 // int -> QUANT8_SYMM map
6835 .quant8SymmOperands = {},
6836 }
6837 },
6838 }, // End of an example
6839 };
6840 return examples_channel_dynamic_output_shape_nchw_weight_as_input_float16;
6841 };
6842
get_examples_large_nhwc()6843 std::vector<MixedTypedExample>& get_examples_large_nhwc() {
6844 static std::vector<MixedTypedExample> examples_large_nhwc = {
6845 // Begin of an example
6846 {
6847 .operands = {
6848 //Input(s)
6849 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6850 // int -> Dimensions map
6851 .operandDimensions = {{0, {1, 2, 3, 3}}},
6852 // int -> FLOAT32 map
6853 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}},
6854 // int -> INT32 map
6855 .int32Operands = {},
6856 // int -> QUANT8_ASYMM map
6857 .quant8AsymmOperands = {},
6858 // int -> QUANT16_SYMM map
6859 .quant16SymmOperands = {},
6860 // int -> FLOAT16 map
6861 .float16Operands = {},
6862 // int -> BOOL8 map
6863 .bool8Operands = {},
6864 // int -> QUANT8_SYMM_PER_CHANNEL map
6865 .quant8ChannelOperands = {},
6866 // int -> QUANT16_ASYMM map
6867 .quant16AsymmOperands = {},
6868 // int -> QUANT8_SYMM map
6869 .quant8SymmOperands = {},
6870 },
6871 //Output(s)
6872 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6873 // int -> Dimensions map
6874 .operandDimensions = {{0, {1, 2, 3, 3}}},
6875 // int -> FLOAT32 map
6876 .float32Operands = {{0, {30.0f, 36.0f, 42.0f, 66.0f, 81.0f, 96.0f, 102.0f, 126.0f, 150.0f, 138.0f, 171.0f, 204.0f, 174.0f, 216.0f, 258.0f, 210.0f, 261.0f, 312.0f}}},
6877 // int -> INT32 map
6878 .int32Operands = {},
6879 // int -> QUANT8_ASYMM map
6880 .quant8AsymmOperands = {},
6881 // int -> QUANT16_SYMM map
6882 .quant16SymmOperands = {},
6883 // int -> FLOAT16 map
6884 .float16Operands = {},
6885 // int -> BOOL8 map
6886 .bool8Operands = {},
6887 // int -> QUANT8_SYMM_PER_CHANNEL map
6888 .quant8ChannelOperands = {},
6889 // int -> QUANT16_ASYMM map
6890 .quant16AsymmOperands = {},
6891 // int -> QUANT8_SYMM map
6892 .quant8SymmOperands = {},
6893 }
6894 },
6895 }, // End of an example
6896 };
6897 return examples_large_nhwc;
6898 };
6899
get_examples_large_nhwc_relaxed()6900 std::vector<MixedTypedExample>& get_examples_large_nhwc_relaxed() {
6901 static std::vector<MixedTypedExample> examples_large_nhwc_relaxed = {
6902 // Begin of an example
6903 {
6904 .operands = {
6905 //Input(s)
6906 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6907 // int -> Dimensions map
6908 .operandDimensions = {{0, {1, 2, 3, 3}}},
6909 // int -> FLOAT32 map
6910 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}},
6911 // int -> INT32 map
6912 .int32Operands = {},
6913 // int -> QUANT8_ASYMM map
6914 .quant8AsymmOperands = {},
6915 // int -> QUANT16_SYMM map
6916 .quant16SymmOperands = {},
6917 // int -> FLOAT16 map
6918 .float16Operands = {},
6919 // int -> BOOL8 map
6920 .bool8Operands = {},
6921 // int -> QUANT8_SYMM_PER_CHANNEL map
6922 .quant8ChannelOperands = {},
6923 // int -> QUANT16_ASYMM map
6924 .quant16AsymmOperands = {},
6925 // int -> QUANT8_SYMM map
6926 .quant8SymmOperands = {},
6927 },
6928 //Output(s)
6929 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6930 // int -> Dimensions map
6931 .operandDimensions = {{0, {1, 2, 3, 3}}},
6932 // int -> FLOAT32 map
6933 .float32Operands = {{0, {30.0f, 36.0f, 42.0f, 66.0f, 81.0f, 96.0f, 102.0f, 126.0f, 150.0f, 138.0f, 171.0f, 204.0f, 174.0f, 216.0f, 258.0f, 210.0f, 261.0f, 312.0f}}},
6934 // int -> INT32 map
6935 .int32Operands = {},
6936 // int -> QUANT8_ASYMM map
6937 .quant8AsymmOperands = {},
6938 // int -> QUANT16_SYMM map
6939 .quant16SymmOperands = {},
6940 // int -> FLOAT16 map
6941 .float16Operands = {},
6942 // int -> BOOL8 map
6943 .bool8Operands = {},
6944 // int -> QUANT8_SYMM_PER_CHANNEL map
6945 .quant8ChannelOperands = {},
6946 // int -> QUANT16_ASYMM map
6947 .quant16AsymmOperands = {},
6948 // int -> QUANT8_SYMM map
6949 .quant8SymmOperands = {},
6950 }
6951 },
6952 }, // End of an example
6953 };
6954 return examples_large_nhwc_relaxed;
6955 };
6956
get_examples_large_nhwc_quant8()6957 std::vector<MixedTypedExample>& get_examples_large_nhwc_quant8() {
6958 static std::vector<MixedTypedExample> examples_large_nhwc_quant8 = {
6959 // Begin of an example
6960 {
6961 .operands = {
6962 //Input(s)
6963 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6964 // int -> Dimensions map
6965 .operandDimensions = {{0, {1, 2, 3, 3}}},
6966 // int -> FLOAT32 map
6967 .float32Operands = {},
6968 // int -> INT32 map
6969 .int32Operands = {},
6970 // int -> QUANT8_ASYMM map
6971 .quant8AsymmOperands = {{0, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}},
6972 // int -> QUANT16_SYMM map
6973 .quant16SymmOperands = {},
6974 // int -> FLOAT16 map
6975 .float16Operands = {},
6976 // int -> BOOL8 map
6977 .bool8Operands = {},
6978 // int -> QUANT8_SYMM_PER_CHANNEL map
6979 .quant8ChannelOperands = {},
6980 // int -> QUANT16_ASYMM map
6981 .quant16AsymmOperands = {},
6982 // int -> QUANT8_SYMM map
6983 .quant8SymmOperands = {},
6984 },
6985 //Output(s)
6986 { // See tools/test_generator/include/TestHarness.h:MixedTyped
6987 // int -> Dimensions map
6988 .operandDimensions = {{0, {1, 2, 3, 3}}},
6989 // int -> FLOAT32 map
6990 .float32Operands = {},
6991 // int -> INT32 map
6992 .int32Operands = {},
6993 // int -> QUANT8_ASYMM map
6994 .quant8AsymmOperands = {{0, {15, 18, 21, 33, 40, 48, 51, 63, 75, 69, 86, 102, 87, 108, 129, 105, 130, 156}}},
6995 // int -> QUANT16_SYMM map
6996 .quant16SymmOperands = {},
6997 // int -> FLOAT16 map
6998 .float16Operands = {},
6999 // int -> BOOL8 map
7000 .bool8Operands = {},
7001 // int -> QUANT8_SYMM_PER_CHANNEL map
7002 .quant8ChannelOperands = {},
7003 // int -> QUANT16_ASYMM map
7004 .quant16AsymmOperands = {},
7005 // int -> QUANT8_SYMM map
7006 .quant8SymmOperands = {},
7007 }
7008 },
7009 }, // End of an example
7010 };
7011 return examples_large_nhwc_quant8;
7012 };
7013
get_examples_large_nhwc_channelQuant8()7014 std::vector<MixedTypedExample>& get_examples_large_nhwc_channelQuant8() {
7015 static std::vector<MixedTypedExample> examples_large_nhwc_channelQuant8 = {
7016 // Begin of an example
7017 {
7018 .operands = {
7019 //Input(s)
7020 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7021 // int -> Dimensions map
7022 .operandDimensions = {{0, {1, 2, 3, 3}}},
7023 // int -> FLOAT32 map
7024 .float32Operands = {},
7025 // int -> INT32 map
7026 .int32Operands = {},
7027 // int -> QUANT8_ASYMM map
7028 .quant8AsymmOperands = {{0, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}},
7029 // int -> QUANT16_SYMM map
7030 .quant16SymmOperands = {},
7031 // int -> FLOAT16 map
7032 .float16Operands = {},
7033 // int -> BOOL8 map
7034 .bool8Operands = {},
7035 // int -> QUANT8_SYMM_PER_CHANNEL map
7036 .quant8ChannelOperands = {},
7037 // int -> QUANT16_ASYMM map
7038 .quant16AsymmOperands = {},
7039 // int -> QUANT8_SYMM map
7040 .quant8SymmOperands = {},
7041 },
7042 //Output(s)
7043 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7044 // int -> Dimensions map
7045 .operandDimensions = {{0, {1, 2, 3, 3}}},
7046 // int -> FLOAT32 map
7047 .float32Operands = {},
7048 // int -> INT32 map
7049 .int32Operands = {},
7050 // int -> QUANT8_ASYMM map
7051 .quant8AsymmOperands = {{0, {15, 18, 21, 33, 40, 48, 51, 63, 75, 69, 86, 102, 87, 108, 129, 105, 130, 156}}},
7052 // int -> QUANT16_SYMM map
7053 .quant16SymmOperands = {},
7054 // int -> FLOAT16 map
7055 .float16Operands = {},
7056 // int -> BOOL8 map
7057 .bool8Operands = {},
7058 // int -> QUANT8_SYMM_PER_CHANNEL map
7059 .quant8ChannelOperands = {},
7060 // int -> QUANT16_ASYMM map
7061 .quant16AsymmOperands = {},
7062 // int -> QUANT8_SYMM map
7063 .quant8SymmOperands = {},
7064 }
7065 },
7066 }, // End of an example
7067 };
7068 return examples_large_nhwc_channelQuant8;
7069 };
7070
get_examples_large_nhwc_channelQuant8_2()7071 std::vector<MixedTypedExample>& get_examples_large_nhwc_channelQuant8_2() {
7072 static std::vector<MixedTypedExample> examples_large_nhwc_channelQuant8_2 = {
7073 // Begin of an example
7074 {
7075 .operands = {
7076 //Input(s)
7077 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7078 // int -> Dimensions map
7079 .operandDimensions = {{0, {1, 2, 3, 3}}},
7080 // int -> FLOAT32 map
7081 .float32Operands = {},
7082 // int -> INT32 map
7083 .int32Operands = {},
7084 // int -> QUANT8_ASYMM map
7085 .quant8AsymmOperands = {{0, {128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145}}},
7086 // int -> QUANT16_SYMM map
7087 .quant16SymmOperands = {},
7088 // int -> FLOAT16 map
7089 .float16Operands = {},
7090 // int -> BOOL8 map
7091 .bool8Operands = {},
7092 // int -> QUANT8_SYMM_PER_CHANNEL map
7093 .quant8ChannelOperands = {},
7094 // int -> QUANT16_ASYMM map
7095 .quant16AsymmOperands = {},
7096 // int -> QUANT8_SYMM map
7097 .quant8SymmOperands = {},
7098 },
7099 //Output(s)
7100 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7101 // int -> Dimensions map
7102 .operandDimensions = {{0, {1, 2, 3, 3}}},
7103 // int -> FLOAT32 map
7104 .float32Operands = {},
7105 // int -> INT32 map
7106 .int32Operands = {},
7107 // int -> QUANT8_ASYMM map
7108 .quant8AsymmOperands = {{0, {157, 163, 169, 193, 208, 223, 229, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255}}},
7109 // int -> QUANT16_SYMM map
7110 .quant16SymmOperands = {},
7111 // int -> FLOAT16 map
7112 .float16Operands = {},
7113 // int -> BOOL8 map
7114 .bool8Operands = {},
7115 // int -> QUANT8_SYMM_PER_CHANNEL map
7116 .quant8ChannelOperands = {},
7117 // int -> QUANT16_ASYMM map
7118 .quant16AsymmOperands = {},
7119 // int -> QUANT8_SYMM map
7120 .quant8SymmOperands = {},
7121 }
7122 },
7123 }, // End of an example
7124 };
7125 return examples_large_nhwc_channelQuant8_2;
7126 };
7127
get_examples_large_nhwc_float16()7128 std::vector<MixedTypedExample>& get_examples_large_nhwc_float16() {
7129 static std::vector<MixedTypedExample> examples_large_nhwc_float16 = {
7130 // Begin of an example
7131 {
7132 .operands = {
7133 //Input(s)
7134 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7135 // int -> Dimensions map
7136 .operandDimensions = {{0, {1, 2, 3, 3}}},
7137 // int -> FLOAT32 map
7138 .float32Operands = {},
7139 // int -> INT32 map
7140 .int32Operands = {},
7141 // int -> QUANT8_ASYMM map
7142 .quant8AsymmOperands = {},
7143 // int -> QUANT16_SYMM map
7144 .quant16SymmOperands = {},
7145 // int -> FLOAT16 map
7146 .float16Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}},
7147 // int -> BOOL8 map
7148 .bool8Operands = {},
7149 // int -> QUANT8_SYMM_PER_CHANNEL map
7150 .quant8ChannelOperands = {},
7151 // int -> QUANT16_ASYMM map
7152 .quant16AsymmOperands = {},
7153 // int -> QUANT8_SYMM map
7154 .quant8SymmOperands = {},
7155 },
7156 //Output(s)
7157 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7158 // int -> Dimensions map
7159 .operandDimensions = {{0, {1, 2, 3, 3}}},
7160 // int -> FLOAT32 map
7161 .float32Operands = {},
7162 // int -> INT32 map
7163 .int32Operands = {},
7164 // int -> QUANT8_ASYMM map
7165 .quant8AsymmOperands = {},
7166 // int -> QUANT16_SYMM map
7167 .quant16SymmOperands = {},
7168 // int -> FLOAT16 map
7169 .float16Operands = {{0, {30.0f, 36.0f, 42.0f, 66.0f, 81.0f, 96.0f, 102.0f, 126.0f, 150.0f, 138.0f, 171.0f, 204.0f, 174.0f, 216.0f, 258.0f, 210.0f, 261.0f, 312.0f}}},
7170 // int -> BOOL8 map
7171 .bool8Operands = {},
7172 // int -> QUANT8_SYMM_PER_CHANNEL map
7173 .quant8ChannelOperands = {},
7174 // int -> QUANT16_ASYMM map
7175 .quant16AsymmOperands = {},
7176 // int -> QUANT8_SYMM map
7177 .quant8SymmOperands = {},
7178 }
7179 },
7180 }, // End of an example
7181 };
7182 return examples_large_nhwc_float16;
7183 };
7184
get_examples_large_nhwc_weight_as_input()7185 std::vector<MixedTypedExample>& get_examples_large_nhwc_weight_as_input() {
7186 static std::vector<MixedTypedExample> examples_large_nhwc_weight_as_input = {
7187 // Begin of an example
7188 {
7189 .operands = {
7190 //Input(s)
7191 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7192 // int -> Dimensions map
7193 .operandDimensions = {{0, {1, 2, 3, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
7194 // int -> FLOAT32 map
7195 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {0.0f, 0.0f, 0.0f}}},
7196 // int -> INT32 map
7197 .int32Operands = {},
7198 // int -> QUANT8_ASYMM map
7199 .quant8AsymmOperands = {},
7200 // int -> QUANT16_SYMM map
7201 .quant16SymmOperands = {},
7202 // int -> FLOAT16 map
7203 .float16Operands = {},
7204 // int -> BOOL8 map
7205 .bool8Operands = {},
7206 // int -> QUANT8_SYMM_PER_CHANNEL map
7207 .quant8ChannelOperands = {},
7208 // int -> QUANT16_ASYMM map
7209 .quant16AsymmOperands = {},
7210 // int -> QUANT8_SYMM map
7211 .quant8SymmOperands = {},
7212 },
7213 //Output(s)
7214 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7215 // int -> Dimensions map
7216 .operandDimensions = {{0, {1, 2, 3, 3}}},
7217 // int -> FLOAT32 map
7218 .float32Operands = {{0, {30.0f, 36.0f, 42.0f, 66.0f, 81.0f, 96.0f, 102.0f, 126.0f, 150.0f, 138.0f, 171.0f, 204.0f, 174.0f, 216.0f, 258.0f, 210.0f, 261.0f, 312.0f}}},
7219 // int -> INT32 map
7220 .int32Operands = {},
7221 // int -> QUANT8_ASYMM map
7222 .quant8AsymmOperands = {},
7223 // int -> QUANT16_SYMM map
7224 .quant16SymmOperands = {},
7225 // int -> FLOAT16 map
7226 .float16Operands = {},
7227 // int -> BOOL8 map
7228 .bool8Operands = {},
7229 // int -> QUANT8_SYMM_PER_CHANNEL map
7230 .quant8ChannelOperands = {},
7231 // int -> QUANT16_ASYMM map
7232 .quant16AsymmOperands = {},
7233 // int -> QUANT8_SYMM map
7234 .quant8SymmOperands = {},
7235 }
7236 },
7237 }, // End of an example
7238 };
7239 return examples_large_nhwc_weight_as_input;
7240 };
7241
get_examples_large_nhwc_weight_as_input_relaxed()7242 std::vector<MixedTypedExample>& get_examples_large_nhwc_weight_as_input_relaxed() {
7243 static std::vector<MixedTypedExample> examples_large_nhwc_weight_as_input_relaxed = {
7244 // Begin of an example
7245 {
7246 .operands = {
7247 //Input(s)
7248 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7249 // int -> Dimensions map
7250 .operandDimensions = {{0, {1, 2, 3, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
7251 // int -> FLOAT32 map
7252 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {0.0f, 0.0f, 0.0f}}},
7253 // int -> INT32 map
7254 .int32Operands = {},
7255 // int -> QUANT8_ASYMM map
7256 .quant8AsymmOperands = {},
7257 // int -> QUANT16_SYMM map
7258 .quant16SymmOperands = {},
7259 // int -> FLOAT16 map
7260 .float16Operands = {},
7261 // int -> BOOL8 map
7262 .bool8Operands = {},
7263 // int -> QUANT8_SYMM_PER_CHANNEL map
7264 .quant8ChannelOperands = {},
7265 // int -> QUANT16_ASYMM map
7266 .quant16AsymmOperands = {},
7267 // int -> QUANT8_SYMM map
7268 .quant8SymmOperands = {},
7269 },
7270 //Output(s)
7271 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7272 // int -> Dimensions map
7273 .operandDimensions = {{0, {1, 2, 3, 3}}},
7274 // int -> FLOAT32 map
7275 .float32Operands = {{0, {30.0f, 36.0f, 42.0f, 66.0f, 81.0f, 96.0f, 102.0f, 126.0f, 150.0f, 138.0f, 171.0f, 204.0f, 174.0f, 216.0f, 258.0f, 210.0f, 261.0f, 312.0f}}},
7276 // int -> INT32 map
7277 .int32Operands = {},
7278 // int -> QUANT8_ASYMM map
7279 .quant8AsymmOperands = {},
7280 // int -> QUANT16_SYMM map
7281 .quant16SymmOperands = {},
7282 // int -> FLOAT16 map
7283 .float16Operands = {},
7284 // int -> BOOL8 map
7285 .bool8Operands = {},
7286 // int -> QUANT8_SYMM_PER_CHANNEL map
7287 .quant8ChannelOperands = {},
7288 // int -> QUANT16_ASYMM map
7289 .quant16AsymmOperands = {},
7290 // int -> QUANT8_SYMM map
7291 .quant8SymmOperands = {},
7292 }
7293 },
7294 }, // End of an example
7295 };
7296 return examples_large_nhwc_weight_as_input_relaxed;
7297 };
7298
get_examples_large_nhwc_weight_as_input_quant8()7299 std::vector<MixedTypedExample>& get_examples_large_nhwc_weight_as_input_quant8() {
7300 static std::vector<MixedTypedExample> examples_large_nhwc_weight_as_input_quant8 = {
7301 // Begin of an example
7302 {
7303 .operands = {
7304 //Input(s)
7305 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7306 // int -> Dimensions map
7307 .operandDimensions = {{0, {1, 2, 3, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
7308 // int -> FLOAT32 map
7309 .float32Operands = {},
7310 // int -> INT32 map
7311 .int32Operands = {{2, {0, 0, 0}}},
7312 // int -> QUANT8_ASYMM map
7313 .quant8AsymmOperands = {{0, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}, {1, {130, 136, 142, 132, 138, 144, 134, 140, 146}}},
7314 // int -> QUANT16_SYMM map
7315 .quant16SymmOperands = {},
7316 // int -> FLOAT16 map
7317 .float16Operands = {},
7318 // int -> BOOL8 map
7319 .bool8Operands = {},
7320 // int -> QUANT8_SYMM_PER_CHANNEL map
7321 .quant8ChannelOperands = {},
7322 // int -> QUANT16_ASYMM map
7323 .quant16AsymmOperands = {},
7324 // int -> QUANT8_SYMM map
7325 .quant8SymmOperands = {},
7326 },
7327 //Output(s)
7328 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7329 // int -> Dimensions map
7330 .operandDimensions = {{0, {1, 2, 3, 3}}},
7331 // int -> FLOAT32 map
7332 .float32Operands = {},
7333 // int -> INT32 map
7334 .int32Operands = {},
7335 // int -> QUANT8_ASYMM map
7336 .quant8AsymmOperands = {{0, {15, 18, 21, 33, 40, 48, 51, 63, 75, 69, 86, 102, 87, 108, 129, 105, 130, 156}}},
7337 // int -> QUANT16_SYMM map
7338 .quant16SymmOperands = {},
7339 // int -> FLOAT16 map
7340 .float16Operands = {},
7341 // int -> BOOL8 map
7342 .bool8Operands = {},
7343 // int -> QUANT8_SYMM_PER_CHANNEL map
7344 .quant8ChannelOperands = {},
7345 // int -> QUANT16_ASYMM map
7346 .quant16AsymmOperands = {},
7347 // int -> QUANT8_SYMM map
7348 .quant8SymmOperands = {},
7349 }
7350 },
7351 }, // End of an example
7352 };
7353 return examples_large_nhwc_weight_as_input_quant8;
7354 };
7355
get_examples_large_nhwc_weight_as_input_channelQuant8()7356 std::vector<MixedTypedExample>& get_examples_large_nhwc_weight_as_input_channelQuant8() {
7357 static std::vector<MixedTypedExample> examples_large_nhwc_weight_as_input_channelQuant8 = {
7358 // Begin of an example
7359 {
7360 .operands = {
7361 //Input(s)
7362 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7363 // int -> Dimensions map
7364 .operandDimensions = {{0, {1, 2, 3, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
7365 // int -> FLOAT32 map
7366 .float32Operands = {},
7367 // int -> INT32 map
7368 .int32Operands = {{2, {0, 0, 0}}},
7369 // int -> QUANT8_ASYMM map
7370 .quant8AsymmOperands = {{0, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}},
7371 // int -> QUANT16_SYMM map
7372 .quant16SymmOperands = {},
7373 // int -> FLOAT16 map
7374 .float16Operands = {},
7375 // int -> BOOL8 map
7376 .bool8Operands = {},
7377 // int -> QUANT8_SYMM_PER_CHANNEL map
7378 .quant8ChannelOperands = {{1, {2, 8, 14, 2, 5, 8, 6, 12, 18}}},
7379 // int -> QUANT16_ASYMM map
7380 .quant16AsymmOperands = {},
7381 // int -> QUANT8_SYMM map
7382 .quant8SymmOperands = {},
7383 },
7384 //Output(s)
7385 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7386 // int -> Dimensions map
7387 .operandDimensions = {{0, {1, 2, 3, 3}}},
7388 // int -> FLOAT32 map
7389 .float32Operands = {},
7390 // int -> INT32 map
7391 .int32Operands = {},
7392 // int -> QUANT8_ASYMM map
7393 .quant8AsymmOperands = {{0, {15, 18, 21, 33, 40, 48, 51, 63, 75, 69, 86, 102, 87, 108, 129, 105, 130, 156}}},
7394 // int -> QUANT16_SYMM map
7395 .quant16SymmOperands = {},
7396 // int -> FLOAT16 map
7397 .float16Operands = {},
7398 // int -> BOOL8 map
7399 .bool8Operands = {},
7400 // int -> QUANT8_SYMM_PER_CHANNEL map
7401 .quant8ChannelOperands = {},
7402 // int -> QUANT16_ASYMM map
7403 .quant16AsymmOperands = {},
7404 // int -> QUANT8_SYMM map
7405 .quant8SymmOperands = {},
7406 }
7407 },
7408 }, // End of an example
7409 };
7410 return examples_large_nhwc_weight_as_input_channelQuant8;
7411 };
7412
get_examples_large_nhwc_weight_as_input_channelQuant8_2()7413 std::vector<MixedTypedExample>& get_examples_large_nhwc_weight_as_input_channelQuant8_2() {
7414 static std::vector<MixedTypedExample> examples_large_nhwc_weight_as_input_channelQuant8_2 = {
7415 // Begin of an example
7416 {
7417 .operands = {
7418 //Input(s)
7419 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7420 // int -> Dimensions map
7421 .operandDimensions = {{0, {1, 2, 3, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
7422 // int -> FLOAT32 map
7423 .float32Operands = {},
7424 // int -> INT32 map
7425 .int32Operands = {{2, {0, 0, 0}}},
7426 // int -> QUANT8_ASYMM map
7427 .quant8AsymmOperands = {{0, {128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145}}},
7428 // int -> QUANT16_SYMM map
7429 .quant16SymmOperands = {},
7430 // int -> FLOAT16 map
7431 .float16Operands = {},
7432 // int -> BOOL8 map
7433 .bool8Operands = {},
7434 // int -> QUANT8_SYMM_PER_CHANNEL map
7435 .quant8ChannelOperands = {{1, {2, 8, 14, 2, 5, 8, 3, 6, 9}}},
7436 // int -> QUANT16_ASYMM map
7437 .quant16AsymmOperands = {},
7438 // int -> QUANT8_SYMM map
7439 .quant8SymmOperands = {},
7440 },
7441 //Output(s)
7442 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7443 // int -> Dimensions map
7444 .operandDimensions = {{0, {1, 2, 3, 3}}},
7445 // int -> FLOAT32 map
7446 .float32Operands = {},
7447 // int -> INT32 map
7448 .int32Operands = {},
7449 // int -> QUANT8_ASYMM map
7450 .quant8AsymmOperands = {{0, {157, 163, 169, 193, 208, 223, 229, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255}}},
7451 // int -> QUANT16_SYMM map
7452 .quant16SymmOperands = {},
7453 // int -> FLOAT16 map
7454 .float16Operands = {},
7455 // int -> BOOL8 map
7456 .bool8Operands = {},
7457 // int -> QUANT8_SYMM_PER_CHANNEL map
7458 .quant8ChannelOperands = {},
7459 // int -> QUANT16_ASYMM map
7460 .quant16AsymmOperands = {},
7461 // int -> QUANT8_SYMM map
7462 .quant8SymmOperands = {},
7463 }
7464 },
7465 }, // End of an example
7466 };
7467 return examples_large_nhwc_weight_as_input_channelQuant8_2;
7468 };
7469
get_examples_large_nhwc_weight_as_input_float16()7470 std::vector<MixedTypedExample>& get_examples_large_nhwc_weight_as_input_float16() {
7471 static std::vector<MixedTypedExample> examples_large_nhwc_weight_as_input_float16 = {
7472 // Begin of an example
7473 {
7474 .operands = {
7475 //Input(s)
7476 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7477 // int -> Dimensions map
7478 .operandDimensions = {{0, {1, 2, 3, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
7479 // int -> FLOAT32 map
7480 .float32Operands = {},
7481 // int -> INT32 map
7482 .int32Operands = {},
7483 // int -> QUANT8_ASYMM map
7484 .quant8AsymmOperands = {},
7485 // int -> QUANT16_SYMM map
7486 .quant16SymmOperands = {},
7487 // int -> FLOAT16 map
7488 .float16Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {0.0f, 0.0f, 0.0f}}},
7489 // int -> BOOL8 map
7490 .bool8Operands = {},
7491 // int -> QUANT8_SYMM_PER_CHANNEL map
7492 .quant8ChannelOperands = {},
7493 // int -> QUANT16_ASYMM map
7494 .quant16AsymmOperands = {},
7495 // int -> QUANT8_SYMM map
7496 .quant8SymmOperands = {},
7497 },
7498 //Output(s)
7499 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7500 // int -> Dimensions map
7501 .operandDimensions = {{0, {1, 2, 3, 3}}},
7502 // int -> FLOAT32 map
7503 .float32Operands = {},
7504 // int -> INT32 map
7505 .int32Operands = {},
7506 // int -> QUANT8_ASYMM map
7507 .quant8AsymmOperands = {},
7508 // int -> QUANT16_SYMM map
7509 .quant16SymmOperands = {},
7510 // int -> FLOAT16 map
7511 .float16Operands = {{0, {30.0f, 36.0f, 42.0f, 66.0f, 81.0f, 96.0f, 102.0f, 126.0f, 150.0f, 138.0f, 171.0f, 204.0f, 174.0f, 216.0f, 258.0f, 210.0f, 261.0f, 312.0f}}},
7512 // int -> BOOL8 map
7513 .bool8Operands = {},
7514 // int -> QUANT8_SYMM_PER_CHANNEL map
7515 .quant8ChannelOperands = {},
7516 // int -> QUANT16_ASYMM map
7517 .quant16AsymmOperands = {},
7518 // int -> QUANT8_SYMM map
7519 .quant8SymmOperands = {},
7520 }
7521 },
7522 }, // End of an example
7523 };
7524 return examples_large_nhwc_weight_as_input_float16;
7525 };
7526
get_examples_large_nchw()7527 std::vector<MixedTypedExample>& get_examples_large_nchw() {
7528 static std::vector<MixedTypedExample> examples_large_nchw = {
7529 // Begin of an example
7530 {
7531 .operands = {
7532 //Input(s)
7533 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7534 // int -> Dimensions map
7535 .operandDimensions = {{0, {1, 3, 2, 3}}},
7536 // int -> FLOAT32 map
7537 .float32Operands = {{0, {1.0f, 4.0f, 7.0f, 10.0f, 13.0f, 16.0f, 2.0f, 5.0f, 8.0f, 11.0f, 14.0f, 17.0f, 3.0f, 6.0f, 9.0f, 12.0f, 15.0f, 18.0f}}},
7538 // int -> INT32 map
7539 .int32Operands = {},
7540 // int -> QUANT8_ASYMM map
7541 .quant8AsymmOperands = {},
7542 // int -> QUANT16_SYMM map
7543 .quant16SymmOperands = {},
7544 // int -> FLOAT16 map
7545 .float16Operands = {},
7546 // int -> BOOL8 map
7547 .bool8Operands = {},
7548 // int -> QUANT8_SYMM_PER_CHANNEL map
7549 .quant8ChannelOperands = {},
7550 // int -> QUANT16_ASYMM map
7551 .quant16AsymmOperands = {},
7552 // int -> QUANT8_SYMM map
7553 .quant8SymmOperands = {},
7554 },
7555 //Output(s)
7556 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7557 // int -> Dimensions map
7558 .operandDimensions = {{0, {1, 3, 2, 3}}},
7559 // int -> FLOAT32 map
7560 .float32Operands = {{0, {30.0f, 66.0f, 102.0f, 138.0f, 174.0f, 210.0f, 36.0f, 81.0f, 126.0f, 171.0f, 216.0f, 261.0f, 42.0f, 96.0f, 150.0f, 204.0f, 258.0f, 312.0f}}},
7561 // int -> INT32 map
7562 .int32Operands = {},
7563 // int -> QUANT8_ASYMM map
7564 .quant8AsymmOperands = {},
7565 // int -> QUANT16_SYMM map
7566 .quant16SymmOperands = {},
7567 // int -> FLOAT16 map
7568 .float16Operands = {},
7569 // int -> BOOL8 map
7570 .bool8Operands = {},
7571 // int -> QUANT8_SYMM_PER_CHANNEL map
7572 .quant8ChannelOperands = {},
7573 // int -> QUANT16_ASYMM map
7574 .quant16AsymmOperands = {},
7575 // int -> QUANT8_SYMM map
7576 .quant8SymmOperands = {},
7577 }
7578 },
7579 }, // End of an example
7580 };
7581 return examples_large_nchw;
7582 };
7583
get_examples_large_nchw_relaxed()7584 std::vector<MixedTypedExample>& get_examples_large_nchw_relaxed() {
7585 static std::vector<MixedTypedExample> examples_large_nchw_relaxed = {
7586 // Begin of an example
7587 {
7588 .operands = {
7589 //Input(s)
7590 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7591 // int -> Dimensions map
7592 .operandDimensions = {{0, {1, 3, 2, 3}}},
7593 // int -> FLOAT32 map
7594 .float32Operands = {{0, {1.0f, 4.0f, 7.0f, 10.0f, 13.0f, 16.0f, 2.0f, 5.0f, 8.0f, 11.0f, 14.0f, 17.0f, 3.0f, 6.0f, 9.0f, 12.0f, 15.0f, 18.0f}}},
7595 // int -> INT32 map
7596 .int32Operands = {},
7597 // int -> QUANT8_ASYMM map
7598 .quant8AsymmOperands = {},
7599 // int -> QUANT16_SYMM map
7600 .quant16SymmOperands = {},
7601 // int -> FLOAT16 map
7602 .float16Operands = {},
7603 // int -> BOOL8 map
7604 .bool8Operands = {},
7605 // int -> QUANT8_SYMM_PER_CHANNEL map
7606 .quant8ChannelOperands = {},
7607 // int -> QUANT16_ASYMM map
7608 .quant16AsymmOperands = {},
7609 // int -> QUANT8_SYMM map
7610 .quant8SymmOperands = {},
7611 },
7612 //Output(s)
7613 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7614 // int -> Dimensions map
7615 .operandDimensions = {{0, {1, 3, 2, 3}}},
7616 // int -> FLOAT32 map
7617 .float32Operands = {{0, {30.0f, 66.0f, 102.0f, 138.0f, 174.0f, 210.0f, 36.0f, 81.0f, 126.0f, 171.0f, 216.0f, 261.0f, 42.0f, 96.0f, 150.0f, 204.0f, 258.0f, 312.0f}}},
7618 // int -> INT32 map
7619 .int32Operands = {},
7620 // int -> QUANT8_ASYMM map
7621 .quant8AsymmOperands = {},
7622 // int -> QUANT16_SYMM map
7623 .quant16SymmOperands = {},
7624 // int -> FLOAT16 map
7625 .float16Operands = {},
7626 // int -> BOOL8 map
7627 .bool8Operands = {},
7628 // int -> QUANT8_SYMM_PER_CHANNEL map
7629 .quant8ChannelOperands = {},
7630 // int -> QUANT16_ASYMM map
7631 .quant16AsymmOperands = {},
7632 // int -> QUANT8_SYMM map
7633 .quant8SymmOperands = {},
7634 }
7635 },
7636 }, // End of an example
7637 };
7638 return examples_large_nchw_relaxed;
7639 };
7640
get_examples_large_nchw_quant8()7641 std::vector<MixedTypedExample>& get_examples_large_nchw_quant8() {
7642 static std::vector<MixedTypedExample> examples_large_nchw_quant8 = {
7643 // Begin of an example
7644 {
7645 .operands = {
7646 //Input(s)
7647 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7648 // int -> Dimensions map
7649 .operandDimensions = {{0, {1, 3, 2, 3}}},
7650 // int -> FLOAT32 map
7651 .float32Operands = {},
7652 // int -> INT32 map
7653 .int32Operands = {},
7654 // int -> QUANT8_ASYMM map
7655 .quant8AsymmOperands = {{0, {130, 136, 142, 148, 154, 160, 132, 138, 144, 150, 156, 162, 134, 140, 146, 152, 158, 164}}},
7656 // int -> QUANT16_SYMM map
7657 .quant16SymmOperands = {},
7658 // int -> FLOAT16 map
7659 .float16Operands = {},
7660 // int -> BOOL8 map
7661 .bool8Operands = {},
7662 // int -> QUANT8_SYMM_PER_CHANNEL map
7663 .quant8ChannelOperands = {},
7664 // int -> QUANT16_ASYMM map
7665 .quant16AsymmOperands = {},
7666 // int -> QUANT8_SYMM map
7667 .quant8SymmOperands = {},
7668 },
7669 //Output(s)
7670 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7671 // int -> Dimensions map
7672 .operandDimensions = {{0, {1, 3, 2, 3}}},
7673 // int -> FLOAT32 map
7674 .float32Operands = {},
7675 // int -> INT32 map
7676 .int32Operands = {},
7677 // int -> QUANT8_ASYMM map
7678 .quant8AsymmOperands = {{0, {15, 33, 51, 69, 87, 105, 18, 40, 63, 86, 108, 130, 21, 48, 75, 102, 129, 156}}},
7679 // int -> QUANT16_SYMM map
7680 .quant16SymmOperands = {},
7681 // int -> FLOAT16 map
7682 .float16Operands = {},
7683 // int -> BOOL8 map
7684 .bool8Operands = {},
7685 // int -> QUANT8_SYMM_PER_CHANNEL map
7686 .quant8ChannelOperands = {},
7687 // int -> QUANT16_ASYMM map
7688 .quant16AsymmOperands = {},
7689 // int -> QUANT8_SYMM map
7690 .quant8SymmOperands = {},
7691 }
7692 },
7693 }, // End of an example
7694 };
7695 return examples_large_nchw_quant8;
7696 };
7697
get_examples_large_nchw_channelQuant8()7698 std::vector<MixedTypedExample>& get_examples_large_nchw_channelQuant8() {
7699 static std::vector<MixedTypedExample> examples_large_nchw_channelQuant8 = {
7700 // Begin of an example
7701 {
7702 .operands = {
7703 //Input(s)
7704 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7705 // int -> Dimensions map
7706 .operandDimensions = {{0, {1, 3, 2, 3}}},
7707 // int -> FLOAT32 map
7708 .float32Operands = {},
7709 // int -> INT32 map
7710 .int32Operands = {},
7711 // int -> QUANT8_ASYMM map
7712 .quant8AsymmOperands = {{0, {130, 136, 142, 148, 154, 160, 132, 138, 144, 150, 156, 162, 134, 140, 146, 152, 158, 164}}},
7713 // int -> QUANT16_SYMM map
7714 .quant16SymmOperands = {},
7715 // int -> FLOAT16 map
7716 .float16Operands = {},
7717 // int -> BOOL8 map
7718 .bool8Operands = {},
7719 // int -> QUANT8_SYMM_PER_CHANNEL map
7720 .quant8ChannelOperands = {},
7721 // int -> QUANT16_ASYMM map
7722 .quant16AsymmOperands = {},
7723 // int -> QUANT8_SYMM map
7724 .quant8SymmOperands = {},
7725 },
7726 //Output(s)
7727 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7728 // int -> Dimensions map
7729 .operandDimensions = {{0, {1, 3, 2, 3}}},
7730 // int -> FLOAT32 map
7731 .float32Operands = {},
7732 // int -> INT32 map
7733 .int32Operands = {},
7734 // int -> QUANT8_ASYMM map
7735 .quant8AsymmOperands = {{0, {15, 33, 51, 69, 87, 105, 18, 40, 63, 86, 108, 130, 21, 48, 75, 102, 129, 156}}},
7736 // int -> QUANT16_SYMM map
7737 .quant16SymmOperands = {},
7738 // int -> FLOAT16 map
7739 .float16Operands = {},
7740 // int -> BOOL8 map
7741 .bool8Operands = {},
7742 // int -> QUANT8_SYMM_PER_CHANNEL map
7743 .quant8ChannelOperands = {},
7744 // int -> QUANT16_ASYMM map
7745 .quant16AsymmOperands = {},
7746 // int -> QUANT8_SYMM map
7747 .quant8SymmOperands = {},
7748 }
7749 },
7750 }, // End of an example
7751 };
7752 return examples_large_nchw_channelQuant8;
7753 };
7754
get_examples_large_nchw_channelQuant8_2()7755 std::vector<MixedTypedExample>& get_examples_large_nchw_channelQuant8_2() {
7756 static std::vector<MixedTypedExample> examples_large_nchw_channelQuant8_2 = {
7757 // Begin of an example
7758 {
7759 .operands = {
7760 //Input(s)
7761 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7762 // int -> Dimensions map
7763 .operandDimensions = {{0, {1, 3, 2, 3}}},
7764 // int -> FLOAT32 map
7765 .float32Operands = {},
7766 // int -> INT32 map
7767 .int32Operands = {},
7768 // int -> QUANT8_ASYMM map
7769 .quant8AsymmOperands = {{0, {128, 131, 134, 137, 140, 143, 129, 132, 135, 138, 141, 144, 130, 133, 136, 139, 142, 145}}},
7770 // int -> QUANT16_SYMM map
7771 .quant16SymmOperands = {},
7772 // int -> FLOAT16 map
7773 .float16Operands = {},
7774 // int -> BOOL8 map
7775 .bool8Operands = {},
7776 // int -> QUANT8_SYMM_PER_CHANNEL map
7777 .quant8ChannelOperands = {},
7778 // int -> QUANT16_ASYMM map
7779 .quant16AsymmOperands = {},
7780 // int -> QUANT8_SYMM map
7781 .quant8SymmOperands = {},
7782 },
7783 //Output(s)
7784 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7785 // int -> Dimensions map
7786 .operandDimensions = {{0, {1, 3, 2, 3}}},
7787 // int -> FLOAT32 map
7788 .float32Operands = {},
7789 // int -> INT32 map
7790 .int32Operands = {},
7791 // int -> QUANT8_ASYMM map
7792 .quant8AsymmOperands = {{0, {157, 193, 229, 255, 255, 255, 163, 208, 253, 255, 255, 255, 169, 223, 255, 255, 255, 255}}},
7793 // int -> QUANT16_SYMM map
7794 .quant16SymmOperands = {},
7795 // int -> FLOAT16 map
7796 .float16Operands = {},
7797 // int -> BOOL8 map
7798 .bool8Operands = {},
7799 // int -> QUANT8_SYMM_PER_CHANNEL map
7800 .quant8ChannelOperands = {},
7801 // int -> QUANT16_ASYMM map
7802 .quant16AsymmOperands = {},
7803 // int -> QUANT8_SYMM map
7804 .quant8SymmOperands = {},
7805 }
7806 },
7807 }, // End of an example
7808 };
7809 return examples_large_nchw_channelQuant8_2;
7810 };
7811
get_examples_large_nchw_float16()7812 std::vector<MixedTypedExample>& get_examples_large_nchw_float16() {
7813 static std::vector<MixedTypedExample> examples_large_nchw_float16 = {
7814 // Begin of an example
7815 {
7816 .operands = {
7817 //Input(s)
7818 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7819 // int -> Dimensions map
7820 .operandDimensions = {{0, {1, 3, 2, 3}}},
7821 // int -> FLOAT32 map
7822 .float32Operands = {},
7823 // int -> INT32 map
7824 .int32Operands = {},
7825 // int -> QUANT8_ASYMM map
7826 .quant8AsymmOperands = {},
7827 // int -> QUANT16_SYMM map
7828 .quant16SymmOperands = {},
7829 // int -> FLOAT16 map
7830 .float16Operands = {{0, {1.0f, 4.0f, 7.0f, 10.0f, 13.0f, 16.0f, 2.0f, 5.0f, 8.0f, 11.0f, 14.0f, 17.0f, 3.0f, 6.0f, 9.0f, 12.0f, 15.0f, 18.0f}}},
7831 // int -> BOOL8 map
7832 .bool8Operands = {},
7833 // int -> QUANT8_SYMM_PER_CHANNEL map
7834 .quant8ChannelOperands = {},
7835 // int -> QUANT16_ASYMM map
7836 .quant16AsymmOperands = {},
7837 // int -> QUANT8_SYMM map
7838 .quant8SymmOperands = {},
7839 },
7840 //Output(s)
7841 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7842 // int -> Dimensions map
7843 .operandDimensions = {{0, {1, 3, 2, 3}}},
7844 // int -> FLOAT32 map
7845 .float32Operands = {},
7846 // int -> INT32 map
7847 .int32Operands = {},
7848 // int -> QUANT8_ASYMM map
7849 .quant8AsymmOperands = {},
7850 // int -> QUANT16_SYMM map
7851 .quant16SymmOperands = {},
7852 // int -> FLOAT16 map
7853 .float16Operands = {{0, {30.0f, 66.0f, 102.0f, 138.0f, 174.0f, 210.0f, 36.0f, 81.0f, 126.0f, 171.0f, 216.0f, 261.0f, 42.0f, 96.0f, 150.0f, 204.0f, 258.0f, 312.0f}}},
7854 // int -> BOOL8 map
7855 .bool8Operands = {},
7856 // int -> QUANT8_SYMM_PER_CHANNEL map
7857 .quant8ChannelOperands = {},
7858 // int -> QUANT16_ASYMM map
7859 .quant16AsymmOperands = {},
7860 // int -> QUANT8_SYMM map
7861 .quant8SymmOperands = {},
7862 }
7863 },
7864 }, // End of an example
7865 };
7866 return examples_large_nchw_float16;
7867 };
7868
get_examples_large_nchw_weight_as_input()7869 std::vector<MixedTypedExample>& get_examples_large_nchw_weight_as_input() {
7870 static std::vector<MixedTypedExample> examples_large_nchw_weight_as_input = {
7871 // Begin of an example
7872 {
7873 .operands = {
7874 //Input(s)
7875 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7876 // int -> Dimensions map
7877 .operandDimensions = {{0, {1, 3, 2, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
7878 // int -> FLOAT32 map
7879 .float32Operands = {{0, {1.0f, 4.0f, 7.0f, 10.0f, 13.0f, 16.0f, 2.0f, 5.0f, 8.0f, 11.0f, 14.0f, 17.0f, 3.0f, 6.0f, 9.0f, 12.0f, 15.0f, 18.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {0.0f, 0.0f, 0.0f}}},
7880 // int -> INT32 map
7881 .int32Operands = {},
7882 // int -> QUANT8_ASYMM map
7883 .quant8AsymmOperands = {},
7884 // int -> QUANT16_SYMM map
7885 .quant16SymmOperands = {},
7886 // int -> FLOAT16 map
7887 .float16Operands = {},
7888 // int -> BOOL8 map
7889 .bool8Operands = {},
7890 // int -> QUANT8_SYMM_PER_CHANNEL map
7891 .quant8ChannelOperands = {},
7892 // int -> QUANT16_ASYMM map
7893 .quant16AsymmOperands = {},
7894 // int -> QUANT8_SYMM map
7895 .quant8SymmOperands = {},
7896 },
7897 //Output(s)
7898 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7899 // int -> Dimensions map
7900 .operandDimensions = {{0, {1, 3, 2, 3}}},
7901 // int -> FLOAT32 map
7902 .float32Operands = {{0, {30.0f, 66.0f, 102.0f, 138.0f, 174.0f, 210.0f, 36.0f, 81.0f, 126.0f, 171.0f, 216.0f, 261.0f, 42.0f, 96.0f, 150.0f, 204.0f, 258.0f, 312.0f}}},
7903 // int -> INT32 map
7904 .int32Operands = {},
7905 // int -> QUANT8_ASYMM map
7906 .quant8AsymmOperands = {},
7907 // int -> QUANT16_SYMM map
7908 .quant16SymmOperands = {},
7909 // int -> FLOAT16 map
7910 .float16Operands = {},
7911 // int -> BOOL8 map
7912 .bool8Operands = {},
7913 // int -> QUANT8_SYMM_PER_CHANNEL map
7914 .quant8ChannelOperands = {},
7915 // int -> QUANT16_ASYMM map
7916 .quant16AsymmOperands = {},
7917 // int -> QUANT8_SYMM map
7918 .quant8SymmOperands = {},
7919 }
7920 },
7921 }, // End of an example
7922 };
7923 return examples_large_nchw_weight_as_input;
7924 };
7925
get_examples_large_nchw_weight_as_input_relaxed()7926 std::vector<MixedTypedExample>& get_examples_large_nchw_weight_as_input_relaxed() {
7927 static std::vector<MixedTypedExample> examples_large_nchw_weight_as_input_relaxed = {
7928 // Begin of an example
7929 {
7930 .operands = {
7931 //Input(s)
7932 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7933 // int -> Dimensions map
7934 .operandDimensions = {{0, {1, 3, 2, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
7935 // int -> FLOAT32 map
7936 .float32Operands = {{0, {1.0f, 4.0f, 7.0f, 10.0f, 13.0f, 16.0f, 2.0f, 5.0f, 8.0f, 11.0f, 14.0f, 17.0f, 3.0f, 6.0f, 9.0f, 12.0f, 15.0f, 18.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {0.0f, 0.0f, 0.0f}}},
7937 // int -> INT32 map
7938 .int32Operands = {},
7939 // int -> QUANT8_ASYMM map
7940 .quant8AsymmOperands = {},
7941 // int -> QUANT16_SYMM map
7942 .quant16SymmOperands = {},
7943 // int -> FLOAT16 map
7944 .float16Operands = {},
7945 // int -> BOOL8 map
7946 .bool8Operands = {},
7947 // int -> QUANT8_SYMM_PER_CHANNEL map
7948 .quant8ChannelOperands = {},
7949 // int -> QUANT16_ASYMM map
7950 .quant16AsymmOperands = {},
7951 // int -> QUANT8_SYMM map
7952 .quant8SymmOperands = {},
7953 },
7954 //Output(s)
7955 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7956 // int -> Dimensions map
7957 .operandDimensions = {{0, {1, 3, 2, 3}}},
7958 // int -> FLOAT32 map
7959 .float32Operands = {{0, {30.0f, 66.0f, 102.0f, 138.0f, 174.0f, 210.0f, 36.0f, 81.0f, 126.0f, 171.0f, 216.0f, 261.0f, 42.0f, 96.0f, 150.0f, 204.0f, 258.0f, 312.0f}}},
7960 // int -> INT32 map
7961 .int32Operands = {},
7962 // int -> QUANT8_ASYMM map
7963 .quant8AsymmOperands = {},
7964 // int -> QUANT16_SYMM map
7965 .quant16SymmOperands = {},
7966 // int -> FLOAT16 map
7967 .float16Operands = {},
7968 // int -> BOOL8 map
7969 .bool8Operands = {},
7970 // int -> QUANT8_SYMM_PER_CHANNEL map
7971 .quant8ChannelOperands = {},
7972 // int -> QUANT16_ASYMM map
7973 .quant16AsymmOperands = {},
7974 // int -> QUANT8_SYMM map
7975 .quant8SymmOperands = {},
7976 }
7977 },
7978 }, // End of an example
7979 };
7980 return examples_large_nchw_weight_as_input_relaxed;
7981 };
7982
get_examples_large_nchw_weight_as_input_quant8()7983 std::vector<MixedTypedExample>& get_examples_large_nchw_weight_as_input_quant8() {
7984 static std::vector<MixedTypedExample> examples_large_nchw_weight_as_input_quant8 = {
7985 // Begin of an example
7986 {
7987 .operands = {
7988 //Input(s)
7989 { // See tools/test_generator/include/TestHarness.h:MixedTyped
7990 // int -> Dimensions map
7991 .operandDimensions = {{0, {1, 3, 2, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
7992 // int -> FLOAT32 map
7993 .float32Operands = {},
7994 // int -> INT32 map
7995 .int32Operands = {{2, {0, 0, 0}}},
7996 // int -> QUANT8_ASYMM map
7997 .quant8AsymmOperands = {{0, {130, 136, 142, 148, 154, 160, 132, 138, 144, 150, 156, 162, 134, 140, 146, 152, 158, 164}}, {1, {130, 136, 142, 132, 138, 144, 134, 140, 146}}},
7998 // int -> QUANT16_SYMM map
7999 .quant16SymmOperands = {},
8000 // int -> FLOAT16 map
8001 .float16Operands = {},
8002 // int -> BOOL8 map
8003 .bool8Operands = {},
8004 // int -> QUANT8_SYMM_PER_CHANNEL map
8005 .quant8ChannelOperands = {},
8006 // int -> QUANT16_ASYMM map
8007 .quant16AsymmOperands = {},
8008 // int -> QUANT8_SYMM map
8009 .quant8SymmOperands = {},
8010 },
8011 //Output(s)
8012 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8013 // int -> Dimensions map
8014 .operandDimensions = {{0, {1, 3, 2, 3}}},
8015 // int -> FLOAT32 map
8016 .float32Operands = {},
8017 // int -> INT32 map
8018 .int32Operands = {},
8019 // int -> QUANT8_ASYMM map
8020 .quant8AsymmOperands = {{0, {15, 33, 51, 69, 87, 105, 18, 40, 63, 86, 108, 130, 21, 48, 75, 102, 129, 156}}},
8021 // int -> QUANT16_SYMM map
8022 .quant16SymmOperands = {},
8023 // int -> FLOAT16 map
8024 .float16Operands = {},
8025 // int -> BOOL8 map
8026 .bool8Operands = {},
8027 // int -> QUANT8_SYMM_PER_CHANNEL map
8028 .quant8ChannelOperands = {},
8029 // int -> QUANT16_ASYMM map
8030 .quant16AsymmOperands = {},
8031 // int -> QUANT8_SYMM map
8032 .quant8SymmOperands = {},
8033 }
8034 },
8035 }, // End of an example
8036 };
8037 return examples_large_nchw_weight_as_input_quant8;
8038 };
8039
get_examples_large_nchw_weight_as_input_channelQuant8()8040 std::vector<MixedTypedExample>& get_examples_large_nchw_weight_as_input_channelQuant8() {
8041 static std::vector<MixedTypedExample> examples_large_nchw_weight_as_input_channelQuant8 = {
8042 // Begin of an example
8043 {
8044 .operands = {
8045 //Input(s)
8046 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8047 // int -> Dimensions map
8048 .operandDimensions = {{0, {1, 3, 2, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
8049 // int -> FLOAT32 map
8050 .float32Operands = {},
8051 // int -> INT32 map
8052 .int32Operands = {{2, {0, 0, 0}}},
8053 // int -> QUANT8_ASYMM map
8054 .quant8AsymmOperands = {{0, {130, 136, 142, 148, 154, 160, 132, 138, 144, 150, 156, 162, 134, 140, 146, 152, 158, 164}}},
8055 // int -> QUANT16_SYMM map
8056 .quant16SymmOperands = {},
8057 // int -> FLOAT16 map
8058 .float16Operands = {},
8059 // int -> BOOL8 map
8060 .bool8Operands = {},
8061 // int -> QUANT8_SYMM_PER_CHANNEL map
8062 .quant8ChannelOperands = {{1, {2, 8, 14, 2, 5, 8, 6, 12, 18}}},
8063 // int -> QUANT16_ASYMM map
8064 .quant16AsymmOperands = {},
8065 // int -> QUANT8_SYMM map
8066 .quant8SymmOperands = {},
8067 },
8068 //Output(s)
8069 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8070 // int -> Dimensions map
8071 .operandDimensions = {{0, {1, 3, 2, 3}}},
8072 // int -> FLOAT32 map
8073 .float32Operands = {},
8074 // int -> INT32 map
8075 .int32Operands = {},
8076 // int -> QUANT8_ASYMM map
8077 .quant8AsymmOperands = {{0, {15, 33, 51, 69, 87, 105, 18, 40, 63, 86, 108, 130, 21, 48, 75, 102, 129, 156}}},
8078 // int -> QUANT16_SYMM map
8079 .quant16SymmOperands = {},
8080 // int -> FLOAT16 map
8081 .float16Operands = {},
8082 // int -> BOOL8 map
8083 .bool8Operands = {},
8084 // int -> QUANT8_SYMM_PER_CHANNEL map
8085 .quant8ChannelOperands = {},
8086 // int -> QUANT16_ASYMM map
8087 .quant16AsymmOperands = {},
8088 // int -> QUANT8_SYMM map
8089 .quant8SymmOperands = {},
8090 }
8091 },
8092 }, // End of an example
8093 };
8094 return examples_large_nchw_weight_as_input_channelQuant8;
8095 };
8096
get_examples_large_nchw_weight_as_input_channelQuant8_2()8097 std::vector<MixedTypedExample>& get_examples_large_nchw_weight_as_input_channelQuant8_2() {
8098 static std::vector<MixedTypedExample> examples_large_nchw_weight_as_input_channelQuant8_2 = {
8099 // Begin of an example
8100 {
8101 .operands = {
8102 //Input(s)
8103 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8104 // int -> Dimensions map
8105 .operandDimensions = {{0, {1, 3, 2, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
8106 // int -> FLOAT32 map
8107 .float32Operands = {},
8108 // int -> INT32 map
8109 .int32Operands = {{2, {0, 0, 0}}},
8110 // int -> QUANT8_ASYMM map
8111 .quant8AsymmOperands = {{0, {128, 131, 134, 137, 140, 143, 129, 132, 135, 138, 141, 144, 130, 133, 136, 139, 142, 145}}},
8112 // int -> QUANT16_SYMM map
8113 .quant16SymmOperands = {},
8114 // int -> FLOAT16 map
8115 .float16Operands = {},
8116 // int -> BOOL8 map
8117 .bool8Operands = {},
8118 // int -> QUANT8_SYMM_PER_CHANNEL map
8119 .quant8ChannelOperands = {{1, {2, 8, 14, 2, 5, 8, 3, 6, 9}}},
8120 // int -> QUANT16_ASYMM map
8121 .quant16AsymmOperands = {},
8122 // int -> QUANT8_SYMM map
8123 .quant8SymmOperands = {},
8124 },
8125 //Output(s)
8126 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8127 // int -> Dimensions map
8128 .operandDimensions = {{0, {1, 3, 2, 3}}},
8129 // int -> FLOAT32 map
8130 .float32Operands = {},
8131 // int -> INT32 map
8132 .int32Operands = {},
8133 // int -> QUANT8_ASYMM map
8134 .quant8AsymmOperands = {{0, {157, 193, 229, 255, 255, 255, 163, 208, 253, 255, 255, 255, 169, 223, 255, 255, 255, 255}}},
8135 // int -> QUANT16_SYMM map
8136 .quant16SymmOperands = {},
8137 // int -> FLOAT16 map
8138 .float16Operands = {},
8139 // int -> BOOL8 map
8140 .bool8Operands = {},
8141 // int -> QUANT8_SYMM_PER_CHANNEL map
8142 .quant8ChannelOperands = {},
8143 // int -> QUANT16_ASYMM map
8144 .quant16AsymmOperands = {},
8145 // int -> QUANT8_SYMM map
8146 .quant8SymmOperands = {},
8147 }
8148 },
8149 }, // End of an example
8150 };
8151 return examples_large_nchw_weight_as_input_channelQuant8_2;
8152 };
8153
get_examples_large_nchw_weight_as_input_float16()8154 std::vector<MixedTypedExample>& get_examples_large_nchw_weight_as_input_float16() {
8155 static std::vector<MixedTypedExample> examples_large_nchw_weight_as_input_float16 = {
8156 // Begin of an example
8157 {
8158 .operands = {
8159 //Input(s)
8160 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8161 // int -> Dimensions map
8162 .operandDimensions = {{0, {1, 3, 2, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
8163 // int -> FLOAT32 map
8164 .float32Operands = {},
8165 // int -> INT32 map
8166 .int32Operands = {},
8167 // int -> QUANT8_ASYMM map
8168 .quant8AsymmOperands = {},
8169 // int -> QUANT16_SYMM map
8170 .quant16SymmOperands = {},
8171 // int -> FLOAT16 map
8172 .float16Operands = {{0, {1.0f, 4.0f, 7.0f, 10.0f, 13.0f, 16.0f, 2.0f, 5.0f, 8.0f, 11.0f, 14.0f, 17.0f, 3.0f, 6.0f, 9.0f, 12.0f, 15.0f, 18.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {0.0f, 0.0f, 0.0f}}},
8173 // int -> BOOL8 map
8174 .bool8Operands = {},
8175 // int -> QUANT8_SYMM_PER_CHANNEL map
8176 .quant8ChannelOperands = {},
8177 // int -> QUANT16_ASYMM map
8178 .quant16AsymmOperands = {},
8179 // int -> QUANT8_SYMM map
8180 .quant8SymmOperands = {},
8181 },
8182 //Output(s)
8183 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8184 // int -> Dimensions map
8185 .operandDimensions = {{0, {1, 3, 2, 3}}},
8186 // int -> FLOAT32 map
8187 .float32Operands = {},
8188 // int -> INT32 map
8189 .int32Operands = {},
8190 // int -> QUANT8_ASYMM map
8191 .quant8AsymmOperands = {},
8192 // int -> QUANT16_SYMM map
8193 .quant16SymmOperands = {},
8194 // int -> FLOAT16 map
8195 .float16Operands = {{0, {30.0f, 66.0f, 102.0f, 138.0f, 174.0f, 210.0f, 36.0f, 81.0f, 126.0f, 171.0f, 216.0f, 261.0f, 42.0f, 96.0f, 150.0f, 204.0f, 258.0f, 312.0f}}},
8196 // int -> BOOL8 map
8197 .bool8Operands = {},
8198 // int -> QUANT8_SYMM_PER_CHANNEL map
8199 .quant8ChannelOperands = {},
8200 // int -> QUANT16_ASYMM map
8201 .quant16AsymmOperands = {},
8202 // int -> QUANT8_SYMM map
8203 .quant8SymmOperands = {},
8204 }
8205 },
8206 }, // End of an example
8207 };
8208 return examples_large_nchw_weight_as_input_float16;
8209 };
8210
get_examples_large_dynamic_output_shape_nhwc()8211 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nhwc() {
8212 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nhwc = {
8213 // Begin of an example
8214 {
8215 .operands = {
8216 //Input(s)
8217 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8218 // int -> Dimensions map
8219 .operandDimensions = {{0, {1, 2, 3, 3}}},
8220 // int -> FLOAT32 map
8221 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}},
8222 // int -> INT32 map
8223 .int32Operands = {},
8224 // int -> QUANT8_ASYMM map
8225 .quant8AsymmOperands = {},
8226 // int -> QUANT16_SYMM map
8227 .quant16SymmOperands = {},
8228 // int -> FLOAT16 map
8229 .float16Operands = {},
8230 // int -> BOOL8 map
8231 .bool8Operands = {},
8232 // int -> QUANT8_SYMM_PER_CHANNEL map
8233 .quant8ChannelOperands = {},
8234 // int -> QUANT16_ASYMM map
8235 .quant16AsymmOperands = {},
8236 // int -> QUANT8_SYMM map
8237 .quant8SymmOperands = {},
8238 },
8239 //Output(s)
8240 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8241 // int -> Dimensions map
8242 .operandDimensions = {{0, {1, 2, 3, 3}}},
8243 // int -> FLOAT32 map
8244 .float32Operands = {{0, {30.0f, 36.0f, 42.0f, 66.0f, 81.0f, 96.0f, 102.0f, 126.0f, 150.0f, 138.0f, 171.0f, 204.0f, 174.0f, 216.0f, 258.0f, 210.0f, 261.0f, 312.0f}}},
8245 // int -> INT32 map
8246 .int32Operands = {},
8247 // int -> QUANT8_ASYMM map
8248 .quant8AsymmOperands = {},
8249 // int -> QUANT16_SYMM map
8250 .quant16SymmOperands = {},
8251 // int -> FLOAT16 map
8252 .float16Operands = {},
8253 // int -> BOOL8 map
8254 .bool8Operands = {},
8255 // int -> QUANT8_SYMM_PER_CHANNEL map
8256 .quant8ChannelOperands = {},
8257 // int -> QUANT16_ASYMM map
8258 .quant16AsymmOperands = {},
8259 // int -> QUANT8_SYMM map
8260 .quant8SymmOperands = {},
8261 }
8262 },
8263 }, // End of an example
8264 };
8265 return examples_large_dynamic_output_shape_nhwc;
8266 };
8267
get_examples_large_dynamic_output_shape_nhwc_relaxed()8268 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nhwc_relaxed() {
8269 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nhwc_relaxed = {
8270 // Begin of an example
8271 {
8272 .operands = {
8273 //Input(s)
8274 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8275 // int -> Dimensions map
8276 .operandDimensions = {{0, {1, 2, 3, 3}}},
8277 // int -> FLOAT32 map
8278 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}},
8279 // int -> INT32 map
8280 .int32Operands = {},
8281 // int -> QUANT8_ASYMM map
8282 .quant8AsymmOperands = {},
8283 // int -> QUANT16_SYMM map
8284 .quant16SymmOperands = {},
8285 // int -> FLOAT16 map
8286 .float16Operands = {},
8287 // int -> BOOL8 map
8288 .bool8Operands = {},
8289 // int -> QUANT8_SYMM_PER_CHANNEL map
8290 .quant8ChannelOperands = {},
8291 // int -> QUANT16_ASYMM map
8292 .quant16AsymmOperands = {},
8293 // int -> QUANT8_SYMM map
8294 .quant8SymmOperands = {},
8295 },
8296 //Output(s)
8297 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8298 // int -> Dimensions map
8299 .operandDimensions = {{0, {1, 2, 3, 3}}},
8300 // int -> FLOAT32 map
8301 .float32Operands = {{0, {30.0f, 36.0f, 42.0f, 66.0f, 81.0f, 96.0f, 102.0f, 126.0f, 150.0f, 138.0f, 171.0f, 204.0f, 174.0f, 216.0f, 258.0f, 210.0f, 261.0f, 312.0f}}},
8302 // int -> INT32 map
8303 .int32Operands = {},
8304 // int -> QUANT8_ASYMM map
8305 .quant8AsymmOperands = {},
8306 // int -> QUANT16_SYMM map
8307 .quant16SymmOperands = {},
8308 // int -> FLOAT16 map
8309 .float16Operands = {},
8310 // int -> BOOL8 map
8311 .bool8Operands = {},
8312 // int -> QUANT8_SYMM_PER_CHANNEL map
8313 .quant8ChannelOperands = {},
8314 // int -> QUANT16_ASYMM map
8315 .quant16AsymmOperands = {},
8316 // int -> QUANT8_SYMM map
8317 .quant8SymmOperands = {},
8318 }
8319 },
8320 }, // End of an example
8321 };
8322 return examples_large_dynamic_output_shape_nhwc_relaxed;
8323 };
8324
get_examples_large_dynamic_output_shape_nhwc_quant8()8325 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nhwc_quant8() {
8326 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nhwc_quant8 = {
8327 // Begin of an example
8328 {
8329 .operands = {
8330 //Input(s)
8331 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8332 // int -> Dimensions map
8333 .operandDimensions = {{0, {1, 2, 3, 3}}},
8334 // int -> FLOAT32 map
8335 .float32Operands = {},
8336 // int -> INT32 map
8337 .int32Operands = {},
8338 // int -> QUANT8_ASYMM map
8339 .quant8AsymmOperands = {{0, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}},
8340 // int -> QUANT16_SYMM map
8341 .quant16SymmOperands = {},
8342 // int -> FLOAT16 map
8343 .float16Operands = {},
8344 // int -> BOOL8 map
8345 .bool8Operands = {},
8346 // int -> QUANT8_SYMM_PER_CHANNEL map
8347 .quant8ChannelOperands = {},
8348 // int -> QUANT16_ASYMM map
8349 .quant16AsymmOperands = {},
8350 // int -> QUANT8_SYMM map
8351 .quant8SymmOperands = {},
8352 },
8353 //Output(s)
8354 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8355 // int -> Dimensions map
8356 .operandDimensions = {{0, {1, 2, 3, 3}}},
8357 // int -> FLOAT32 map
8358 .float32Operands = {},
8359 // int -> INT32 map
8360 .int32Operands = {},
8361 // int -> QUANT8_ASYMM map
8362 .quant8AsymmOperands = {{0, {15, 18, 21, 33, 40, 48, 51, 63, 75, 69, 86, 102, 87, 108, 129, 105, 130, 156}}},
8363 // int -> QUANT16_SYMM map
8364 .quant16SymmOperands = {},
8365 // int -> FLOAT16 map
8366 .float16Operands = {},
8367 // int -> BOOL8 map
8368 .bool8Operands = {},
8369 // int -> QUANT8_SYMM_PER_CHANNEL map
8370 .quant8ChannelOperands = {},
8371 // int -> QUANT16_ASYMM map
8372 .quant16AsymmOperands = {},
8373 // int -> QUANT8_SYMM map
8374 .quant8SymmOperands = {},
8375 }
8376 },
8377 }, // End of an example
8378 };
8379 return examples_large_dynamic_output_shape_nhwc_quant8;
8380 };
8381
get_examples_large_dynamic_output_shape_nhwc_channelQuant8()8382 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nhwc_channelQuant8() {
8383 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nhwc_channelQuant8 = {
8384 // Begin of an example
8385 {
8386 .operands = {
8387 //Input(s)
8388 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8389 // int -> Dimensions map
8390 .operandDimensions = {{0, {1, 2, 3, 3}}},
8391 // int -> FLOAT32 map
8392 .float32Operands = {},
8393 // int -> INT32 map
8394 .int32Operands = {},
8395 // int -> QUANT8_ASYMM map
8396 .quant8AsymmOperands = {{0, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}},
8397 // int -> QUANT16_SYMM map
8398 .quant16SymmOperands = {},
8399 // int -> FLOAT16 map
8400 .float16Operands = {},
8401 // int -> BOOL8 map
8402 .bool8Operands = {},
8403 // int -> QUANT8_SYMM_PER_CHANNEL map
8404 .quant8ChannelOperands = {},
8405 // int -> QUANT16_ASYMM map
8406 .quant16AsymmOperands = {},
8407 // int -> QUANT8_SYMM map
8408 .quant8SymmOperands = {},
8409 },
8410 //Output(s)
8411 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8412 // int -> Dimensions map
8413 .operandDimensions = {{0, {1, 2, 3, 3}}},
8414 // int -> FLOAT32 map
8415 .float32Operands = {},
8416 // int -> INT32 map
8417 .int32Operands = {},
8418 // int -> QUANT8_ASYMM map
8419 .quant8AsymmOperands = {{0, {15, 18, 21, 33, 40, 48, 51, 63, 75, 69, 86, 102, 87, 108, 129, 105, 130, 156}}},
8420 // int -> QUANT16_SYMM map
8421 .quant16SymmOperands = {},
8422 // int -> FLOAT16 map
8423 .float16Operands = {},
8424 // int -> BOOL8 map
8425 .bool8Operands = {},
8426 // int -> QUANT8_SYMM_PER_CHANNEL map
8427 .quant8ChannelOperands = {},
8428 // int -> QUANT16_ASYMM map
8429 .quant16AsymmOperands = {},
8430 // int -> QUANT8_SYMM map
8431 .quant8SymmOperands = {},
8432 }
8433 },
8434 }, // End of an example
8435 };
8436 return examples_large_dynamic_output_shape_nhwc_channelQuant8;
8437 };
8438
get_examples_large_dynamic_output_shape_nhwc_channelQuant8_2()8439 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nhwc_channelQuant8_2() {
8440 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nhwc_channelQuant8_2 = {
8441 // Begin of an example
8442 {
8443 .operands = {
8444 //Input(s)
8445 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8446 // int -> Dimensions map
8447 .operandDimensions = {{0, {1, 2, 3, 3}}},
8448 // int -> FLOAT32 map
8449 .float32Operands = {},
8450 // int -> INT32 map
8451 .int32Operands = {},
8452 // int -> QUANT8_ASYMM map
8453 .quant8AsymmOperands = {{0, {128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145}}},
8454 // int -> QUANT16_SYMM map
8455 .quant16SymmOperands = {},
8456 // int -> FLOAT16 map
8457 .float16Operands = {},
8458 // int -> BOOL8 map
8459 .bool8Operands = {},
8460 // int -> QUANT8_SYMM_PER_CHANNEL map
8461 .quant8ChannelOperands = {},
8462 // int -> QUANT16_ASYMM map
8463 .quant16AsymmOperands = {},
8464 // int -> QUANT8_SYMM map
8465 .quant8SymmOperands = {},
8466 },
8467 //Output(s)
8468 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8469 // int -> Dimensions map
8470 .operandDimensions = {{0, {1, 2, 3, 3}}},
8471 // int -> FLOAT32 map
8472 .float32Operands = {},
8473 // int -> INT32 map
8474 .int32Operands = {},
8475 // int -> QUANT8_ASYMM map
8476 .quant8AsymmOperands = {{0, {157, 163, 169, 193, 208, 223, 229, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255}}},
8477 // int -> QUANT16_SYMM map
8478 .quant16SymmOperands = {},
8479 // int -> FLOAT16 map
8480 .float16Operands = {},
8481 // int -> BOOL8 map
8482 .bool8Operands = {},
8483 // int -> QUANT8_SYMM_PER_CHANNEL map
8484 .quant8ChannelOperands = {},
8485 // int -> QUANT16_ASYMM map
8486 .quant16AsymmOperands = {},
8487 // int -> QUANT8_SYMM map
8488 .quant8SymmOperands = {},
8489 }
8490 },
8491 }, // End of an example
8492 };
8493 return examples_large_dynamic_output_shape_nhwc_channelQuant8_2;
8494 };
8495
get_examples_large_dynamic_output_shape_nhwc_float16()8496 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nhwc_float16() {
8497 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nhwc_float16 = {
8498 // Begin of an example
8499 {
8500 .operands = {
8501 //Input(s)
8502 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8503 // int -> Dimensions map
8504 .operandDimensions = {{0, {1, 2, 3, 3}}},
8505 // int -> FLOAT32 map
8506 .float32Operands = {},
8507 // int -> INT32 map
8508 .int32Operands = {},
8509 // int -> QUANT8_ASYMM map
8510 .quant8AsymmOperands = {},
8511 // int -> QUANT16_SYMM map
8512 .quant16SymmOperands = {},
8513 // int -> FLOAT16 map
8514 .float16Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}},
8515 // int -> BOOL8 map
8516 .bool8Operands = {},
8517 // int -> QUANT8_SYMM_PER_CHANNEL map
8518 .quant8ChannelOperands = {},
8519 // int -> QUANT16_ASYMM map
8520 .quant16AsymmOperands = {},
8521 // int -> QUANT8_SYMM map
8522 .quant8SymmOperands = {},
8523 },
8524 //Output(s)
8525 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8526 // int -> Dimensions map
8527 .operandDimensions = {{0, {1, 2, 3, 3}}},
8528 // int -> FLOAT32 map
8529 .float32Operands = {},
8530 // int -> INT32 map
8531 .int32Operands = {},
8532 // int -> QUANT8_ASYMM map
8533 .quant8AsymmOperands = {},
8534 // int -> QUANT16_SYMM map
8535 .quant16SymmOperands = {},
8536 // int -> FLOAT16 map
8537 .float16Operands = {{0, {30.0f, 36.0f, 42.0f, 66.0f, 81.0f, 96.0f, 102.0f, 126.0f, 150.0f, 138.0f, 171.0f, 204.0f, 174.0f, 216.0f, 258.0f, 210.0f, 261.0f, 312.0f}}},
8538 // int -> BOOL8 map
8539 .bool8Operands = {},
8540 // int -> QUANT8_SYMM_PER_CHANNEL map
8541 .quant8ChannelOperands = {},
8542 // int -> QUANT16_ASYMM map
8543 .quant16AsymmOperands = {},
8544 // int -> QUANT8_SYMM map
8545 .quant8SymmOperands = {},
8546 }
8547 },
8548 }, // End of an example
8549 };
8550 return examples_large_dynamic_output_shape_nhwc_float16;
8551 };
8552
get_examples_large_dynamic_output_shape_nhwc_weight_as_input()8553 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nhwc_weight_as_input() {
8554 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nhwc_weight_as_input = {
8555 // Begin of an example
8556 {
8557 .operands = {
8558 //Input(s)
8559 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8560 // int -> Dimensions map
8561 .operandDimensions = {{0, {1, 2, 3, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
8562 // int -> FLOAT32 map
8563 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {0.0f, 0.0f, 0.0f}}},
8564 // int -> INT32 map
8565 .int32Operands = {},
8566 // int -> QUANT8_ASYMM map
8567 .quant8AsymmOperands = {},
8568 // int -> QUANT16_SYMM map
8569 .quant16SymmOperands = {},
8570 // int -> FLOAT16 map
8571 .float16Operands = {},
8572 // int -> BOOL8 map
8573 .bool8Operands = {},
8574 // int -> QUANT8_SYMM_PER_CHANNEL map
8575 .quant8ChannelOperands = {},
8576 // int -> QUANT16_ASYMM map
8577 .quant16AsymmOperands = {},
8578 // int -> QUANT8_SYMM map
8579 .quant8SymmOperands = {},
8580 },
8581 //Output(s)
8582 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8583 // int -> Dimensions map
8584 .operandDimensions = {{0, {1, 2, 3, 3}}},
8585 // int -> FLOAT32 map
8586 .float32Operands = {{0, {30.0f, 36.0f, 42.0f, 66.0f, 81.0f, 96.0f, 102.0f, 126.0f, 150.0f, 138.0f, 171.0f, 204.0f, 174.0f, 216.0f, 258.0f, 210.0f, 261.0f, 312.0f}}},
8587 // int -> INT32 map
8588 .int32Operands = {},
8589 // int -> QUANT8_ASYMM map
8590 .quant8AsymmOperands = {},
8591 // int -> QUANT16_SYMM map
8592 .quant16SymmOperands = {},
8593 // int -> FLOAT16 map
8594 .float16Operands = {},
8595 // int -> BOOL8 map
8596 .bool8Operands = {},
8597 // int -> QUANT8_SYMM_PER_CHANNEL map
8598 .quant8ChannelOperands = {},
8599 // int -> QUANT16_ASYMM map
8600 .quant16AsymmOperands = {},
8601 // int -> QUANT8_SYMM map
8602 .quant8SymmOperands = {},
8603 }
8604 },
8605 }, // End of an example
8606 };
8607 return examples_large_dynamic_output_shape_nhwc_weight_as_input;
8608 };
8609
get_examples_large_dynamic_output_shape_nhwc_weight_as_input_relaxed()8610 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nhwc_weight_as_input_relaxed() {
8611 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nhwc_weight_as_input_relaxed = {
8612 // Begin of an example
8613 {
8614 .operands = {
8615 //Input(s)
8616 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8617 // int -> Dimensions map
8618 .operandDimensions = {{0, {1, 2, 3, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
8619 // int -> FLOAT32 map
8620 .float32Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {0.0f, 0.0f, 0.0f}}},
8621 // int -> INT32 map
8622 .int32Operands = {},
8623 // int -> QUANT8_ASYMM map
8624 .quant8AsymmOperands = {},
8625 // int -> QUANT16_SYMM map
8626 .quant16SymmOperands = {},
8627 // int -> FLOAT16 map
8628 .float16Operands = {},
8629 // int -> BOOL8 map
8630 .bool8Operands = {},
8631 // int -> QUANT8_SYMM_PER_CHANNEL map
8632 .quant8ChannelOperands = {},
8633 // int -> QUANT16_ASYMM map
8634 .quant16AsymmOperands = {},
8635 // int -> QUANT8_SYMM map
8636 .quant8SymmOperands = {},
8637 },
8638 //Output(s)
8639 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8640 // int -> Dimensions map
8641 .operandDimensions = {{0, {1, 2, 3, 3}}},
8642 // int -> FLOAT32 map
8643 .float32Operands = {{0, {30.0f, 36.0f, 42.0f, 66.0f, 81.0f, 96.0f, 102.0f, 126.0f, 150.0f, 138.0f, 171.0f, 204.0f, 174.0f, 216.0f, 258.0f, 210.0f, 261.0f, 312.0f}}},
8644 // int -> INT32 map
8645 .int32Operands = {},
8646 // int -> QUANT8_ASYMM map
8647 .quant8AsymmOperands = {},
8648 // int -> QUANT16_SYMM map
8649 .quant16SymmOperands = {},
8650 // int -> FLOAT16 map
8651 .float16Operands = {},
8652 // int -> BOOL8 map
8653 .bool8Operands = {},
8654 // int -> QUANT8_SYMM_PER_CHANNEL map
8655 .quant8ChannelOperands = {},
8656 // int -> QUANT16_ASYMM map
8657 .quant16AsymmOperands = {},
8658 // int -> QUANT8_SYMM map
8659 .quant8SymmOperands = {},
8660 }
8661 },
8662 }, // End of an example
8663 };
8664 return examples_large_dynamic_output_shape_nhwc_weight_as_input_relaxed;
8665 };
8666
get_examples_large_dynamic_output_shape_nhwc_weight_as_input_quant8()8667 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nhwc_weight_as_input_quant8() {
8668 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nhwc_weight_as_input_quant8 = {
8669 // Begin of an example
8670 {
8671 .operands = {
8672 //Input(s)
8673 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8674 // int -> Dimensions map
8675 .operandDimensions = {{0, {1, 2, 3, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
8676 // int -> FLOAT32 map
8677 .float32Operands = {},
8678 // int -> INT32 map
8679 .int32Operands = {{2, {0, 0, 0}}},
8680 // int -> QUANT8_ASYMM map
8681 .quant8AsymmOperands = {{0, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}, {1, {130, 136, 142, 132, 138, 144, 134, 140, 146}}},
8682 // int -> QUANT16_SYMM map
8683 .quant16SymmOperands = {},
8684 // int -> FLOAT16 map
8685 .float16Operands = {},
8686 // int -> BOOL8 map
8687 .bool8Operands = {},
8688 // int -> QUANT8_SYMM_PER_CHANNEL map
8689 .quant8ChannelOperands = {},
8690 // int -> QUANT16_ASYMM map
8691 .quant16AsymmOperands = {},
8692 // int -> QUANT8_SYMM map
8693 .quant8SymmOperands = {},
8694 },
8695 //Output(s)
8696 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8697 // int -> Dimensions map
8698 .operandDimensions = {{0, {1, 2, 3, 3}}},
8699 // int -> FLOAT32 map
8700 .float32Operands = {},
8701 // int -> INT32 map
8702 .int32Operands = {},
8703 // int -> QUANT8_ASYMM map
8704 .quant8AsymmOperands = {{0, {15, 18, 21, 33, 40, 48, 51, 63, 75, 69, 86, 102, 87, 108, 129, 105, 130, 156}}},
8705 // int -> QUANT16_SYMM map
8706 .quant16SymmOperands = {},
8707 // int -> FLOAT16 map
8708 .float16Operands = {},
8709 // int -> BOOL8 map
8710 .bool8Operands = {},
8711 // int -> QUANT8_SYMM_PER_CHANNEL map
8712 .quant8ChannelOperands = {},
8713 // int -> QUANT16_ASYMM map
8714 .quant16AsymmOperands = {},
8715 // int -> QUANT8_SYMM map
8716 .quant8SymmOperands = {},
8717 }
8718 },
8719 }, // End of an example
8720 };
8721 return examples_large_dynamic_output_shape_nhwc_weight_as_input_quant8;
8722 };
8723
get_examples_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8()8724 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8() {
8725 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8 = {
8726 // Begin of an example
8727 {
8728 .operands = {
8729 //Input(s)
8730 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8731 // int -> Dimensions map
8732 .operandDimensions = {{0, {1, 2, 3, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
8733 // int -> FLOAT32 map
8734 .float32Operands = {},
8735 // int -> INT32 map
8736 .int32Operands = {{2, {0, 0, 0}}},
8737 // int -> QUANT8_ASYMM map
8738 .quant8AsymmOperands = {{0, {130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 162, 164}}},
8739 // int -> QUANT16_SYMM map
8740 .quant16SymmOperands = {},
8741 // int -> FLOAT16 map
8742 .float16Operands = {},
8743 // int -> BOOL8 map
8744 .bool8Operands = {},
8745 // int -> QUANT8_SYMM_PER_CHANNEL map
8746 .quant8ChannelOperands = {{1, {2, 8, 14, 2, 5, 8, 6, 12, 18}}},
8747 // int -> QUANT16_ASYMM map
8748 .quant16AsymmOperands = {},
8749 // int -> QUANT8_SYMM map
8750 .quant8SymmOperands = {},
8751 },
8752 //Output(s)
8753 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8754 // int -> Dimensions map
8755 .operandDimensions = {{0, {1, 2, 3, 3}}},
8756 // int -> FLOAT32 map
8757 .float32Operands = {},
8758 // int -> INT32 map
8759 .int32Operands = {},
8760 // int -> QUANT8_ASYMM map
8761 .quant8AsymmOperands = {{0, {15, 18, 21, 33, 40, 48, 51, 63, 75, 69, 86, 102, 87, 108, 129, 105, 130, 156}}},
8762 // int -> QUANT16_SYMM map
8763 .quant16SymmOperands = {},
8764 // int -> FLOAT16 map
8765 .float16Operands = {},
8766 // int -> BOOL8 map
8767 .bool8Operands = {},
8768 // int -> QUANT8_SYMM_PER_CHANNEL map
8769 .quant8ChannelOperands = {},
8770 // int -> QUANT16_ASYMM map
8771 .quant16AsymmOperands = {},
8772 // int -> QUANT8_SYMM map
8773 .quant8SymmOperands = {},
8774 }
8775 },
8776 }, // End of an example
8777 };
8778 return examples_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8;
8779 };
8780
get_examples_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2()8781 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2() {
8782 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2 = {
8783 // Begin of an example
8784 {
8785 .operands = {
8786 //Input(s)
8787 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8788 // int -> Dimensions map
8789 .operandDimensions = {{0, {1, 2, 3, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
8790 // int -> FLOAT32 map
8791 .float32Operands = {},
8792 // int -> INT32 map
8793 .int32Operands = {{2, {0, 0, 0}}},
8794 // int -> QUANT8_ASYMM map
8795 .quant8AsymmOperands = {{0, {128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145}}},
8796 // int -> QUANT16_SYMM map
8797 .quant16SymmOperands = {},
8798 // int -> FLOAT16 map
8799 .float16Operands = {},
8800 // int -> BOOL8 map
8801 .bool8Operands = {},
8802 // int -> QUANT8_SYMM_PER_CHANNEL map
8803 .quant8ChannelOperands = {{1, {2, 8, 14, 2, 5, 8, 3, 6, 9}}},
8804 // int -> QUANT16_ASYMM map
8805 .quant16AsymmOperands = {},
8806 // int -> QUANT8_SYMM map
8807 .quant8SymmOperands = {},
8808 },
8809 //Output(s)
8810 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8811 // int -> Dimensions map
8812 .operandDimensions = {{0, {1, 2, 3, 3}}},
8813 // int -> FLOAT32 map
8814 .float32Operands = {},
8815 // int -> INT32 map
8816 .int32Operands = {},
8817 // int -> QUANT8_ASYMM map
8818 .quant8AsymmOperands = {{0, {157, 163, 169, 193, 208, 223, 229, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255}}},
8819 // int -> QUANT16_SYMM map
8820 .quant16SymmOperands = {},
8821 // int -> FLOAT16 map
8822 .float16Operands = {},
8823 // int -> BOOL8 map
8824 .bool8Operands = {},
8825 // int -> QUANT8_SYMM_PER_CHANNEL map
8826 .quant8ChannelOperands = {},
8827 // int -> QUANT16_ASYMM map
8828 .quant16AsymmOperands = {},
8829 // int -> QUANT8_SYMM map
8830 .quant8SymmOperands = {},
8831 }
8832 },
8833 }, // End of an example
8834 };
8835 return examples_large_dynamic_output_shape_nhwc_weight_as_input_channelQuant8_2;
8836 };
8837
get_examples_large_dynamic_output_shape_nhwc_weight_as_input_float16()8838 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nhwc_weight_as_input_float16() {
8839 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nhwc_weight_as_input_float16 = {
8840 // Begin of an example
8841 {
8842 .operands = {
8843 //Input(s)
8844 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8845 // int -> Dimensions map
8846 .operandDimensions = {{0, {1, 2, 3, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
8847 // int -> FLOAT32 map
8848 .float32Operands = {},
8849 // int -> INT32 map
8850 .int32Operands = {},
8851 // int -> QUANT8_ASYMM map
8852 .quant8AsymmOperands = {},
8853 // int -> QUANT16_SYMM map
8854 .quant16SymmOperands = {},
8855 // int -> FLOAT16 map
8856 .float16Operands = {{0, {1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f, 18.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {0.0f, 0.0f, 0.0f}}},
8857 // int -> BOOL8 map
8858 .bool8Operands = {},
8859 // int -> QUANT8_SYMM_PER_CHANNEL map
8860 .quant8ChannelOperands = {},
8861 // int -> QUANT16_ASYMM map
8862 .quant16AsymmOperands = {},
8863 // int -> QUANT8_SYMM map
8864 .quant8SymmOperands = {},
8865 },
8866 //Output(s)
8867 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8868 // int -> Dimensions map
8869 .operandDimensions = {{0, {1, 2, 3, 3}}},
8870 // int -> FLOAT32 map
8871 .float32Operands = {},
8872 // int -> INT32 map
8873 .int32Operands = {},
8874 // int -> QUANT8_ASYMM map
8875 .quant8AsymmOperands = {},
8876 // int -> QUANT16_SYMM map
8877 .quant16SymmOperands = {},
8878 // int -> FLOAT16 map
8879 .float16Operands = {{0, {30.0f, 36.0f, 42.0f, 66.0f, 81.0f, 96.0f, 102.0f, 126.0f, 150.0f, 138.0f, 171.0f, 204.0f, 174.0f, 216.0f, 258.0f, 210.0f, 261.0f, 312.0f}}},
8880 // int -> BOOL8 map
8881 .bool8Operands = {},
8882 // int -> QUANT8_SYMM_PER_CHANNEL map
8883 .quant8ChannelOperands = {},
8884 // int -> QUANT16_ASYMM map
8885 .quant16AsymmOperands = {},
8886 // int -> QUANT8_SYMM map
8887 .quant8SymmOperands = {},
8888 }
8889 },
8890 }, // End of an example
8891 };
8892 return examples_large_dynamic_output_shape_nhwc_weight_as_input_float16;
8893 };
8894
get_examples_large_dynamic_output_shape_nchw()8895 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nchw() {
8896 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nchw = {
8897 // Begin of an example
8898 {
8899 .operands = {
8900 //Input(s)
8901 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8902 // int -> Dimensions map
8903 .operandDimensions = {{0, {1, 3, 2, 3}}},
8904 // int -> FLOAT32 map
8905 .float32Operands = {{0, {1.0f, 4.0f, 7.0f, 10.0f, 13.0f, 16.0f, 2.0f, 5.0f, 8.0f, 11.0f, 14.0f, 17.0f, 3.0f, 6.0f, 9.0f, 12.0f, 15.0f, 18.0f}}},
8906 // int -> INT32 map
8907 .int32Operands = {},
8908 // int -> QUANT8_ASYMM map
8909 .quant8AsymmOperands = {},
8910 // int -> QUANT16_SYMM map
8911 .quant16SymmOperands = {},
8912 // int -> FLOAT16 map
8913 .float16Operands = {},
8914 // int -> BOOL8 map
8915 .bool8Operands = {},
8916 // int -> QUANT8_SYMM_PER_CHANNEL map
8917 .quant8ChannelOperands = {},
8918 // int -> QUANT16_ASYMM map
8919 .quant16AsymmOperands = {},
8920 // int -> QUANT8_SYMM map
8921 .quant8SymmOperands = {},
8922 },
8923 //Output(s)
8924 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8925 // int -> Dimensions map
8926 .operandDimensions = {{0, {1, 3, 2, 3}}},
8927 // int -> FLOAT32 map
8928 .float32Operands = {{0, {30.0f, 66.0f, 102.0f, 138.0f, 174.0f, 210.0f, 36.0f, 81.0f, 126.0f, 171.0f, 216.0f, 261.0f, 42.0f, 96.0f, 150.0f, 204.0f, 258.0f, 312.0f}}},
8929 // int -> INT32 map
8930 .int32Operands = {},
8931 // int -> QUANT8_ASYMM map
8932 .quant8AsymmOperands = {},
8933 // int -> QUANT16_SYMM map
8934 .quant16SymmOperands = {},
8935 // int -> FLOAT16 map
8936 .float16Operands = {},
8937 // int -> BOOL8 map
8938 .bool8Operands = {},
8939 // int -> QUANT8_SYMM_PER_CHANNEL map
8940 .quant8ChannelOperands = {},
8941 // int -> QUANT16_ASYMM map
8942 .quant16AsymmOperands = {},
8943 // int -> QUANT8_SYMM map
8944 .quant8SymmOperands = {},
8945 }
8946 },
8947 }, // End of an example
8948 };
8949 return examples_large_dynamic_output_shape_nchw;
8950 };
8951
get_examples_large_dynamic_output_shape_nchw_relaxed()8952 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nchw_relaxed() {
8953 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nchw_relaxed = {
8954 // Begin of an example
8955 {
8956 .operands = {
8957 //Input(s)
8958 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8959 // int -> Dimensions map
8960 .operandDimensions = {{0, {1, 3, 2, 3}}},
8961 // int -> FLOAT32 map
8962 .float32Operands = {{0, {1.0f, 4.0f, 7.0f, 10.0f, 13.0f, 16.0f, 2.0f, 5.0f, 8.0f, 11.0f, 14.0f, 17.0f, 3.0f, 6.0f, 9.0f, 12.0f, 15.0f, 18.0f}}},
8963 // int -> INT32 map
8964 .int32Operands = {},
8965 // int -> QUANT8_ASYMM map
8966 .quant8AsymmOperands = {},
8967 // int -> QUANT16_SYMM map
8968 .quant16SymmOperands = {},
8969 // int -> FLOAT16 map
8970 .float16Operands = {},
8971 // int -> BOOL8 map
8972 .bool8Operands = {},
8973 // int -> QUANT8_SYMM_PER_CHANNEL map
8974 .quant8ChannelOperands = {},
8975 // int -> QUANT16_ASYMM map
8976 .quant16AsymmOperands = {},
8977 // int -> QUANT8_SYMM map
8978 .quant8SymmOperands = {},
8979 },
8980 //Output(s)
8981 { // See tools/test_generator/include/TestHarness.h:MixedTyped
8982 // int -> Dimensions map
8983 .operandDimensions = {{0, {1, 3, 2, 3}}},
8984 // int -> FLOAT32 map
8985 .float32Operands = {{0, {30.0f, 66.0f, 102.0f, 138.0f, 174.0f, 210.0f, 36.0f, 81.0f, 126.0f, 171.0f, 216.0f, 261.0f, 42.0f, 96.0f, 150.0f, 204.0f, 258.0f, 312.0f}}},
8986 // int -> INT32 map
8987 .int32Operands = {},
8988 // int -> QUANT8_ASYMM map
8989 .quant8AsymmOperands = {},
8990 // int -> QUANT16_SYMM map
8991 .quant16SymmOperands = {},
8992 // int -> FLOAT16 map
8993 .float16Operands = {},
8994 // int -> BOOL8 map
8995 .bool8Operands = {},
8996 // int -> QUANT8_SYMM_PER_CHANNEL map
8997 .quant8ChannelOperands = {},
8998 // int -> QUANT16_ASYMM map
8999 .quant16AsymmOperands = {},
9000 // int -> QUANT8_SYMM map
9001 .quant8SymmOperands = {},
9002 }
9003 },
9004 }, // End of an example
9005 };
9006 return examples_large_dynamic_output_shape_nchw_relaxed;
9007 };
9008
get_examples_large_dynamic_output_shape_nchw_quant8()9009 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nchw_quant8() {
9010 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nchw_quant8 = {
9011 // Begin of an example
9012 {
9013 .operands = {
9014 //Input(s)
9015 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9016 // int -> Dimensions map
9017 .operandDimensions = {{0, {1, 3, 2, 3}}},
9018 // int -> FLOAT32 map
9019 .float32Operands = {},
9020 // int -> INT32 map
9021 .int32Operands = {},
9022 // int -> QUANT8_ASYMM map
9023 .quant8AsymmOperands = {{0, {130, 136, 142, 148, 154, 160, 132, 138, 144, 150, 156, 162, 134, 140, 146, 152, 158, 164}}},
9024 // int -> QUANT16_SYMM map
9025 .quant16SymmOperands = {},
9026 // int -> FLOAT16 map
9027 .float16Operands = {},
9028 // int -> BOOL8 map
9029 .bool8Operands = {},
9030 // int -> QUANT8_SYMM_PER_CHANNEL map
9031 .quant8ChannelOperands = {},
9032 // int -> QUANT16_ASYMM map
9033 .quant16AsymmOperands = {},
9034 // int -> QUANT8_SYMM map
9035 .quant8SymmOperands = {},
9036 },
9037 //Output(s)
9038 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9039 // int -> Dimensions map
9040 .operandDimensions = {{0, {1, 3, 2, 3}}},
9041 // int -> FLOAT32 map
9042 .float32Operands = {},
9043 // int -> INT32 map
9044 .int32Operands = {},
9045 // int -> QUANT8_ASYMM map
9046 .quant8AsymmOperands = {{0, {15, 33, 51, 69, 87, 105, 18, 40, 63, 86, 108, 130, 21, 48, 75, 102, 129, 156}}},
9047 // int -> QUANT16_SYMM map
9048 .quant16SymmOperands = {},
9049 // int -> FLOAT16 map
9050 .float16Operands = {},
9051 // int -> BOOL8 map
9052 .bool8Operands = {},
9053 // int -> QUANT8_SYMM_PER_CHANNEL map
9054 .quant8ChannelOperands = {},
9055 // int -> QUANT16_ASYMM map
9056 .quant16AsymmOperands = {},
9057 // int -> QUANT8_SYMM map
9058 .quant8SymmOperands = {},
9059 }
9060 },
9061 }, // End of an example
9062 };
9063 return examples_large_dynamic_output_shape_nchw_quant8;
9064 };
9065
get_examples_large_dynamic_output_shape_nchw_channelQuant8()9066 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nchw_channelQuant8() {
9067 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nchw_channelQuant8 = {
9068 // Begin of an example
9069 {
9070 .operands = {
9071 //Input(s)
9072 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9073 // int -> Dimensions map
9074 .operandDimensions = {{0, {1, 3, 2, 3}}},
9075 // int -> FLOAT32 map
9076 .float32Operands = {},
9077 // int -> INT32 map
9078 .int32Operands = {},
9079 // int -> QUANT8_ASYMM map
9080 .quant8AsymmOperands = {{0, {130, 136, 142, 148, 154, 160, 132, 138, 144, 150, 156, 162, 134, 140, 146, 152, 158, 164}}},
9081 // int -> QUANT16_SYMM map
9082 .quant16SymmOperands = {},
9083 // int -> FLOAT16 map
9084 .float16Operands = {},
9085 // int -> BOOL8 map
9086 .bool8Operands = {},
9087 // int -> QUANT8_SYMM_PER_CHANNEL map
9088 .quant8ChannelOperands = {},
9089 // int -> QUANT16_ASYMM map
9090 .quant16AsymmOperands = {},
9091 // int -> QUANT8_SYMM map
9092 .quant8SymmOperands = {},
9093 },
9094 //Output(s)
9095 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9096 // int -> Dimensions map
9097 .operandDimensions = {{0, {1, 3, 2, 3}}},
9098 // int -> FLOAT32 map
9099 .float32Operands = {},
9100 // int -> INT32 map
9101 .int32Operands = {},
9102 // int -> QUANT8_ASYMM map
9103 .quant8AsymmOperands = {{0, {15, 33, 51, 69, 87, 105, 18, 40, 63, 86, 108, 130, 21, 48, 75, 102, 129, 156}}},
9104 // int -> QUANT16_SYMM map
9105 .quant16SymmOperands = {},
9106 // int -> FLOAT16 map
9107 .float16Operands = {},
9108 // int -> BOOL8 map
9109 .bool8Operands = {},
9110 // int -> QUANT8_SYMM_PER_CHANNEL map
9111 .quant8ChannelOperands = {},
9112 // int -> QUANT16_ASYMM map
9113 .quant16AsymmOperands = {},
9114 // int -> QUANT8_SYMM map
9115 .quant8SymmOperands = {},
9116 }
9117 },
9118 }, // End of an example
9119 };
9120 return examples_large_dynamic_output_shape_nchw_channelQuant8;
9121 };
9122
get_examples_large_dynamic_output_shape_nchw_channelQuant8_2()9123 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nchw_channelQuant8_2() {
9124 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nchw_channelQuant8_2 = {
9125 // Begin of an example
9126 {
9127 .operands = {
9128 //Input(s)
9129 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9130 // int -> Dimensions map
9131 .operandDimensions = {{0, {1, 3, 2, 3}}},
9132 // int -> FLOAT32 map
9133 .float32Operands = {},
9134 // int -> INT32 map
9135 .int32Operands = {},
9136 // int -> QUANT8_ASYMM map
9137 .quant8AsymmOperands = {{0, {128, 131, 134, 137, 140, 143, 129, 132, 135, 138, 141, 144, 130, 133, 136, 139, 142, 145}}},
9138 // int -> QUANT16_SYMM map
9139 .quant16SymmOperands = {},
9140 // int -> FLOAT16 map
9141 .float16Operands = {},
9142 // int -> BOOL8 map
9143 .bool8Operands = {},
9144 // int -> QUANT8_SYMM_PER_CHANNEL map
9145 .quant8ChannelOperands = {},
9146 // int -> QUANT16_ASYMM map
9147 .quant16AsymmOperands = {},
9148 // int -> QUANT8_SYMM map
9149 .quant8SymmOperands = {},
9150 },
9151 //Output(s)
9152 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9153 // int -> Dimensions map
9154 .operandDimensions = {{0, {1, 3, 2, 3}}},
9155 // int -> FLOAT32 map
9156 .float32Operands = {},
9157 // int -> INT32 map
9158 .int32Operands = {},
9159 // int -> QUANT8_ASYMM map
9160 .quant8AsymmOperands = {{0, {157, 193, 229, 255, 255, 255, 163, 208, 253, 255, 255, 255, 169, 223, 255, 255, 255, 255}}},
9161 // int -> QUANT16_SYMM map
9162 .quant16SymmOperands = {},
9163 // int -> FLOAT16 map
9164 .float16Operands = {},
9165 // int -> BOOL8 map
9166 .bool8Operands = {},
9167 // int -> QUANT8_SYMM_PER_CHANNEL map
9168 .quant8ChannelOperands = {},
9169 // int -> QUANT16_ASYMM map
9170 .quant16AsymmOperands = {},
9171 // int -> QUANT8_SYMM map
9172 .quant8SymmOperands = {},
9173 }
9174 },
9175 }, // End of an example
9176 };
9177 return examples_large_dynamic_output_shape_nchw_channelQuant8_2;
9178 };
9179
get_examples_large_dynamic_output_shape_nchw_float16()9180 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nchw_float16() {
9181 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nchw_float16 = {
9182 // Begin of an example
9183 {
9184 .operands = {
9185 //Input(s)
9186 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9187 // int -> Dimensions map
9188 .operandDimensions = {{0, {1, 3, 2, 3}}},
9189 // int -> FLOAT32 map
9190 .float32Operands = {},
9191 // int -> INT32 map
9192 .int32Operands = {},
9193 // int -> QUANT8_ASYMM map
9194 .quant8AsymmOperands = {},
9195 // int -> QUANT16_SYMM map
9196 .quant16SymmOperands = {},
9197 // int -> FLOAT16 map
9198 .float16Operands = {{0, {1.0f, 4.0f, 7.0f, 10.0f, 13.0f, 16.0f, 2.0f, 5.0f, 8.0f, 11.0f, 14.0f, 17.0f, 3.0f, 6.0f, 9.0f, 12.0f, 15.0f, 18.0f}}},
9199 // int -> BOOL8 map
9200 .bool8Operands = {},
9201 // int -> QUANT8_SYMM_PER_CHANNEL map
9202 .quant8ChannelOperands = {},
9203 // int -> QUANT16_ASYMM map
9204 .quant16AsymmOperands = {},
9205 // int -> QUANT8_SYMM map
9206 .quant8SymmOperands = {},
9207 },
9208 //Output(s)
9209 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9210 // int -> Dimensions map
9211 .operandDimensions = {{0, {1, 3, 2, 3}}},
9212 // int -> FLOAT32 map
9213 .float32Operands = {},
9214 // int -> INT32 map
9215 .int32Operands = {},
9216 // int -> QUANT8_ASYMM map
9217 .quant8AsymmOperands = {},
9218 // int -> QUANT16_SYMM map
9219 .quant16SymmOperands = {},
9220 // int -> FLOAT16 map
9221 .float16Operands = {{0, {30.0f, 66.0f, 102.0f, 138.0f, 174.0f, 210.0f, 36.0f, 81.0f, 126.0f, 171.0f, 216.0f, 261.0f, 42.0f, 96.0f, 150.0f, 204.0f, 258.0f, 312.0f}}},
9222 // int -> BOOL8 map
9223 .bool8Operands = {},
9224 // int -> QUANT8_SYMM_PER_CHANNEL map
9225 .quant8ChannelOperands = {},
9226 // int -> QUANT16_ASYMM map
9227 .quant16AsymmOperands = {},
9228 // int -> QUANT8_SYMM map
9229 .quant8SymmOperands = {},
9230 }
9231 },
9232 }, // End of an example
9233 };
9234 return examples_large_dynamic_output_shape_nchw_float16;
9235 };
9236
get_examples_large_dynamic_output_shape_nchw_weight_as_input()9237 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nchw_weight_as_input() {
9238 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nchw_weight_as_input = {
9239 // Begin of an example
9240 {
9241 .operands = {
9242 //Input(s)
9243 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9244 // int -> Dimensions map
9245 .operandDimensions = {{0, {1, 3, 2, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
9246 // int -> FLOAT32 map
9247 .float32Operands = {{0, {1.0f, 4.0f, 7.0f, 10.0f, 13.0f, 16.0f, 2.0f, 5.0f, 8.0f, 11.0f, 14.0f, 17.0f, 3.0f, 6.0f, 9.0f, 12.0f, 15.0f, 18.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {0.0f, 0.0f, 0.0f}}},
9248 // int -> INT32 map
9249 .int32Operands = {},
9250 // int -> QUANT8_ASYMM map
9251 .quant8AsymmOperands = {},
9252 // int -> QUANT16_SYMM map
9253 .quant16SymmOperands = {},
9254 // int -> FLOAT16 map
9255 .float16Operands = {},
9256 // int -> BOOL8 map
9257 .bool8Operands = {},
9258 // int -> QUANT8_SYMM_PER_CHANNEL map
9259 .quant8ChannelOperands = {},
9260 // int -> QUANT16_ASYMM map
9261 .quant16AsymmOperands = {},
9262 // int -> QUANT8_SYMM map
9263 .quant8SymmOperands = {},
9264 },
9265 //Output(s)
9266 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9267 // int -> Dimensions map
9268 .operandDimensions = {{0, {1, 3, 2, 3}}},
9269 // int -> FLOAT32 map
9270 .float32Operands = {{0, {30.0f, 66.0f, 102.0f, 138.0f, 174.0f, 210.0f, 36.0f, 81.0f, 126.0f, 171.0f, 216.0f, 261.0f, 42.0f, 96.0f, 150.0f, 204.0f, 258.0f, 312.0f}}},
9271 // int -> INT32 map
9272 .int32Operands = {},
9273 // int -> QUANT8_ASYMM map
9274 .quant8AsymmOperands = {},
9275 // int -> QUANT16_SYMM map
9276 .quant16SymmOperands = {},
9277 // int -> FLOAT16 map
9278 .float16Operands = {},
9279 // int -> BOOL8 map
9280 .bool8Operands = {},
9281 // int -> QUANT8_SYMM_PER_CHANNEL map
9282 .quant8ChannelOperands = {},
9283 // int -> QUANT16_ASYMM map
9284 .quant16AsymmOperands = {},
9285 // int -> QUANT8_SYMM map
9286 .quant8SymmOperands = {},
9287 }
9288 },
9289 }, // End of an example
9290 };
9291 return examples_large_dynamic_output_shape_nchw_weight_as_input;
9292 };
9293
get_examples_large_dynamic_output_shape_nchw_weight_as_input_relaxed()9294 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nchw_weight_as_input_relaxed() {
9295 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nchw_weight_as_input_relaxed = {
9296 // Begin of an example
9297 {
9298 .operands = {
9299 //Input(s)
9300 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9301 // int -> Dimensions map
9302 .operandDimensions = {{0, {1, 3, 2, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
9303 // int -> FLOAT32 map
9304 .float32Operands = {{0, {1.0f, 4.0f, 7.0f, 10.0f, 13.0f, 16.0f, 2.0f, 5.0f, 8.0f, 11.0f, 14.0f, 17.0f, 3.0f, 6.0f, 9.0f, 12.0f, 15.0f, 18.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {0.0f, 0.0f, 0.0f}}},
9305 // int -> INT32 map
9306 .int32Operands = {},
9307 // int -> QUANT8_ASYMM map
9308 .quant8AsymmOperands = {},
9309 // int -> QUANT16_SYMM map
9310 .quant16SymmOperands = {},
9311 // int -> FLOAT16 map
9312 .float16Operands = {},
9313 // int -> BOOL8 map
9314 .bool8Operands = {},
9315 // int -> QUANT8_SYMM_PER_CHANNEL map
9316 .quant8ChannelOperands = {},
9317 // int -> QUANT16_ASYMM map
9318 .quant16AsymmOperands = {},
9319 // int -> QUANT8_SYMM map
9320 .quant8SymmOperands = {},
9321 },
9322 //Output(s)
9323 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9324 // int -> Dimensions map
9325 .operandDimensions = {{0, {1, 3, 2, 3}}},
9326 // int -> FLOAT32 map
9327 .float32Operands = {{0, {30.0f, 66.0f, 102.0f, 138.0f, 174.0f, 210.0f, 36.0f, 81.0f, 126.0f, 171.0f, 216.0f, 261.0f, 42.0f, 96.0f, 150.0f, 204.0f, 258.0f, 312.0f}}},
9328 // int -> INT32 map
9329 .int32Operands = {},
9330 // int -> QUANT8_ASYMM map
9331 .quant8AsymmOperands = {},
9332 // int -> QUANT16_SYMM map
9333 .quant16SymmOperands = {},
9334 // int -> FLOAT16 map
9335 .float16Operands = {},
9336 // int -> BOOL8 map
9337 .bool8Operands = {},
9338 // int -> QUANT8_SYMM_PER_CHANNEL map
9339 .quant8ChannelOperands = {},
9340 // int -> QUANT16_ASYMM map
9341 .quant16AsymmOperands = {},
9342 // int -> QUANT8_SYMM map
9343 .quant8SymmOperands = {},
9344 }
9345 },
9346 }, // End of an example
9347 };
9348 return examples_large_dynamic_output_shape_nchw_weight_as_input_relaxed;
9349 };
9350
get_examples_large_dynamic_output_shape_nchw_weight_as_input_quant8()9351 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nchw_weight_as_input_quant8() {
9352 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nchw_weight_as_input_quant8 = {
9353 // Begin of an example
9354 {
9355 .operands = {
9356 //Input(s)
9357 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9358 // int -> Dimensions map
9359 .operandDimensions = {{0, {1, 3, 2, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
9360 // int -> FLOAT32 map
9361 .float32Operands = {},
9362 // int -> INT32 map
9363 .int32Operands = {{2, {0, 0, 0}}},
9364 // int -> QUANT8_ASYMM map
9365 .quant8AsymmOperands = {{0, {130, 136, 142, 148, 154, 160, 132, 138, 144, 150, 156, 162, 134, 140, 146, 152, 158, 164}}, {1, {130, 136, 142, 132, 138, 144, 134, 140, 146}}},
9366 // int -> QUANT16_SYMM map
9367 .quant16SymmOperands = {},
9368 // int -> FLOAT16 map
9369 .float16Operands = {},
9370 // int -> BOOL8 map
9371 .bool8Operands = {},
9372 // int -> QUANT8_SYMM_PER_CHANNEL map
9373 .quant8ChannelOperands = {},
9374 // int -> QUANT16_ASYMM map
9375 .quant16AsymmOperands = {},
9376 // int -> QUANT8_SYMM map
9377 .quant8SymmOperands = {},
9378 },
9379 //Output(s)
9380 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9381 // int -> Dimensions map
9382 .operandDimensions = {{0, {1, 3, 2, 3}}},
9383 // int -> FLOAT32 map
9384 .float32Operands = {},
9385 // int -> INT32 map
9386 .int32Operands = {},
9387 // int -> QUANT8_ASYMM map
9388 .quant8AsymmOperands = {{0, {15, 33, 51, 69, 87, 105, 18, 40, 63, 86, 108, 130, 21, 48, 75, 102, 129, 156}}},
9389 // int -> QUANT16_SYMM map
9390 .quant16SymmOperands = {},
9391 // int -> FLOAT16 map
9392 .float16Operands = {},
9393 // int -> BOOL8 map
9394 .bool8Operands = {},
9395 // int -> QUANT8_SYMM_PER_CHANNEL map
9396 .quant8ChannelOperands = {},
9397 // int -> QUANT16_ASYMM map
9398 .quant16AsymmOperands = {},
9399 // int -> QUANT8_SYMM map
9400 .quant8SymmOperands = {},
9401 }
9402 },
9403 }, // End of an example
9404 };
9405 return examples_large_dynamic_output_shape_nchw_weight_as_input_quant8;
9406 };
9407
get_examples_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8()9408 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8() {
9409 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8 = {
9410 // Begin of an example
9411 {
9412 .operands = {
9413 //Input(s)
9414 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9415 // int -> Dimensions map
9416 .operandDimensions = {{0, {1, 3, 2, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
9417 // int -> FLOAT32 map
9418 .float32Operands = {},
9419 // int -> INT32 map
9420 .int32Operands = {{2, {0, 0, 0}}},
9421 // int -> QUANT8_ASYMM map
9422 .quant8AsymmOperands = {{0, {130, 136, 142, 148, 154, 160, 132, 138, 144, 150, 156, 162, 134, 140, 146, 152, 158, 164}}},
9423 // int -> QUANT16_SYMM map
9424 .quant16SymmOperands = {},
9425 // int -> FLOAT16 map
9426 .float16Operands = {},
9427 // int -> BOOL8 map
9428 .bool8Operands = {},
9429 // int -> QUANT8_SYMM_PER_CHANNEL map
9430 .quant8ChannelOperands = {{1, {2, 8, 14, 2, 5, 8, 6, 12, 18}}},
9431 // int -> QUANT16_ASYMM map
9432 .quant16AsymmOperands = {},
9433 // int -> QUANT8_SYMM map
9434 .quant8SymmOperands = {},
9435 },
9436 //Output(s)
9437 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9438 // int -> Dimensions map
9439 .operandDimensions = {{0, {1, 3, 2, 3}}},
9440 // int -> FLOAT32 map
9441 .float32Operands = {},
9442 // int -> INT32 map
9443 .int32Operands = {},
9444 // int -> QUANT8_ASYMM map
9445 .quant8AsymmOperands = {{0, {15, 33, 51, 69, 87, 105, 18, 40, 63, 86, 108, 130, 21, 48, 75, 102, 129, 156}}},
9446 // int -> QUANT16_SYMM map
9447 .quant16SymmOperands = {},
9448 // int -> FLOAT16 map
9449 .float16Operands = {},
9450 // int -> BOOL8 map
9451 .bool8Operands = {},
9452 // int -> QUANT8_SYMM_PER_CHANNEL map
9453 .quant8ChannelOperands = {},
9454 // int -> QUANT16_ASYMM map
9455 .quant16AsymmOperands = {},
9456 // int -> QUANT8_SYMM map
9457 .quant8SymmOperands = {},
9458 }
9459 },
9460 }, // End of an example
9461 };
9462 return examples_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8;
9463 };
9464
get_examples_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2()9465 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2() {
9466 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2 = {
9467 // Begin of an example
9468 {
9469 .operands = {
9470 //Input(s)
9471 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9472 // int -> Dimensions map
9473 .operandDimensions = {{0, {1, 3, 2, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
9474 // int -> FLOAT32 map
9475 .float32Operands = {},
9476 // int -> INT32 map
9477 .int32Operands = {{2, {0, 0, 0}}},
9478 // int -> QUANT8_ASYMM map
9479 .quant8AsymmOperands = {{0, {128, 131, 134, 137, 140, 143, 129, 132, 135, 138, 141, 144, 130, 133, 136, 139, 142, 145}}},
9480 // int -> QUANT16_SYMM map
9481 .quant16SymmOperands = {},
9482 // int -> FLOAT16 map
9483 .float16Operands = {},
9484 // int -> BOOL8 map
9485 .bool8Operands = {},
9486 // int -> QUANT8_SYMM_PER_CHANNEL map
9487 .quant8ChannelOperands = {{1, {2, 8, 14, 2, 5, 8, 3, 6, 9}}},
9488 // int -> QUANT16_ASYMM map
9489 .quant16AsymmOperands = {},
9490 // int -> QUANT8_SYMM map
9491 .quant8SymmOperands = {},
9492 },
9493 //Output(s)
9494 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9495 // int -> Dimensions map
9496 .operandDimensions = {{0, {1, 3, 2, 3}}},
9497 // int -> FLOAT32 map
9498 .float32Operands = {},
9499 // int -> INT32 map
9500 .int32Operands = {},
9501 // int -> QUANT8_ASYMM map
9502 .quant8AsymmOperands = {{0, {157, 193, 229, 255, 255, 255, 163, 208, 253, 255, 255, 255, 169, 223, 255, 255, 255, 255}}},
9503 // int -> QUANT16_SYMM map
9504 .quant16SymmOperands = {},
9505 // int -> FLOAT16 map
9506 .float16Operands = {},
9507 // int -> BOOL8 map
9508 .bool8Operands = {},
9509 // int -> QUANT8_SYMM_PER_CHANNEL map
9510 .quant8ChannelOperands = {},
9511 // int -> QUANT16_ASYMM map
9512 .quant16AsymmOperands = {},
9513 // int -> QUANT8_SYMM map
9514 .quant8SymmOperands = {},
9515 }
9516 },
9517 }, // End of an example
9518 };
9519 return examples_large_dynamic_output_shape_nchw_weight_as_input_channelQuant8_2;
9520 };
9521
get_examples_large_dynamic_output_shape_nchw_weight_as_input_float16()9522 std::vector<MixedTypedExample>& get_examples_large_dynamic_output_shape_nchw_weight_as_input_float16() {
9523 static std::vector<MixedTypedExample> examples_large_dynamic_output_shape_nchw_weight_as_input_float16 = {
9524 // Begin of an example
9525 {
9526 .operands = {
9527 //Input(s)
9528 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9529 // int -> Dimensions map
9530 .operandDimensions = {{0, {1, 3, 2, 3}}, {1, {3, 1, 1, 3}}, {2, {3}}},
9531 // int -> FLOAT32 map
9532 .float32Operands = {},
9533 // int -> INT32 map
9534 .int32Operands = {},
9535 // int -> QUANT8_ASYMM map
9536 .quant8AsymmOperands = {},
9537 // int -> QUANT16_SYMM map
9538 .quant16SymmOperands = {},
9539 // int -> FLOAT16 map
9540 .float16Operands = {{0, {1.0f, 4.0f, 7.0f, 10.0f, 13.0f, 16.0f, 2.0f, 5.0f, 8.0f, 11.0f, 14.0f, 17.0f, 3.0f, 6.0f, 9.0f, 12.0f, 15.0f, 18.0f}}, {1, {1.0f, 4.0f, 7.0f, 2.0f, 5.0f, 8.0f, 3.0f, 6.0f, 9.0f}}, {2, {0.0f, 0.0f, 0.0f}}},
9541 // int -> BOOL8 map
9542 .bool8Operands = {},
9543 // int -> QUANT8_SYMM_PER_CHANNEL map
9544 .quant8ChannelOperands = {},
9545 // int -> QUANT16_ASYMM map
9546 .quant16AsymmOperands = {},
9547 // int -> QUANT8_SYMM map
9548 .quant8SymmOperands = {},
9549 },
9550 //Output(s)
9551 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9552 // int -> Dimensions map
9553 .operandDimensions = {{0, {1, 3, 2, 3}}},
9554 // int -> FLOAT32 map
9555 .float32Operands = {},
9556 // int -> INT32 map
9557 .int32Operands = {},
9558 // int -> QUANT8_ASYMM map
9559 .quant8AsymmOperands = {},
9560 // int -> QUANT16_SYMM map
9561 .quant16SymmOperands = {},
9562 // int -> FLOAT16 map
9563 .float16Operands = {{0, {30.0f, 66.0f, 102.0f, 138.0f, 174.0f, 210.0f, 36.0f, 81.0f, 126.0f, 171.0f, 216.0f, 261.0f, 42.0f, 96.0f, 150.0f, 204.0f, 258.0f, 312.0f}}},
9564 // int -> BOOL8 map
9565 .bool8Operands = {},
9566 // int -> QUANT8_SYMM_PER_CHANNEL map
9567 .quant8ChannelOperands = {},
9568 // int -> QUANT16_ASYMM map
9569 .quant16AsymmOperands = {},
9570 // int -> QUANT8_SYMM map
9571 .quant8SymmOperands = {},
9572 }
9573 },
9574 }, // End of an example
9575 };
9576 return examples_large_dynamic_output_shape_nchw_weight_as_input_float16;
9577 };
9578
get_examples_1_H3_W2_SAME_nhwc()9579 std::vector<MixedTypedExample>& get_examples_1_H3_W2_SAME_nhwc() {
9580 static std::vector<MixedTypedExample> examples_1_H3_W2_SAME_nhwc = {
9581 // Begin of an example
9582 {
9583 .operands = {
9584 //Input(s)
9585 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9586 // int -> Dimensions map
9587 .operandDimensions = {{0, {1, 8, 8, 3}}},
9588 // int -> FLOAT32 map
9589 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
9590 // int -> INT32 map
9591 .int32Operands = {},
9592 // int -> QUANT8_ASYMM map
9593 .quant8AsymmOperands = {},
9594 // int -> QUANT16_SYMM map
9595 .quant16SymmOperands = {},
9596 // int -> FLOAT16 map
9597 .float16Operands = {},
9598 // int -> BOOL8 map
9599 .bool8Operands = {},
9600 // int -> QUANT8_SYMM_PER_CHANNEL map
9601 .quant8ChannelOperands = {},
9602 // int -> QUANT16_ASYMM map
9603 .quant16AsymmOperands = {},
9604 // int -> QUANT8_SYMM map
9605 .quant8SymmOperands = {},
9606 },
9607 //Output(s)
9608 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9609 // int -> Dimensions map
9610 .operandDimensions = {{0, {1, 8, 8, 1}}},
9611 // int -> FLOAT32 map
9612 .float32Operands = {{0, {1.85284f, -0.0393656f, -0.127353f, 1.43115f, -0.302294f, -1.0402f, 0.655023f, -0.587614f, 1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -0.346357f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.104506f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, 1.42026f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, -0.343435f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, -1.46717f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f, 1.23741f, -0.527402f, -0.39954f, -0.0128623f, 1.3644f, 0.985755f, -0.718118f, -0.1008f, 1.24327f}}},
9613 // int -> INT32 map
9614 .int32Operands = {},
9615 // int -> QUANT8_ASYMM map
9616 .quant8AsymmOperands = {},
9617 // int -> QUANT16_SYMM map
9618 .quant16SymmOperands = {},
9619 // int -> FLOAT16 map
9620 .float16Operands = {},
9621 // int -> BOOL8 map
9622 .bool8Operands = {},
9623 // int -> QUANT8_SYMM_PER_CHANNEL map
9624 .quant8ChannelOperands = {},
9625 // int -> QUANT16_ASYMM map
9626 .quant16AsymmOperands = {},
9627 // int -> QUANT8_SYMM map
9628 .quant8SymmOperands = {},
9629 }
9630 },
9631 }, // End of an example
9632 // Begin of an example
9633 {
9634 .operands = {
9635 //Input(s)
9636 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9637 // int -> Dimensions map
9638 .operandDimensions = {{0, {1, 8, 8, 3}}},
9639 // int -> FLOAT32 map
9640 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
9641 // int -> INT32 map
9642 .int32Operands = {},
9643 // int -> QUANT8_ASYMM map
9644 .quant8AsymmOperands = {},
9645 // int -> QUANT16_SYMM map
9646 .quant16SymmOperands = {},
9647 // int -> FLOAT16 map
9648 .float16Operands = {},
9649 // int -> BOOL8 map
9650 .bool8Operands = {},
9651 // int -> QUANT8_SYMM_PER_CHANNEL map
9652 .quant8ChannelOperands = {},
9653 // int -> QUANT16_ASYMM map
9654 .quant16AsymmOperands = {},
9655 // int -> QUANT8_SYMM map
9656 .quant8SymmOperands = {},
9657 },
9658 //Output(s)
9659 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9660 // int -> Dimensions map
9661 .operandDimensions = {{0, {1, 8, 8, 1}}},
9662 // int -> FLOAT32 map
9663 .float32Operands = {{0, {-0.000614278f, -1.21221f, 0.443861f, 0.102117f, -2.52714f, 1.47489f, 0.173474f, -0.237577f, 1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, -1.6271f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.133762f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 1.22372f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, -0.838905f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 0.891823f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f, 0.166228f, 0.434554f, -2.57529f, -0.958662f, -2.23978f, 2.66776f, 0.542601f, 1.76107f, -1.08134f}}},
9664 // int -> INT32 map
9665 .int32Operands = {},
9666 // int -> QUANT8_ASYMM map
9667 .quant8AsymmOperands = {},
9668 // int -> QUANT16_SYMM map
9669 .quant16SymmOperands = {},
9670 // int -> FLOAT16 map
9671 .float16Operands = {},
9672 // int -> BOOL8 map
9673 .bool8Operands = {},
9674 // int -> QUANT8_SYMM_PER_CHANNEL map
9675 .quant8ChannelOperands = {},
9676 // int -> QUANT16_ASYMM map
9677 .quant16AsymmOperands = {},
9678 // int -> QUANT8_SYMM map
9679 .quant8SymmOperands = {},
9680 }
9681 },
9682 }, // End of an example
9683 };
9684 return examples_1_H3_W2_SAME_nhwc;
9685 };
9686
get_examples_1_H3_W2_SAME_nhwc_relaxed()9687 std::vector<MixedTypedExample>& get_examples_1_H3_W2_SAME_nhwc_relaxed() {
9688 static std::vector<MixedTypedExample> examples_1_H3_W2_SAME_nhwc_relaxed = {
9689 // Begin of an example
9690 {
9691 .operands = {
9692 //Input(s)
9693 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9694 // int -> Dimensions map
9695 .operandDimensions = {{0, {1, 8, 8, 3}}},
9696 // int -> FLOAT32 map
9697 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
9698 // int -> INT32 map
9699 .int32Operands = {},
9700 // int -> QUANT8_ASYMM map
9701 .quant8AsymmOperands = {},
9702 // int -> QUANT16_SYMM map
9703 .quant16SymmOperands = {},
9704 // int -> FLOAT16 map
9705 .float16Operands = {},
9706 // int -> BOOL8 map
9707 .bool8Operands = {},
9708 // int -> QUANT8_SYMM_PER_CHANNEL map
9709 .quant8ChannelOperands = {},
9710 // int -> QUANT16_ASYMM map
9711 .quant16AsymmOperands = {},
9712 // int -> QUANT8_SYMM map
9713 .quant8SymmOperands = {},
9714 },
9715 //Output(s)
9716 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9717 // int -> Dimensions map
9718 .operandDimensions = {{0, {1, 8, 8, 1}}},
9719 // int -> FLOAT32 map
9720 .float32Operands = {{0, {1.85284f, -0.0393656f, -0.127353f, 1.43115f, -0.302294f, -1.0402f, 0.655023f, -0.587614f, 1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -0.346357f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.104506f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, 1.42026f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, -0.343435f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, -1.46717f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f, 1.23741f, -0.527402f, -0.39954f, -0.0128623f, 1.3644f, 0.985755f, -0.718118f, -0.1008f, 1.24327f}}},
9721 // int -> INT32 map
9722 .int32Operands = {},
9723 // int -> QUANT8_ASYMM map
9724 .quant8AsymmOperands = {},
9725 // int -> QUANT16_SYMM map
9726 .quant16SymmOperands = {},
9727 // int -> FLOAT16 map
9728 .float16Operands = {},
9729 // int -> BOOL8 map
9730 .bool8Operands = {},
9731 // int -> QUANT8_SYMM_PER_CHANNEL map
9732 .quant8ChannelOperands = {},
9733 // int -> QUANT16_ASYMM map
9734 .quant16AsymmOperands = {},
9735 // int -> QUANT8_SYMM map
9736 .quant8SymmOperands = {},
9737 }
9738 },
9739 }, // End of an example
9740 // Begin of an example
9741 {
9742 .operands = {
9743 //Input(s)
9744 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9745 // int -> Dimensions map
9746 .operandDimensions = {{0, {1, 8, 8, 3}}},
9747 // int -> FLOAT32 map
9748 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
9749 // int -> INT32 map
9750 .int32Operands = {},
9751 // int -> QUANT8_ASYMM map
9752 .quant8AsymmOperands = {},
9753 // int -> QUANT16_SYMM map
9754 .quant16SymmOperands = {},
9755 // int -> FLOAT16 map
9756 .float16Operands = {},
9757 // int -> BOOL8 map
9758 .bool8Operands = {},
9759 // int -> QUANT8_SYMM_PER_CHANNEL map
9760 .quant8ChannelOperands = {},
9761 // int -> QUANT16_ASYMM map
9762 .quant16AsymmOperands = {},
9763 // int -> QUANT8_SYMM map
9764 .quant8SymmOperands = {},
9765 },
9766 //Output(s)
9767 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9768 // int -> Dimensions map
9769 .operandDimensions = {{0, {1, 8, 8, 1}}},
9770 // int -> FLOAT32 map
9771 .float32Operands = {{0, {-0.000614278f, -1.21221f, 0.443861f, 0.102117f, -2.52714f, 1.47489f, 0.173474f, -0.237577f, 1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, -1.6271f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.133762f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 1.22372f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, -0.838905f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 0.891823f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f, 0.166228f, 0.434554f, -2.57529f, -0.958662f, -2.23978f, 2.66776f, 0.542601f, 1.76107f, -1.08134f}}},
9772 // int -> INT32 map
9773 .int32Operands = {},
9774 // int -> QUANT8_ASYMM map
9775 .quant8AsymmOperands = {},
9776 // int -> QUANT16_SYMM map
9777 .quant16SymmOperands = {},
9778 // int -> FLOAT16 map
9779 .float16Operands = {},
9780 // int -> BOOL8 map
9781 .bool8Operands = {},
9782 // int -> QUANT8_SYMM_PER_CHANNEL map
9783 .quant8ChannelOperands = {},
9784 // int -> QUANT16_ASYMM map
9785 .quant16AsymmOperands = {},
9786 // int -> QUANT8_SYMM map
9787 .quant8SymmOperands = {},
9788 }
9789 },
9790 }, // End of an example
9791 };
9792 return examples_1_H3_W2_SAME_nhwc_relaxed;
9793 };
9794
get_examples_1_H3_W2_SAME_nhwc_float16()9795 std::vector<MixedTypedExample>& get_examples_1_H3_W2_SAME_nhwc_float16() {
9796 static std::vector<MixedTypedExample> examples_1_H3_W2_SAME_nhwc_float16 = {
9797 // Begin of an example
9798 {
9799 .operands = {
9800 //Input(s)
9801 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9802 // int -> Dimensions map
9803 .operandDimensions = {{0, {1, 8, 8, 3}}},
9804 // int -> FLOAT32 map
9805 .float32Operands = {},
9806 // int -> INT32 map
9807 .int32Operands = {},
9808 // int -> QUANT8_ASYMM map
9809 .quant8AsymmOperands = {},
9810 // int -> QUANT16_SYMM map
9811 .quant16SymmOperands = {},
9812 // int -> FLOAT16 map
9813 .float16Operands = {{0, {-0.8699309825897217f, 0.6446279883384705f, -0.9183930158615112f, 0.153671994805336f, 0.8685619831085205f, -0.3581770062446594f, -0.13493099808692932f, -0.24756500124931335f, 0.2217400074005127f, -0.2591570019721985f, -0.2842960059642792f, -0.5380650162696838f, 0.7655590176582336f, 0.41986000537872314f, -0.556240975856781f, 0.6584939956665039f, 0.214355006814003f, -0.8501690030097961f, -0.25289300084114075f, -0.47893500328063965f, 0.5305259823799133f, -0.07006630301475525f, -0.9887290000915527f, -0.30306100845336914f, 0.150845006108284f, 0.8299149870872498f, 0.47634899616241455f, 0.4065369963645935f, -0.3553430140018463f, 0.7571449875831604f, -0.356361985206604f, 0.8004819750785828f, -0.7138609886169434f, 0.21048299968242645f, -0.6343029737472534f, 0.7182360291481018f, -0.7520380020141602f, 0.45754700899124146f, -0.5507689714431763f, -0.551177978515625f, 0.4467659890651703f, -0.22746199369430542f, 0.21634800732135773f, -0.8528059720993042f, -0.3514859974384308f, 0.5590599775314331f, -0.6684929728507996f, -0.3034929931163788f, -0.3637630045413971f, -0.16283699870109558f, 0.07010120153427124f, 0.7560970187187195f, -0.14226900041103363f, 0.3297240138053894f, -0.6563169956207275f, -0.9980859756469727f, -0.6529489755630493f, -0.4031600058078766f, -0.8936820030212402f, 0.43274399638175964f, 0.6123620271682739f, -0.8695880174636841f, -0.7132700085639954f, -0.39809200167655945f, -0.04235589876770973f, 0.4365760087966919f, -0.9252719879150391f, 0.1765490025281906f, 0.8229039907455444f, 0.0968329980969429f, -0.29680201411247253f, -0.4271950125694275f, 0.0316540002822876f, -0.25447899103164673f, 0.2449049949645996f, 0.09482540190219879f, 0.6437690258026123f, -0.9039099812507629f, 0.3526650071144104f, -0.9011790156364441f, 0.2661589980125427f, -0.96806800365448f, -0.615401029586792f, -0.38897499442100525f, 0.9390519857406616f, -0.11628899723291397f, 0.10752300173044205f, -0.058271098881959915f, 0.4351719915866852f, 0.33467501401901245f, 0.4597109854221344f, 0.7174360156059265f, 0.49662700295448303f, -0.6801750063896179f, -0.4150660037994385f, 0.33984801173210144f, 0.5060039758682251f, -0.3378080129623413f, -0.10721799731254578f, -0.1724960058927536f, 0.8706380128860474f, 0.9318720102310181f, -0.9538840055465698f, 0.9030420184135437f, 0.7600780129432678f, 0.20972700417041779f, -0.28538399934768677f, -0.45513999462127686f, 0.11319400370121002f, 0.07566110044717789f, 0.09244350343942642f, -0.47286298871040344f, 0.9606090188026428f, -0.16038499772548676f, -0.8394449949264526f, 0.45709699392318726f, 0.1633480042219162f, 0.3448669910430908f, -0.13161900639533997f, 0.6887149810791016f, -0.5408269762992859f, 0.5712590217590332f, -0.9558699727058411f, 0.506164014339447f, -0.1558389961719513f, 0.07896210253238678f, 0.756771981716156f, -0.6620690226554871f, 0.24290800094604492f, 0.4608210027217865f, 0.17787200212478638f, -0.2898389995098114f, -0.6406030058860779f, 0.702597975730896f, -0.5064060091972351f, -0.568261981010437f, -0.07137160003185272f, 0.4137920141220093f, 0.15967300534248352f, -0.3052079975605011f, 0.13381600379943848f, -0.16025400161743164f, 0.787322998046875f, -0.7532439827919006f, 0.600721001625061f, 0.2631860077381134f, -0.16238699853420258f, 0.4779619872570038f, -0.7029510140419006f, -0.7310360074043274f, -0.9394810199737549f, -0.5245190262794495f, 0.9340720176696777f, -0.5116369724273682f, -0.5034989714622498f, 0.10623600333929062f, -0.3236840069293976f, 0.5344439744949341f, -0.8437449932098389f, 0.36417099833488464f, 0.03703580051660538f, -0.16880099475383759f, -0.4045589864253998f, -0.8141779899597168f, 0.9174500107765198f, -0.3342759907245636f, 0.6692500114440918f, -0.8012009859085083f, 0.15651099383831024f, -0.4279490113258362f, 0.3791530132293701f, 0.8185970187187195f, -0.6499019861221313f, 0.4270870089530945f, -0.586014986038208f, -0.5597890019416809f, -0.8339229822158813f, 0.0892409011721611f, -0.6212509870529175f, 0.2138260006904602f, 0.46550899744033813f, 0.47040000557899475f, 0.38026100397109985f, 0.4130670130252838f, 0.1808219999074936f, 0.17286600172519684f, 0.5961400270462036f, 0.8255749940872192f, 0.6629160046577454f, -0.704380989074707f, -0.29763099551200867f, 0.6977779865264893f}}},
9814 // int -> BOOL8 map
9815 .bool8Operands = {},
9816 // int -> QUANT8_SYMM_PER_CHANNEL map
9817 .quant8ChannelOperands = {},
9818 // int -> QUANT16_ASYMM map
9819 .quant16AsymmOperands = {},
9820 // int -> QUANT8_SYMM map
9821 .quant8SymmOperands = {},
9822 },
9823 //Output(s)
9824 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9825 // int -> Dimensions map
9826 .operandDimensions = {{0, {1, 8, 8, 1}}},
9827 // int -> FLOAT32 map
9828 .float32Operands = {},
9829 // int -> INT32 map
9830 .int32Operands = {},
9831 // int -> QUANT8_ASYMM map
9832 .quant8AsymmOperands = {},
9833 // int -> QUANT16_SYMM map
9834 .quant16SymmOperands = {},
9835 // int -> FLOAT16 map
9836 .float16Operands = {{0, {1.8528399467468262f, -0.03936560079455376f, -0.1273529976606369f, 1.431149959564209f, -0.302293986082077f, -1.0401999950408936f, 0.6550229787826538f, -0.5876139998435974f, 1.7200299501419067f, 1.5581599473953247f, 0.6675459742546082f, 2.2366299629211426f, 0.06615159660577774f, 0.29025399684906006f, 0.770222008228302f, -0.34635698795318604f, -1.581969976425171f, -0.8505949974060059f, -0.48422399163246155f, 0.9499670267105103f, -0.5772629976272583f, -0.8719490170478821f, 2.341320037841797f, -0.1045060008764267f, -0.1359650045633316f, -0.985713005065918f, 0.8151469826698303f, 1.0311399698257446f, -1.4191499948501587f, -0.515533983707428f, -0.37363898754119873f, 1.420259952545166f, -1.5060399770736694f, 0.6731129884719849f, 3.061389923095703f, -0.38857799768447876f, -1.7670700550079346f, -0.3156670033931732f, -1.0381499528884888f, -0.34343498945236206f, 0.4327870011329651f, -1.4164299964904785f, 1.1294399499893188f, -0.17580600082874298f, -0.8464149832725525f, 1.4009499549865723f, 0.7083200216293335f, -1.467170000076294f, 2.195620059967041f, -2.6126599311828613f, -0.7053830027580261f, 1.261240005493164f, 1.4654500484466553f, -2.357609987258911f, 2.0449399948120117f, 1.2374099493026733f, -0.5274019837379456f, -0.3995400071144104f, -0.01286229956895113f, 1.364400029182434f, 0.9857550263404846f, -0.7181180119514465f, -0.10080000013113022f, 1.2432700395584106f}}},
9837 // int -> BOOL8 map
9838 .bool8Operands = {},
9839 // int -> QUANT8_SYMM_PER_CHANNEL map
9840 .quant8ChannelOperands = {},
9841 // int -> QUANT16_ASYMM map
9842 .quant16AsymmOperands = {},
9843 // int -> QUANT8_SYMM map
9844 .quant8SymmOperands = {},
9845 }
9846 },
9847 }, // End of an example
9848 // Begin of an example
9849 {
9850 .operands = {
9851 //Input(s)
9852 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9853 // int -> Dimensions map
9854 .operandDimensions = {{0, {1, 8, 8, 3}}},
9855 // int -> FLOAT32 map
9856 .float32Operands = {},
9857 // int -> INT32 map
9858 .int32Operands = {},
9859 // int -> QUANT8_ASYMM map
9860 .quant8AsymmOperands = {},
9861 // int -> QUANT16_SYMM map
9862 .quant16SymmOperands = {},
9863 // int -> FLOAT16 map
9864 .float16Operands = {{0, {-0.29533499479293823f, -0.0038760099560022354f, -0.5522509813308716f, 0.16608400642871857f, -0.28481999039649963f, -0.15214300155639648f, -0.719884991645813f, -0.8693860173225403f, -0.7455980181694031f, 0.823947012424469f, 0.4731830060482025f, -0.33133700489997864f, 0.18763099610805511f, 0.04265709966421127f, -0.8268970251083374f, -0.7550849914550781f, -0.4724529981613159f, -0.023365600034594536f, 0.04834359884262085f, 0.9334179759025574f, -0.961974024772644f, 0.012578300200402737f, 0.21974200010299683f, 0.34260401129722595f, -0.1516599953174591f, 0.09349049627780914f, 0.7832210063934326f, 0.12966400384902954f, 0.8388440012931824f, -0.2713879942893982f, 0.9245190024375916f, 0.3428429961204529f, 0.2744179964065552f, 0.3508169949054718f, 0.8416380286216736f, -0.5439929962158203f, -0.002833950100466609f, -0.12846699357032776f, -0.6829429864883423f, -0.31911700963974f, 0.846340000629425f, 0.2830030024051666f, 0.32864999771118164f, 0.029375499114394188f, -0.03356960043311119f, 0.5912659764289856f, -0.0743476003408432f, -0.7412710189819336f, 0.4620560109615326f, -0.5836250185966492f, -0.5901830196380615f, 0.6233999729156494f, 0.535269021987915f, -0.6708179712295532f, -0.9556419849395752f, -0.7701730132102966f, 0.4799860119819641f, 0.664376974105835f, 0.3994449973106384f, -0.9688739776611328f, -0.2762629985809326f, -0.901951014995575f, 0.5441039800643921f, -0.9589809775352478f, 0.4826579988002777f, -0.8072839975357056f, 0.30536898970603943f, -0.9478179812431335f, 0.8274980187416077f, -0.38288700580596924f, -0.805741012096405f, -0.7966780066490173f, -0.2998040020465851f, -0.22982800006866455f, 0.8187829852104187f, -0.10305500030517578f, -0.4556800127029419f, -0.22782699763774872f, 0.5437430143356323f, -0.9607300162315369f, 0.9467470049858093f, -0.8571820259094238f, -0.9642599821090698f, -0.2924109995365143f, -0.7156140208244324f, 0.7652779817581177f, -0.47504299879074097f, -0.590142011642456f, -0.2385070025920868f, 0.6730020046234131f, -0.4733569920063019f, -0.31962600350379944f, 0.9360139966011047f, 0.48660698533058167f, 0.580843985080719f, 0.42535200715065f, -0.8009939789772034f, 0.2907629907131195f, -0.4949530065059662f, -0.44116199016571045f, 0.7186769843101501f, -0.8284270167350769f, 0.9696499705314636f, 7.536369957961142e-05f, -0.6999729871749878f, -0.526885986328125f, -0.3526819944381714f, 0.7994660139083862f, 0.33278900384902954f, 0.7233890295028687f, 0.40765899419784546f, -0.9340839982032776f, -0.2847050130367279f, 0.9614840149879456f, -0.7003949880599976f, -0.9858080148696899f, -0.5953419804573059f, -0.6917210221290588f, 0.4944800138473511f, -0.08426489681005478f, 0.03909660130739212f, 0.29893800616264343f, -0.12809400260448456f, -0.9715800285339355f, 0.8639299869537354f, 0.27060601115226746f, -0.46898600459098816f, -0.25660499930381775f, 0.4721499979496002f, -0.2731170058250427f, -0.5903429985046387f, -0.8265290260314941f, -0.7253810167312622f, -0.19482100009918213f, -0.2596609890460968f, -0.09492070227861404f, -0.1803019940853119f, 0.04468340054154396f, -0.22213299572467804f, -0.40393000841140747f, 0.295771986246109f, -0.9294899702072144f, 0.5800790190696716f, -0.169855996966362f, 0.33031100034713745f, 0.017355099320411682f, -0.6358230113983154f, 0.4759419858455658f, 0.9071750044822693f, 0.2427770048379898f, -0.5122079849243164f, 0.36246299743652344f, 0.04962889850139618f, 0.6517099738121033f, 0.9900569915771484f, 0.690733015537262f, -0.4690130054950714f, -0.10131099820137024f, -0.6837199926376343f, -0.15784099698066711f, -0.677711009979248f, -0.7082239985466003f, -0.6594370007514954f, -0.40760698914527893f, 0.677033007144928f, 0.8903200030326843f, 0.22830699384212494f, -0.7495139837265015f, 0.772957980632782f, 0.054701000452041626f, 0.551705002784729f, 0.9170519709587097f, -0.8950219750404358f, -0.7023969888687134f, 0.484142005443573f, 0.10864800214767456f, 0.8333470225334167f, 0.47887200117111206f, -0.984112024307251f, 0.3871760070323944f, -0.732990026473999f, 0.7526000142097473f, 0.44331198930740356f, -0.09878560155630112f, 0.12541499733924866f, 0.10875999927520752f, -0.49810799956321716f, 0.43209001421928406f, 0.34460899233818054f, 0.928941011428833f, -0.130731999874115f, -0.056916698813438416f}}},
9865 // int -> BOOL8 map
9866 .bool8Operands = {},
9867 // int -> QUANT8_SYMM_PER_CHANNEL map
9868 .quant8ChannelOperands = {},
9869 // int -> QUANT16_ASYMM map
9870 .quant16AsymmOperands = {},
9871 // int -> QUANT8_SYMM map
9872 .quant8SymmOperands = {},
9873 },
9874 //Output(s)
9875 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9876 // int -> Dimensions map
9877 .operandDimensions = {{0, {1, 8, 8, 1}}},
9878 // int -> FLOAT32 map
9879 .float32Operands = {},
9880 // int -> INT32 map
9881 .int32Operands = {},
9882 // int -> QUANT8_ASYMM map
9883 .quant8AsymmOperands = {},
9884 // int -> QUANT16_SYMM map
9885 .quant16SymmOperands = {},
9886 // int -> FLOAT16 map
9887 .float16Operands = {{0, {-0.0006142780184745789f, -1.2122100591659546f, 0.4438610076904297f, 0.10211700201034546f, -2.527139902114868f, 1.4748899936676025f, 0.1734739989042282f, -0.23757700622081757f, 1.287350058555603f, 1.9131499528884888f, 2.5173399448394775f, 0.3758409917354584f, 0.6375629901885986f, 2.6530001163482666f, 2.7295899391174316f, -1.6270999908447266f, 1.1738899946212769f, -2.121190071105957f, 2.914170026779175f, -2.242460012435913f, 0.049704499542713165f, -0.12710699439048767f, -0.14447300136089325f, -0.13376200199127197f, -0.39328399300575256f, -2.0234599113464355f, -0.23917800188064575f, -0.24650800228118896f, 1.2927700281143188f, 1.3296300172805786f, 0.1175210028886795f, 1.2237199544906616f, 0.06657130271196365f, 1.0943800210952759f, -1.3142600059509277f, 2.52593994140625f, -0.9692109823226929f, 0.5154780149459839f, -1.6092599630355835f, -0.8389049768447876f, 0.1352110058069229f, 0.7864149808883667f, -1.14382004737854f, -0.7391020059585571f, -1.0173100233078003f, 0.2816149890422821f, 2.363110065460205f, 0.8918229937553406f, 1.9387199878692627f, -0.15049099922180176f, 3.452169895172119f, 2.2821900844573975f, 1.1828199625015259f, -2.2508599758148193f, 3.054680109024048f, 0.16622799634933472f, 0.43455401062965393f, -2.5752899646759033f, -0.9586619734764099f, -2.2397799491882324f, 2.667759895324707f, 0.5426009893417358f, 1.7610700130462646f, -1.081339955329895f}}},
9888 // int -> BOOL8 map
9889 .bool8Operands = {},
9890 // int -> QUANT8_SYMM_PER_CHANNEL map
9891 .quant8ChannelOperands = {},
9892 // int -> QUANT16_ASYMM map
9893 .quant16AsymmOperands = {},
9894 // int -> QUANT8_SYMM map
9895 .quant8SymmOperands = {},
9896 }
9897 },
9898 }, // End of an example
9899 };
9900 return examples_1_H3_W2_SAME_nhwc_float16;
9901 };
9902
get_examples_1_H3_W2_SAME_nchw()9903 std::vector<MixedTypedExample>& get_examples_1_H3_W2_SAME_nchw() {
9904 static std::vector<MixedTypedExample> examples_1_H3_W2_SAME_nchw = {
9905 // Begin of an example
9906 {
9907 .operands = {
9908 //Input(s)
9909 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9910 // int -> Dimensions map
9911 .operandDimensions = {{0, {1, 3, 8, 8}}},
9912 // int -> FLOAT32 map
9913 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
9914 // int -> INT32 map
9915 .int32Operands = {},
9916 // int -> QUANT8_ASYMM map
9917 .quant8AsymmOperands = {},
9918 // int -> QUANT16_SYMM map
9919 .quant16SymmOperands = {},
9920 // int -> FLOAT16 map
9921 .float16Operands = {},
9922 // int -> BOOL8 map
9923 .bool8Operands = {},
9924 // int -> QUANT8_SYMM_PER_CHANNEL map
9925 .quant8ChannelOperands = {},
9926 // int -> QUANT16_ASYMM map
9927 .quant16AsymmOperands = {},
9928 // int -> QUANT8_SYMM map
9929 .quant8SymmOperands = {},
9930 },
9931 //Output(s)
9932 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9933 // int -> Dimensions map
9934 .operandDimensions = {{0, {1, 1, 8, 8}}},
9935 // int -> FLOAT32 map
9936 .float32Operands = {{0, {1.85284f, -0.0393656f, -0.127353f, 1.43115f, -0.302294f, -1.0402f, 0.655023f, -0.587614f, 1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -0.346357f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.104506f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, 1.42026f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, -0.343435f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, -1.46717f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f, 1.23741f, -0.527402f, -0.39954f, -0.0128623f, 1.3644f, 0.985755f, -0.718118f, -0.1008f, 1.24327f}}},
9937 // int -> INT32 map
9938 .int32Operands = {},
9939 // int -> QUANT8_ASYMM map
9940 .quant8AsymmOperands = {},
9941 // int -> QUANT16_SYMM map
9942 .quant16SymmOperands = {},
9943 // int -> FLOAT16 map
9944 .float16Operands = {},
9945 // int -> BOOL8 map
9946 .bool8Operands = {},
9947 // int -> QUANT8_SYMM_PER_CHANNEL map
9948 .quant8ChannelOperands = {},
9949 // int -> QUANT16_ASYMM map
9950 .quant16AsymmOperands = {},
9951 // int -> QUANT8_SYMM map
9952 .quant8SymmOperands = {},
9953 }
9954 },
9955 }, // End of an example
9956 // Begin of an example
9957 {
9958 .operands = {
9959 //Input(s)
9960 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9961 // int -> Dimensions map
9962 .operandDimensions = {{0, {1, 3, 8, 8}}},
9963 // int -> FLOAT32 map
9964 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
9965 // int -> INT32 map
9966 .int32Operands = {},
9967 // int -> QUANT8_ASYMM map
9968 .quant8AsymmOperands = {},
9969 // int -> QUANT16_SYMM map
9970 .quant16SymmOperands = {},
9971 // int -> FLOAT16 map
9972 .float16Operands = {},
9973 // int -> BOOL8 map
9974 .bool8Operands = {},
9975 // int -> QUANT8_SYMM_PER_CHANNEL map
9976 .quant8ChannelOperands = {},
9977 // int -> QUANT16_ASYMM map
9978 .quant16AsymmOperands = {},
9979 // int -> QUANT8_SYMM map
9980 .quant8SymmOperands = {},
9981 },
9982 //Output(s)
9983 { // See tools/test_generator/include/TestHarness.h:MixedTyped
9984 // int -> Dimensions map
9985 .operandDimensions = {{0, {1, 1, 8, 8}}},
9986 // int -> FLOAT32 map
9987 .float32Operands = {{0, {-0.000614278f, -1.21221f, 0.443861f, 0.102117f, -2.52714f, 1.47489f, 0.173474f, -0.237577f, 1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, -1.6271f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.133762f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 1.22372f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, -0.838905f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 0.891823f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f, 0.166228f, 0.434554f, -2.57529f, -0.958662f, -2.23978f, 2.66776f, 0.542601f, 1.76107f, -1.08134f}}},
9988 // int -> INT32 map
9989 .int32Operands = {},
9990 // int -> QUANT8_ASYMM map
9991 .quant8AsymmOperands = {},
9992 // int -> QUANT16_SYMM map
9993 .quant16SymmOperands = {},
9994 // int -> FLOAT16 map
9995 .float16Operands = {},
9996 // int -> BOOL8 map
9997 .bool8Operands = {},
9998 // int -> QUANT8_SYMM_PER_CHANNEL map
9999 .quant8ChannelOperands = {},
10000 // int -> QUANT16_ASYMM map
10001 .quant16AsymmOperands = {},
10002 // int -> QUANT8_SYMM map
10003 .quant8SymmOperands = {},
10004 }
10005 },
10006 }, // End of an example
10007 };
10008 return examples_1_H3_W2_SAME_nchw;
10009 };
10010
get_examples_1_H3_W2_SAME_nchw_relaxed()10011 std::vector<MixedTypedExample>& get_examples_1_H3_W2_SAME_nchw_relaxed() {
10012 static std::vector<MixedTypedExample> examples_1_H3_W2_SAME_nchw_relaxed = {
10013 // Begin of an example
10014 {
10015 .operands = {
10016 //Input(s)
10017 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10018 // int -> Dimensions map
10019 .operandDimensions = {{0, {1, 3, 8, 8}}},
10020 // int -> FLOAT32 map
10021 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
10022 // int -> INT32 map
10023 .int32Operands = {},
10024 // int -> QUANT8_ASYMM map
10025 .quant8AsymmOperands = {},
10026 // int -> QUANT16_SYMM map
10027 .quant16SymmOperands = {},
10028 // int -> FLOAT16 map
10029 .float16Operands = {},
10030 // int -> BOOL8 map
10031 .bool8Operands = {},
10032 // int -> QUANT8_SYMM_PER_CHANNEL map
10033 .quant8ChannelOperands = {},
10034 // int -> QUANT16_ASYMM map
10035 .quant16AsymmOperands = {},
10036 // int -> QUANT8_SYMM map
10037 .quant8SymmOperands = {},
10038 },
10039 //Output(s)
10040 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10041 // int -> Dimensions map
10042 .operandDimensions = {{0, {1, 1, 8, 8}}},
10043 // int -> FLOAT32 map
10044 .float32Operands = {{0, {1.85284f, -0.0393656f, -0.127353f, 1.43115f, -0.302294f, -1.0402f, 0.655023f, -0.587614f, 1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -0.346357f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.104506f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, 1.42026f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, -0.343435f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, -1.46717f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f, 1.23741f, -0.527402f, -0.39954f, -0.0128623f, 1.3644f, 0.985755f, -0.718118f, -0.1008f, 1.24327f}}},
10045 // int -> INT32 map
10046 .int32Operands = {},
10047 // int -> QUANT8_ASYMM map
10048 .quant8AsymmOperands = {},
10049 // int -> QUANT16_SYMM map
10050 .quant16SymmOperands = {},
10051 // int -> FLOAT16 map
10052 .float16Operands = {},
10053 // int -> BOOL8 map
10054 .bool8Operands = {},
10055 // int -> QUANT8_SYMM_PER_CHANNEL map
10056 .quant8ChannelOperands = {},
10057 // int -> QUANT16_ASYMM map
10058 .quant16AsymmOperands = {},
10059 // int -> QUANT8_SYMM map
10060 .quant8SymmOperands = {},
10061 }
10062 },
10063 }, // End of an example
10064 // Begin of an example
10065 {
10066 .operands = {
10067 //Input(s)
10068 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10069 // int -> Dimensions map
10070 .operandDimensions = {{0, {1, 3, 8, 8}}},
10071 // int -> FLOAT32 map
10072 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
10073 // int -> INT32 map
10074 .int32Operands = {},
10075 // int -> QUANT8_ASYMM map
10076 .quant8AsymmOperands = {},
10077 // int -> QUANT16_SYMM map
10078 .quant16SymmOperands = {},
10079 // int -> FLOAT16 map
10080 .float16Operands = {},
10081 // int -> BOOL8 map
10082 .bool8Operands = {},
10083 // int -> QUANT8_SYMM_PER_CHANNEL map
10084 .quant8ChannelOperands = {},
10085 // int -> QUANT16_ASYMM map
10086 .quant16AsymmOperands = {},
10087 // int -> QUANT8_SYMM map
10088 .quant8SymmOperands = {},
10089 },
10090 //Output(s)
10091 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10092 // int -> Dimensions map
10093 .operandDimensions = {{0, {1, 1, 8, 8}}},
10094 // int -> FLOAT32 map
10095 .float32Operands = {{0, {-0.000614278f, -1.21221f, 0.443861f, 0.102117f, -2.52714f, 1.47489f, 0.173474f, -0.237577f, 1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, -1.6271f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.133762f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 1.22372f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, -0.838905f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 0.891823f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f, 0.166228f, 0.434554f, -2.57529f, -0.958662f, -2.23978f, 2.66776f, 0.542601f, 1.76107f, -1.08134f}}},
10096 // int -> INT32 map
10097 .int32Operands = {},
10098 // int -> QUANT8_ASYMM map
10099 .quant8AsymmOperands = {},
10100 // int -> QUANT16_SYMM map
10101 .quant16SymmOperands = {},
10102 // int -> FLOAT16 map
10103 .float16Operands = {},
10104 // int -> BOOL8 map
10105 .bool8Operands = {},
10106 // int -> QUANT8_SYMM_PER_CHANNEL map
10107 .quant8ChannelOperands = {},
10108 // int -> QUANT16_ASYMM map
10109 .quant16AsymmOperands = {},
10110 // int -> QUANT8_SYMM map
10111 .quant8SymmOperands = {},
10112 }
10113 },
10114 }, // End of an example
10115 };
10116 return examples_1_H3_W2_SAME_nchw_relaxed;
10117 };
10118
get_examples_1_H3_W2_SAME_nchw_float16()10119 std::vector<MixedTypedExample>& get_examples_1_H3_W2_SAME_nchw_float16() {
10120 static std::vector<MixedTypedExample> examples_1_H3_W2_SAME_nchw_float16 = {
10121 // Begin of an example
10122 {
10123 .operands = {
10124 //Input(s)
10125 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10126 // int -> Dimensions map
10127 .operandDimensions = {{0, {1, 3, 8, 8}}},
10128 // int -> FLOAT32 map
10129 .float32Operands = {},
10130 // int -> INT32 map
10131 .int32Operands = {},
10132 // int -> QUANT8_ASYMM map
10133 .quant8AsymmOperands = {},
10134 // int -> QUANT16_SYMM map
10135 .quant16SymmOperands = {},
10136 // int -> FLOAT16 map
10137 .float16Operands = {{0, {-0.8699309825897217f, 0.153671994805336f, -0.13493099808692932f, -0.2591570019721985f, 0.7655590176582336f, 0.6584939956665039f, -0.25289300084114075f, -0.07006630301475525f, 0.150845006108284f, 0.4065369963645935f, -0.356361985206604f, 0.21048299968242645f, -0.7520380020141602f, -0.551177978515625f, 0.21634800732135773f, 0.5590599775314331f, -0.3637630045413971f, 0.7560970187187195f, -0.6563169956207275f, -0.4031600058078766f, 0.6123620271682739f, -0.39809200167655945f, -0.9252719879150391f, 0.0968329980969429f, 0.0316540002822876f, 0.09482540190219879f, 0.3526650071144104f, -0.96806800365448f, 0.9390519857406616f, -0.058271098881959915f, 0.4597109854221344f, -0.6801750063896179f, 0.5060039758682251f, -0.1724960058927536f, -0.9538840055465698f, 0.20972700417041779f, 0.11319400370121002f, -0.47286298871040344f, -0.8394449949264526f, 0.3448669910430908f, -0.5408269762992859f, 0.506164014339447f, 0.756771981716156f, 0.4608210027217865f, -0.6406030058860779f, -0.568261981010437f, 0.15967300534248352f, -0.16025400161743164f, 0.600721001625061f, 0.4779619872570038f, -0.9394810199737549f, -0.5116369724273682f, -0.3236840069293976f, 0.36417099833488464f, -0.4045589864253998f, -0.3342759907245636f, 0.15651099383831024f, 0.8185970187187195f, -0.586014986038208f, 0.0892409011721611f, 0.46550899744033813f, 0.4130670130252838f, 0.5961400270462036f, -0.704380989074707f, 0.6446279883384705f, 0.8685619831085205f, -0.24756500124931335f, -0.2842960059642792f, 0.41986000537872314f, 0.214355006814003f, -0.47893500328063965f, -0.9887290000915527f, 0.8299149870872498f, -0.3553430140018463f, 0.8004819750785828f, -0.6343029737472534f, 0.45754700899124146f, 0.4467659890651703f, -0.8528059720993042f, -0.6684929728507996f, -0.16283699870109558f, -0.14226900041103363f, -0.9980859756469727f, -0.8936820030212402f, -0.8695880174636841f, -0.04235589876770973f, 0.1765490025281906f, -0.29680201411247253f, -0.25447899103164673f, 0.6437690258026123f, -0.9011790156364441f, -0.615401029586792f, -0.11628899723291397f, 0.4351719915866852f, 0.7174360156059265f, -0.4150660037994385f, -0.3378080129623413f, 0.8706380128860474f, 0.9030420184135437f, -0.28538399934768677f, 0.07566110044717789f, 0.9606090188026428f, 0.45709699392318726f, -0.13161900639533997f, 0.5712590217590332f, -0.1558389961719513f, -0.6620690226554871f, 0.17787200212478638f, 0.702597975730896f, -0.07137160003185272f, -0.3052079975605011f, 0.787322998046875f, 0.2631860077381134f, -0.7029510140419006f, -0.5245190262794495f, -0.5034989714622498f, 0.5344439744949341f, 0.03703580051660538f, -0.8141779899597168f, 0.6692500114440918f, -0.4279490113258362f, -0.6499019861221313f, -0.5597890019416809f, -0.6212509870529175f, 0.47040000557899475f, 0.1808219999074936f, 0.8255749940872192f, -0.29763099551200867f, -0.9183930158615112f, -0.3581770062446594f, 0.2217400074005127f, -0.5380650162696838f, -0.556240975856781f, -0.8501690030097961f, 0.5305259823799133f, -0.30306100845336914f, 0.47634899616241455f, 0.7571449875831604f, -0.7138609886169434f, 0.7182360291481018f, -0.5507689714431763f, -0.22746199369430542f, -0.3514859974384308f, -0.3034929931163788f, 0.07010120153427124f, 0.3297240138053894f, -0.6529489755630493f, 0.43274399638175964f, -0.7132700085639954f, 0.4365760087966919f, 0.8229039907455444f, -0.4271950125694275f, 0.2449049949645996f, -0.9039099812507629f, 0.2661589980125427f, -0.38897499442100525f, 0.10752300173044205f, 0.33467501401901245f, 0.49662700295448303f, 0.33984801173210144f, -0.10721799731254578f, 0.9318720102310181f, 0.7600780129432678f, -0.45513999462127686f, 0.09244350343942642f, -0.16038499772548676f, 0.1633480042219162f, 0.6887149810791016f, -0.9558699727058411f, 0.07896210253238678f, 0.24290800094604492f, -0.2898389995098114f, -0.5064060091972351f, 0.4137920141220093f, 0.13381600379943848f, -0.7532439827919006f, -0.16238699853420258f, -0.7310360074043274f, 0.9340720176696777f, 0.10623600333929062f, -0.8437449932098389f, -0.16880099475383759f, 0.9174500107765198f, -0.8012009859085083f, 0.3791530132293701f, 0.4270870089530945f, -0.8339229822158813f, 0.2138260006904602f, 0.38026100397109985f, 0.17286600172519684f, 0.6629160046577454f, 0.6977779865264893f}}},
10138 // int -> BOOL8 map
10139 .bool8Operands = {},
10140 // int -> QUANT8_SYMM_PER_CHANNEL map
10141 .quant8ChannelOperands = {},
10142 // int -> QUANT16_ASYMM map
10143 .quant16AsymmOperands = {},
10144 // int -> QUANT8_SYMM map
10145 .quant8SymmOperands = {},
10146 },
10147 //Output(s)
10148 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10149 // int -> Dimensions map
10150 .operandDimensions = {{0, {1, 1, 8, 8}}},
10151 // int -> FLOAT32 map
10152 .float32Operands = {},
10153 // int -> INT32 map
10154 .int32Operands = {},
10155 // int -> QUANT8_ASYMM map
10156 .quant8AsymmOperands = {},
10157 // int -> QUANT16_SYMM map
10158 .quant16SymmOperands = {},
10159 // int -> FLOAT16 map
10160 .float16Operands = {{0, {1.8528399467468262f, -0.03936560079455376f, -0.1273529976606369f, 1.431149959564209f, -0.302293986082077f, -1.0401999950408936f, 0.6550229787826538f, -0.5876139998435974f, 1.7200299501419067f, 1.5581599473953247f, 0.6675459742546082f, 2.2366299629211426f, 0.06615159660577774f, 0.29025399684906006f, 0.770222008228302f, -0.34635698795318604f, -1.581969976425171f, -0.8505949974060059f, -0.48422399163246155f, 0.9499670267105103f, -0.5772629976272583f, -0.8719490170478821f, 2.341320037841797f, -0.1045060008764267f, -0.1359650045633316f, -0.985713005065918f, 0.8151469826698303f, 1.0311399698257446f, -1.4191499948501587f, -0.515533983707428f, -0.37363898754119873f, 1.420259952545166f, -1.5060399770736694f, 0.6731129884719849f, 3.061389923095703f, -0.38857799768447876f, -1.7670700550079346f, -0.3156670033931732f, -1.0381499528884888f, -0.34343498945236206f, 0.4327870011329651f, -1.4164299964904785f, 1.1294399499893188f, -0.17580600082874298f, -0.8464149832725525f, 1.4009499549865723f, 0.7083200216293335f, -1.467170000076294f, 2.195620059967041f, -2.6126599311828613f, -0.7053830027580261f, 1.261240005493164f, 1.4654500484466553f, -2.357609987258911f, 2.0449399948120117f, 1.2374099493026733f, -0.5274019837379456f, -0.3995400071144104f, -0.01286229956895113f, 1.364400029182434f, 0.9857550263404846f, -0.7181180119514465f, -0.10080000013113022f, 1.2432700395584106f}}},
10161 // int -> BOOL8 map
10162 .bool8Operands = {},
10163 // int -> QUANT8_SYMM_PER_CHANNEL map
10164 .quant8ChannelOperands = {},
10165 // int -> QUANT16_ASYMM map
10166 .quant16AsymmOperands = {},
10167 // int -> QUANT8_SYMM map
10168 .quant8SymmOperands = {},
10169 }
10170 },
10171 }, // End of an example
10172 // Begin of an example
10173 {
10174 .operands = {
10175 //Input(s)
10176 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10177 // int -> Dimensions map
10178 .operandDimensions = {{0, {1, 3, 8, 8}}},
10179 // int -> FLOAT32 map
10180 .float32Operands = {},
10181 // int -> INT32 map
10182 .int32Operands = {},
10183 // int -> QUANT8_ASYMM map
10184 .quant8AsymmOperands = {},
10185 // int -> QUANT16_SYMM map
10186 .quant16SymmOperands = {},
10187 // int -> FLOAT16 map
10188 .float16Operands = {{0, {-0.29533499479293823f, 0.16608400642871857f, -0.719884991645813f, 0.823947012424469f, 0.18763099610805511f, -0.7550849914550781f, 0.04834359884262085f, 0.012578300200402737f, -0.1516599953174591f, 0.12966400384902954f, 0.9245190024375916f, 0.3508169949054718f, -0.002833950100466609f, -0.31911700963974f, 0.32864999771118164f, 0.5912659764289856f, 0.4620560109615326f, 0.6233999729156494f, -0.9556419849395752f, 0.664376974105835f, -0.2762629985809326f, -0.9589809775352478f, 0.30536898970603943f, -0.38288700580596924f, -0.2998040020465851f, -0.10305500030517578f, 0.5437430143356323f, -0.8571820259094238f, -0.7156140208244324f, -0.590142011642456f, -0.4733569920063019f, 0.48660698533058167f, -0.8009939789772034f, -0.44116199016571045f, 0.9696499705314636f, -0.526885986328125f, 0.33278900384902954f, -0.9340839982032776f, -0.7003949880599976f, -0.6917210221290588f, 0.03909660130739212f, -0.9715800285339355f, -0.46898600459098816f, -0.2731170058250427f, -0.7253810167312622f, -0.09492070227861404f, -0.22213299572467804f, -0.9294899702072144f, 0.33031100034713745f, 0.4759419858455658f, -0.5122079849243164f, 0.6517099738121033f, -0.4690130054950714f, -0.15784099698066711f, -0.6594370007514954f, 0.8903200030326843f, 0.772957980632782f, 0.9170519709587097f, 0.484142005443573f, 0.47887200117111206f, -0.732990026473999f, -0.09878560155630112f, -0.49810799956321716f, 0.928941011428833f, -0.0038760099560022354f, -0.28481999039649963f, -0.8693860173225403f, 0.4731830060482025f, 0.04265709966421127f, -0.4724529981613159f, 0.9334179759025574f, 0.21974200010299683f, 0.09349049627780914f, 0.8388440012931824f, 0.3428429961204529f, 0.8416380286216736f, -0.12846699357032776f, 0.846340000629425f, 0.029375499114394188f, -0.0743476003408432f, -0.5836250185966492f, 0.535269021987915f, -0.7701730132102966f, 0.3994449973106384f, -0.901951014995575f, 0.4826579988002777f, -0.9478179812431335f, -0.805741012096405f, -0.22982800006866455f, -0.4556800127029419f, -0.9607300162315369f, -0.9642599821090698f, 0.7652779817581177f, -0.2385070025920868f, -0.31962600350379944f, 0.580843985080719f, 0.2907629907131195f, 0.7186769843101501f, 7.536369957961142e-05f, -0.3526819944381714f, 0.7233890295028687f, -0.2847050130367279f, -0.9858080148696899f, 0.4944800138473511f, 0.29893800616264343f, 0.8639299869537354f, -0.25660499930381775f, -0.5903429985046387f, -0.19482100009918213f, -0.1803019940853119f, -0.40393000841140747f, 0.5800790190696716f, 0.017355099320411682f, 0.9071750044822693f, 0.36246299743652344f, 0.9900569915771484f, -0.10131099820137024f, -0.677711009979248f, -0.40760698914527893f, 0.22830699384212494f, 0.054701000452041626f, -0.8950219750404358f, 0.10864800214767456f, -0.984112024307251f, 0.7526000142097473f, 0.12541499733924866f, 0.43209001421928406f, -0.130731999874115f, -0.5522509813308716f, -0.15214300155639648f, -0.7455980181694031f, -0.33133700489997864f, -0.8268970251083374f, -0.023365600034594536f, -0.961974024772644f, 0.34260401129722595f, 0.7832210063934326f, -0.2713879942893982f, 0.2744179964065552f, -0.5439929962158203f, -0.6829429864883423f, 0.2830030024051666f, -0.03356960043311119f, -0.7412710189819336f, -0.5901830196380615f, -0.6708179712295532f, 0.4799860119819641f, -0.9688739776611328f, 0.5441039800643921f, -0.8072839975357056f, 0.8274980187416077f, -0.7966780066490173f, 0.8187829852104187f, -0.22782699763774872f, 0.9467470049858093f, -0.2924109995365143f, -0.47504299879074097f, 0.6730020046234131f, 0.9360139966011047f, 0.42535200715065f, -0.4949530065059662f, -0.8284270167350769f, -0.6999729871749878f, 0.7994660139083862f, 0.40765899419784546f, 0.9614840149879456f, -0.5953419804573059f, -0.08426489681005478f, -0.12809400260448456f, 0.27060601115226746f, 0.4721499979496002f, -0.8265290260314941f, -0.2596609890460968f, 0.04468340054154396f, 0.295771986246109f, -0.169855996966362f, -0.6358230113983154f, 0.2427770048379898f, 0.04962889850139618f, 0.690733015537262f, -0.6837199926376343f, -0.7082239985466003f, 0.677033007144928f, -0.7495139837265015f, 0.551705002784729f, -0.7023969888687134f, 0.8333470225334167f, 0.3871760070323944f, 0.44331198930740356f, 0.10875999927520752f, 0.34460899233818054f, -0.056916698813438416f}}},
10189 // int -> BOOL8 map
10190 .bool8Operands = {},
10191 // int -> QUANT8_SYMM_PER_CHANNEL map
10192 .quant8ChannelOperands = {},
10193 // int -> QUANT16_ASYMM map
10194 .quant16AsymmOperands = {},
10195 // int -> QUANT8_SYMM map
10196 .quant8SymmOperands = {},
10197 },
10198 //Output(s)
10199 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10200 // int -> Dimensions map
10201 .operandDimensions = {{0, {1, 1, 8, 8}}},
10202 // int -> FLOAT32 map
10203 .float32Operands = {},
10204 // int -> INT32 map
10205 .int32Operands = {},
10206 // int -> QUANT8_ASYMM map
10207 .quant8AsymmOperands = {},
10208 // int -> QUANT16_SYMM map
10209 .quant16SymmOperands = {},
10210 // int -> FLOAT16 map
10211 .float16Operands = {{0, {-0.0006142780184745789f, -1.2122100591659546f, 0.4438610076904297f, 0.10211700201034546f, -2.527139902114868f, 1.4748899936676025f, 0.1734739989042282f, -0.23757700622081757f, 1.287350058555603f, 1.9131499528884888f, 2.5173399448394775f, 0.3758409917354584f, 0.6375629901885986f, 2.6530001163482666f, 2.7295899391174316f, -1.6270999908447266f, 1.1738899946212769f, -2.121190071105957f, 2.914170026779175f, -2.242460012435913f, 0.049704499542713165f, -0.12710699439048767f, -0.14447300136089325f, -0.13376200199127197f, -0.39328399300575256f, -2.0234599113464355f, -0.23917800188064575f, -0.24650800228118896f, 1.2927700281143188f, 1.3296300172805786f, 0.1175210028886795f, 1.2237199544906616f, 0.06657130271196365f, 1.0943800210952759f, -1.3142600059509277f, 2.52593994140625f, -0.9692109823226929f, 0.5154780149459839f, -1.6092599630355835f, -0.8389049768447876f, 0.1352110058069229f, 0.7864149808883667f, -1.14382004737854f, -0.7391020059585571f, -1.0173100233078003f, 0.2816149890422821f, 2.363110065460205f, 0.8918229937553406f, 1.9387199878692627f, -0.15049099922180176f, 3.452169895172119f, 2.2821900844573975f, 1.1828199625015259f, -2.2508599758148193f, 3.054680109024048f, 0.16622799634933472f, 0.43455401062965393f, -2.5752899646759033f, -0.9586619734764099f, -2.2397799491882324f, 2.667759895324707f, 0.5426009893417358f, 1.7610700130462646f, -1.081339955329895f}}},
10212 // int -> BOOL8 map
10213 .bool8Operands = {},
10214 // int -> QUANT8_SYMM_PER_CHANNEL map
10215 .quant8ChannelOperands = {},
10216 // int -> QUANT16_ASYMM map
10217 .quant16AsymmOperands = {},
10218 // int -> QUANT8_SYMM map
10219 .quant8SymmOperands = {},
10220 }
10221 },
10222 }, // End of an example
10223 };
10224 return examples_1_H3_W2_SAME_nchw_float16;
10225 };
10226
get_examples_1_H3_W2_SAME_dynamic_output_shape_nhwc()10227 std::vector<MixedTypedExample>& get_examples_1_H3_W2_SAME_dynamic_output_shape_nhwc() {
10228 static std::vector<MixedTypedExample> examples_1_H3_W2_SAME_dynamic_output_shape_nhwc = {
10229 // Begin of an example
10230 {
10231 .operands = {
10232 //Input(s)
10233 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10234 // int -> Dimensions map
10235 .operandDimensions = {{0, {1, 8, 8, 3}}},
10236 // int -> FLOAT32 map
10237 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
10238 // int -> INT32 map
10239 .int32Operands = {},
10240 // int -> QUANT8_ASYMM map
10241 .quant8AsymmOperands = {},
10242 // int -> QUANT16_SYMM map
10243 .quant16SymmOperands = {},
10244 // int -> FLOAT16 map
10245 .float16Operands = {},
10246 // int -> BOOL8 map
10247 .bool8Operands = {},
10248 // int -> QUANT8_SYMM_PER_CHANNEL map
10249 .quant8ChannelOperands = {},
10250 // int -> QUANT16_ASYMM map
10251 .quant16AsymmOperands = {},
10252 // int -> QUANT8_SYMM map
10253 .quant8SymmOperands = {},
10254 },
10255 //Output(s)
10256 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10257 // int -> Dimensions map
10258 .operandDimensions = {{0, {1, 8, 8, 1}}},
10259 // int -> FLOAT32 map
10260 .float32Operands = {{0, {1.85284f, -0.0393656f, -0.127353f, 1.43115f, -0.302294f, -1.0402f, 0.655023f, -0.587614f, 1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -0.346357f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.104506f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, 1.42026f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, -0.343435f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, -1.46717f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f, 1.23741f, -0.527402f, -0.39954f, -0.0128623f, 1.3644f, 0.985755f, -0.718118f, -0.1008f, 1.24327f}}},
10261 // int -> INT32 map
10262 .int32Operands = {},
10263 // int -> QUANT8_ASYMM map
10264 .quant8AsymmOperands = {},
10265 // int -> QUANT16_SYMM map
10266 .quant16SymmOperands = {},
10267 // int -> FLOAT16 map
10268 .float16Operands = {},
10269 // int -> BOOL8 map
10270 .bool8Operands = {},
10271 // int -> QUANT8_SYMM_PER_CHANNEL map
10272 .quant8ChannelOperands = {},
10273 // int -> QUANT16_ASYMM map
10274 .quant16AsymmOperands = {},
10275 // int -> QUANT8_SYMM map
10276 .quant8SymmOperands = {},
10277 }
10278 },
10279 }, // End of an example
10280 // Begin of an example
10281 {
10282 .operands = {
10283 //Input(s)
10284 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10285 // int -> Dimensions map
10286 .operandDimensions = {{0, {1, 8, 8, 3}}},
10287 // int -> FLOAT32 map
10288 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
10289 // int -> INT32 map
10290 .int32Operands = {},
10291 // int -> QUANT8_ASYMM map
10292 .quant8AsymmOperands = {},
10293 // int -> QUANT16_SYMM map
10294 .quant16SymmOperands = {},
10295 // int -> FLOAT16 map
10296 .float16Operands = {},
10297 // int -> BOOL8 map
10298 .bool8Operands = {},
10299 // int -> QUANT8_SYMM_PER_CHANNEL map
10300 .quant8ChannelOperands = {},
10301 // int -> QUANT16_ASYMM map
10302 .quant16AsymmOperands = {},
10303 // int -> QUANT8_SYMM map
10304 .quant8SymmOperands = {},
10305 },
10306 //Output(s)
10307 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10308 // int -> Dimensions map
10309 .operandDimensions = {{0, {1, 8, 8, 1}}},
10310 // int -> FLOAT32 map
10311 .float32Operands = {{0, {-0.000614278f, -1.21221f, 0.443861f, 0.102117f, -2.52714f, 1.47489f, 0.173474f, -0.237577f, 1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, -1.6271f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.133762f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 1.22372f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, -0.838905f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 0.891823f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f, 0.166228f, 0.434554f, -2.57529f, -0.958662f, -2.23978f, 2.66776f, 0.542601f, 1.76107f, -1.08134f}}},
10312 // int -> INT32 map
10313 .int32Operands = {},
10314 // int -> QUANT8_ASYMM map
10315 .quant8AsymmOperands = {},
10316 // int -> QUANT16_SYMM map
10317 .quant16SymmOperands = {},
10318 // int -> FLOAT16 map
10319 .float16Operands = {},
10320 // int -> BOOL8 map
10321 .bool8Operands = {},
10322 // int -> QUANT8_SYMM_PER_CHANNEL map
10323 .quant8ChannelOperands = {},
10324 // int -> QUANT16_ASYMM map
10325 .quant16AsymmOperands = {},
10326 // int -> QUANT8_SYMM map
10327 .quant8SymmOperands = {},
10328 }
10329 },
10330 }, // End of an example
10331 };
10332 return examples_1_H3_W2_SAME_dynamic_output_shape_nhwc;
10333 };
10334
get_examples_1_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed()10335 std::vector<MixedTypedExample>& get_examples_1_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed() {
10336 static std::vector<MixedTypedExample> examples_1_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed = {
10337 // Begin of an example
10338 {
10339 .operands = {
10340 //Input(s)
10341 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10342 // int -> Dimensions map
10343 .operandDimensions = {{0, {1, 8, 8, 3}}},
10344 // int -> FLOAT32 map
10345 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
10346 // int -> INT32 map
10347 .int32Operands = {},
10348 // int -> QUANT8_ASYMM map
10349 .quant8AsymmOperands = {},
10350 // int -> QUANT16_SYMM map
10351 .quant16SymmOperands = {},
10352 // int -> FLOAT16 map
10353 .float16Operands = {},
10354 // int -> BOOL8 map
10355 .bool8Operands = {},
10356 // int -> QUANT8_SYMM_PER_CHANNEL map
10357 .quant8ChannelOperands = {},
10358 // int -> QUANT16_ASYMM map
10359 .quant16AsymmOperands = {},
10360 // int -> QUANT8_SYMM map
10361 .quant8SymmOperands = {},
10362 },
10363 //Output(s)
10364 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10365 // int -> Dimensions map
10366 .operandDimensions = {{0, {1, 8, 8, 1}}},
10367 // int -> FLOAT32 map
10368 .float32Operands = {{0, {1.85284f, -0.0393656f, -0.127353f, 1.43115f, -0.302294f, -1.0402f, 0.655023f, -0.587614f, 1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -0.346357f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.104506f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, 1.42026f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, -0.343435f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, -1.46717f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f, 1.23741f, -0.527402f, -0.39954f, -0.0128623f, 1.3644f, 0.985755f, -0.718118f, -0.1008f, 1.24327f}}},
10369 // int -> INT32 map
10370 .int32Operands = {},
10371 // int -> QUANT8_ASYMM map
10372 .quant8AsymmOperands = {},
10373 // int -> QUANT16_SYMM map
10374 .quant16SymmOperands = {},
10375 // int -> FLOAT16 map
10376 .float16Operands = {},
10377 // int -> BOOL8 map
10378 .bool8Operands = {},
10379 // int -> QUANT8_SYMM_PER_CHANNEL map
10380 .quant8ChannelOperands = {},
10381 // int -> QUANT16_ASYMM map
10382 .quant16AsymmOperands = {},
10383 // int -> QUANT8_SYMM map
10384 .quant8SymmOperands = {},
10385 }
10386 },
10387 }, // End of an example
10388 // Begin of an example
10389 {
10390 .operands = {
10391 //Input(s)
10392 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10393 // int -> Dimensions map
10394 .operandDimensions = {{0, {1, 8, 8, 3}}},
10395 // int -> FLOAT32 map
10396 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
10397 // int -> INT32 map
10398 .int32Operands = {},
10399 // int -> QUANT8_ASYMM map
10400 .quant8AsymmOperands = {},
10401 // int -> QUANT16_SYMM map
10402 .quant16SymmOperands = {},
10403 // int -> FLOAT16 map
10404 .float16Operands = {},
10405 // int -> BOOL8 map
10406 .bool8Operands = {},
10407 // int -> QUANT8_SYMM_PER_CHANNEL map
10408 .quant8ChannelOperands = {},
10409 // int -> QUANT16_ASYMM map
10410 .quant16AsymmOperands = {},
10411 // int -> QUANT8_SYMM map
10412 .quant8SymmOperands = {},
10413 },
10414 //Output(s)
10415 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10416 // int -> Dimensions map
10417 .operandDimensions = {{0, {1, 8, 8, 1}}},
10418 // int -> FLOAT32 map
10419 .float32Operands = {{0, {-0.000614278f, -1.21221f, 0.443861f, 0.102117f, -2.52714f, 1.47489f, 0.173474f, -0.237577f, 1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, -1.6271f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.133762f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 1.22372f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, -0.838905f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 0.891823f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f, 0.166228f, 0.434554f, -2.57529f, -0.958662f, -2.23978f, 2.66776f, 0.542601f, 1.76107f, -1.08134f}}},
10420 // int -> INT32 map
10421 .int32Operands = {},
10422 // int -> QUANT8_ASYMM map
10423 .quant8AsymmOperands = {},
10424 // int -> QUANT16_SYMM map
10425 .quant16SymmOperands = {},
10426 // int -> FLOAT16 map
10427 .float16Operands = {},
10428 // int -> BOOL8 map
10429 .bool8Operands = {},
10430 // int -> QUANT8_SYMM_PER_CHANNEL map
10431 .quant8ChannelOperands = {},
10432 // int -> QUANT16_ASYMM map
10433 .quant16AsymmOperands = {},
10434 // int -> QUANT8_SYMM map
10435 .quant8SymmOperands = {},
10436 }
10437 },
10438 }, // End of an example
10439 };
10440 return examples_1_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed;
10441 };
10442
get_examples_1_H3_W2_SAME_dynamic_output_shape_nhwc_float16()10443 std::vector<MixedTypedExample>& get_examples_1_H3_W2_SAME_dynamic_output_shape_nhwc_float16() {
10444 static std::vector<MixedTypedExample> examples_1_H3_W2_SAME_dynamic_output_shape_nhwc_float16 = {
10445 // Begin of an example
10446 {
10447 .operands = {
10448 //Input(s)
10449 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10450 // int -> Dimensions map
10451 .operandDimensions = {{0, {1, 8, 8, 3}}},
10452 // int -> FLOAT32 map
10453 .float32Operands = {},
10454 // int -> INT32 map
10455 .int32Operands = {},
10456 // int -> QUANT8_ASYMM map
10457 .quant8AsymmOperands = {},
10458 // int -> QUANT16_SYMM map
10459 .quant16SymmOperands = {},
10460 // int -> FLOAT16 map
10461 .float16Operands = {{0, {-0.8699309825897217f, 0.6446279883384705f, -0.9183930158615112f, 0.153671994805336f, 0.8685619831085205f, -0.3581770062446594f, -0.13493099808692932f, -0.24756500124931335f, 0.2217400074005127f, -0.2591570019721985f, -0.2842960059642792f, -0.5380650162696838f, 0.7655590176582336f, 0.41986000537872314f, -0.556240975856781f, 0.6584939956665039f, 0.214355006814003f, -0.8501690030097961f, -0.25289300084114075f, -0.47893500328063965f, 0.5305259823799133f, -0.07006630301475525f, -0.9887290000915527f, -0.30306100845336914f, 0.150845006108284f, 0.8299149870872498f, 0.47634899616241455f, 0.4065369963645935f, -0.3553430140018463f, 0.7571449875831604f, -0.356361985206604f, 0.8004819750785828f, -0.7138609886169434f, 0.21048299968242645f, -0.6343029737472534f, 0.7182360291481018f, -0.7520380020141602f, 0.45754700899124146f, -0.5507689714431763f, -0.551177978515625f, 0.4467659890651703f, -0.22746199369430542f, 0.21634800732135773f, -0.8528059720993042f, -0.3514859974384308f, 0.5590599775314331f, -0.6684929728507996f, -0.3034929931163788f, -0.3637630045413971f, -0.16283699870109558f, 0.07010120153427124f, 0.7560970187187195f, -0.14226900041103363f, 0.3297240138053894f, -0.6563169956207275f, -0.9980859756469727f, -0.6529489755630493f, -0.4031600058078766f, -0.8936820030212402f, 0.43274399638175964f, 0.6123620271682739f, -0.8695880174636841f, -0.7132700085639954f, -0.39809200167655945f, -0.04235589876770973f, 0.4365760087966919f, -0.9252719879150391f, 0.1765490025281906f, 0.8229039907455444f, 0.0968329980969429f, -0.29680201411247253f, -0.4271950125694275f, 0.0316540002822876f, -0.25447899103164673f, 0.2449049949645996f, 0.09482540190219879f, 0.6437690258026123f, -0.9039099812507629f, 0.3526650071144104f, -0.9011790156364441f, 0.2661589980125427f, -0.96806800365448f, -0.615401029586792f, -0.38897499442100525f, 0.9390519857406616f, -0.11628899723291397f, 0.10752300173044205f, -0.058271098881959915f, 0.4351719915866852f, 0.33467501401901245f, 0.4597109854221344f, 0.7174360156059265f, 0.49662700295448303f, -0.6801750063896179f, -0.4150660037994385f, 0.33984801173210144f, 0.5060039758682251f, -0.3378080129623413f, -0.10721799731254578f, -0.1724960058927536f, 0.8706380128860474f, 0.9318720102310181f, -0.9538840055465698f, 0.9030420184135437f, 0.7600780129432678f, 0.20972700417041779f, -0.28538399934768677f, -0.45513999462127686f, 0.11319400370121002f, 0.07566110044717789f, 0.09244350343942642f, -0.47286298871040344f, 0.9606090188026428f, -0.16038499772548676f, -0.8394449949264526f, 0.45709699392318726f, 0.1633480042219162f, 0.3448669910430908f, -0.13161900639533997f, 0.6887149810791016f, -0.5408269762992859f, 0.5712590217590332f, -0.9558699727058411f, 0.506164014339447f, -0.1558389961719513f, 0.07896210253238678f, 0.756771981716156f, -0.6620690226554871f, 0.24290800094604492f, 0.4608210027217865f, 0.17787200212478638f, -0.2898389995098114f, -0.6406030058860779f, 0.702597975730896f, -0.5064060091972351f, -0.568261981010437f, -0.07137160003185272f, 0.4137920141220093f, 0.15967300534248352f, -0.3052079975605011f, 0.13381600379943848f, -0.16025400161743164f, 0.787322998046875f, -0.7532439827919006f, 0.600721001625061f, 0.2631860077381134f, -0.16238699853420258f, 0.4779619872570038f, -0.7029510140419006f, -0.7310360074043274f, -0.9394810199737549f, -0.5245190262794495f, 0.9340720176696777f, -0.5116369724273682f, -0.5034989714622498f, 0.10623600333929062f, -0.3236840069293976f, 0.5344439744949341f, -0.8437449932098389f, 0.36417099833488464f, 0.03703580051660538f, -0.16880099475383759f, -0.4045589864253998f, -0.8141779899597168f, 0.9174500107765198f, -0.3342759907245636f, 0.6692500114440918f, -0.8012009859085083f, 0.15651099383831024f, -0.4279490113258362f, 0.3791530132293701f, 0.8185970187187195f, -0.6499019861221313f, 0.4270870089530945f, -0.586014986038208f, -0.5597890019416809f, -0.8339229822158813f, 0.0892409011721611f, -0.6212509870529175f, 0.2138260006904602f, 0.46550899744033813f, 0.47040000557899475f, 0.38026100397109985f, 0.4130670130252838f, 0.1808219999074936f, 0.17286600172519684f, 0.5961400270462036f, 0.8255749940872192f, 0.6629160046577454f, -0.704380989074707f, -0.29763099551200867f, 0.6977779865264893f}}},
10462 // int -> BOOL8 map
10463 .bool8Operands = {},
10464 // int -> QUANT8_SYMM_PER_CHANNEL map
10465 .quant8ChannelOperands = {},
10466 // int -> QUANT16_ASYMM map
10467 .quant16AsymmOperands = {},
10468 // int -> QUANT8_SYMM map
10469 .quant8SymmOperands = {},
10470 },
10471 //Output(s)
10472 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10473 // int -> Dimensions map
10474 .operandDimensions = {{0, {1, 8, 8, 1}}},
10475 // int -> FLOAT32 map
10476 .float32Operands = {},
10477 // int -> INT32 map
10478 .int32Operands = {},
10479 // int -> QUANT8_ASYMM map
10480 .quant8AsymmOperands = {},
10481 // int -> QUANT16_SYMM map
10482 .quant16SymmOperands = {},
10483 // int -> FLOAT16 map
10484 .float16Operands = {{0, {1.8528399467468262f, -0.03936560079455376f, -0.1273529976606369f, 1.431149959564209f, -0.302293986082077f, -1.0401999950408936f, 0.6550229787826538f, -0.5876139998435974f, 1.7200299501419067f, 1.5581599473953247f, 0.6675459742546082f, 2.2366299629211426f, 0.06615159660577774f, 0.29025399684906006f, 0.770222008228302f, -0.34635698795318604f, -1.581969976425171f, -0.8505949974060059f, -0.48422399163246155f, 0.9499670267105103f, -0.5772629976272583f, -0.8719490170478821f, 2.341320037841797f, -0.1045060008764267f, -0.1359650045633316f, -0.985713005065918f, 0.8151469826698303f, 1.0311399698257446f, -1.4191499948501587f, -0.515533983707428f, -0.37363898754119873f, 1.420259952545166f, -1.5060399770736694f, 0.6731129884719849f, 3.061389923095703f, -0.38857799768447876f, -1.7670700550079346f, -0.3156670033931732f, -1.0381499528884888f, -0.34343498945236206f, 0.4327870011329651f, -1.4164299964904785f, 1.1294399499893188f, -0.17580600082874298f, -0.8464149832725525f, 1.4009499549865723f, 0.7083200216293335f, -1.467170000076294f, 2.195620059967041f, -2.6126599311828613f, -0.7053830027580261f, 1.261240005493164f, 1.4654500484466553f, -2.357609987258911f, 2.0449399948120117f, 1.2374099493026733f, -0.5274019837379456f, -0.3995400071144104f, -0.01286229956895113f, 1.364400029182434f, 0.9857550263404846f, -0.7181180119514465f, -0.10080000013113022f, 1.2432700395584106f}}},
10485 // int -> BOOL8 map
10486 .bool8Operands = {},
10487 // int -> QUANT8_SYMM_PER_CHANNEL map
10488 .quant8ChannelOperands = {},
10489 // int -> QUANT16_ASYMM map
10490 .quant16AsymmOperands = {},
10491 // int -> QUANT8_SYMM map
10492 .quant8SymmOperands = {},
10493 }
10494 },
10495 }, // End of an example
10496 // Begin of an example
10497 {
10498 .operands = {
10499 //Input(s)
10500 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10501 // int -> Dimensions map
10502 .operandDimensions = {{0, {1, 8, 8, 3}}},
10503 // int -> FLOAT32 map
10504 .float32Operands = {},
10505 // int -> INT32 map
10506 .int32Operands = {},
10507 // int -> QUANT8_ASYMM map
10508 .quant8AsymmOperands = {},
10509 // int -> QUANT16_SYMM map
10510 .quant16SymmOperands = {},
10511 // int -> FLOAT16 map
10512 .float16Operands = {{0, {-0.29533499479293823f, -0.0038760099560022354f, -0.5522509813308716f, 0.16608400642871857f, -0.28481999039649963f, -0.15214300155639648f, -0.719884991645813f, -0.8693860173225403f, -0.7455980181694031f, 0.823947012424469f, 0.4731830060482025f, -0.33133700489997864f, 0.18763099610805511f, 0.04265709966421127f, -0.8268970251083374f, -0.7550849914550781f, -0.4724529981613159f, -0.023365600034594536f, 0.04834359884262085f, 0.9334179759025574f, -0.961974024772644f, 0.012578300200402737f, 0.21974200010299683f, 0.34260401129722595f, -0.1516599953174591f, 0.09349049627780914f, 0.7832210063934326f, 0.12966400384902954f, 0.8388440012931824f, -0.2713879942893982f, 0.9245190024375916f, 0.3428429961204529f, 0.2744179964065552f, 0.3508169949054718f, 0.8416380286216736f, -0.5439929962158203f, -0.002833950100466609f, -0.12846699357032776f, -0.6829429864883423f, -0.31911700963974f, 0.846340000629425f, 0.2830030024051666f, 0.32864999771118164f, 0.029375499114394188f, -0.03356960043311119f, 0.5912659764289856f, -0.0743476003408432f, -0.7412710189819336f, 0.4620560109615326f, -0.5836250185966492f, -0.5901830196380615f, 0.6233999729156494f, 0.535269021987915f, -0.6708179712295532f, -0.9556419849395752f, -0.7701730132102966f, 0.4799860119819641f, 0.664376974105835f, 0.3994449973106384f, -0.9688739776611328f, -0.2762629985809326f, -0.901951014995575f, 0.5441039800643921f, -0.9589809775352478f, 0.4826579988002777f, -0.8072839975357056f, 0.30536898970603943f, -0.9478179812431335f, 0.8274980187416077f, -0.38288700580596924f, -0.805741012096405f, -0.7966780066490173f, -0.2998040020465851f, -0.22982800006866455f, 0.8187829852104187f, -0.10305500030517578f, -0.4556800127029419f, -0.22782699763774872f, 0.5437430143356323f, -0.9607300162315369f, 0.9467470049858093f, -0.8571820259094238f, -0.9642599821090698f, -0.2924109995365143f, -0.7156140208244324f, 0.7652779817581177f, -0.47504299879074097f, -0.590142011642456f, -0.2385070025920868f, 0.6730020046234131f, -0.4733569920063019f, -0.31962600350379944f, 0.9360139966011047f, 0.48660698533058167f, 0.580843985080719f, 0.42535200715065f, -0.8009939789772034f, 0.2907629907131195f, -0.4949530065059662f, -0.44116199016571045f, 0.7186769843101501f, -0.8284270167350769f, 0.9696499705314636f, 7.536369957961142e-05f, -0.6999729871749878f, -0.526885986328125f, -0.3526819944381714f, 0.7994660139083862f, 0.33278900384902954f, 0.7233890295028687f, 0.40765899419784546f, -0.9340839982032776f, -0.2847050130367279f, 0.9614840149879456f, -0.7003949880599976f, -0.9858080148696899f, -0.5953419804573059f, -0.6917210221290588f, 0.4944800138473511f, -0.08426489681005478f, 0.03909660130739212f, 0.29893800616264343f, -0.12809400260448456f, -0.9715800285339355f, 0.8639299869537354f, 0.27060601115226746f, -0.46898600459098816f, -0.25660499930381775f, 0.4721499979496002f, -0.2731170058250427f, -0.5903429985046387f, -0.8265290260314941f, -0.7253810167312622f, -0.19482100009918213f, -0.2596609890460968f, -0.09492070227861404f, -0.1803019940853119f, 0.04468340054154396f, -0.22213299572467804f, -0.40393000841140747f, 0.295771986246109f, -0.9294899702072144f, 0.5800790190696716f, -0.169855996966362f, 0.33031100034713745f, 0.017355099320411682f, -0.6358230113983154f, 0.4759419858455658f, 0.9071750044822693f, 0.2427770048379898f, -0.5122079849243164f, 0.36246299743652344f, 0.04962889850139618f, 0.6517099738121033f, 0.9900569915771484f, 0.690733015537262f, -0.4690130054950714f, -0.10131099820137024f, -0.6837199926376343f, -0.15784099698066711f, -0.677711009979248f, -0.7082239985466003f, -0.6594370007514954f, -0.40760698914527893f, 0.677033007144928f, 0.8903200030326843f, 0.22830699384212494f, -0.7495139837265015f, 0.772957980632782f, 0.054701000452041626f, 0.551705002784729f, 0.9170519709587097f, -0.8950219750404358f, -0.7023969888687134f, 0.484142005443573f, 0.10864800214767456f, 0.8333470225334167f, 0.47887200117111206f, -0.984112024307251f, 0.3871760070323944f, -0.732990026473999f, 0.7526000142097473f, 0.44331198930740356f, -0.09878560155630112f, 0.12541499733924866f, 0.10875999927520752f, -0.49810799956321716f, 0.43209001421928406f, 0.34460899233818054f, 0.928941011428833f, -0.130731999874115f, -0.056916698813438416f}}},
10513 // int -> BOOL8 map
10514 .bool8Operands = {},
10515 // int -> QUANT8_SYMM_PER_CHANNEL map
10516 .quant8ChannelOperands = {},
10517 // int -> QUANT16_ASYMM map
10518 .quant16AsymmOperands = {},
10519 // int -> QUANT8_SYMM map
10520 .quant8SymmOperands = {},
10521 },
10522 //Output(s)
10523 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10524 // int -> Dimensions map
10525 .operandDimensions = {{0, {1, 8, 8, 1}}},
10526 // int -> FLOAT32 map
10527 .float32Operands = {},
10528 // int -> INT32 map
10529 .int32Operands = {},
10530 // int -> QUANT8_ASYMM map
10531 .quant8AsymmOperands = {},
10532 // int -> QUANT16_SYMM map
10533 .quant16SymmOperands = {},
10534 // int -> FLOAT16 map
10535 .float16Operands = {{0, {-0.0006142780184745789f, -1.2122100591659546f, 0.4438610076904297f, 0.10211700201034546f, -2.527139902114868f, 1.4748899936676025f, 0.1734739989042282f, -0.23757700622081757f, 1.287350058555603f, 1.9131499528884888f, 2.5173399448394775f, 0.3758409917354584f, 0.6375629901885986f, 2.6530001163482666f, 2.7295899391174316f, -1.6270999908447266f, 1.1738899946212769f, -2.121190071105957f, 2.914170026779175f, -2.242460012435913f, 0.049704499542713165f, -0.12710699439048767f, -0.14447300136089325f, -0.13376200199127197f, -0.39328399300575256f, -2.0234599113464355f, -0.23917800188064575f, -0.24650800228118896f, 1.2927700281143188f, 1.3296300172805786f, 0.1175210028886795f, 1.2237199544906616f, 0.06657130271196365f, 1.0943800210952759f, -1.3142600059509277f, 2.52593994140625f, -0.9692109823226929f, 0.5154780149459839f, -1.6092599630355835f, -0.8389049768447876f, 0.1352110058069229f, 0.7864149808883667f, -1.14382004737854f, -0.7391020059585571f, -1.0173100233078003f, 0.2816149890422821f, 2.363110065460205f, 0.8918229937553406f, 1.9387199878692627f, -0.15049099922180176f, 3.452169895172119f, 2.2821900844573975f, 1.1828199625015259f, -2.2508599758148193f, 3.054680109024048f, 0.16622799634933472f, 0.43455401062965393f, -2.5752899646759033f, -0.9586619734764099f, -2.2397799491882324f, 2.667759895324707f, 0.5426009893417358f, 1.7610700130462646f, -1.081339955329895f}}},
10536 // int -> BOOL8 map
10537 .bool8Operands = {},
10538 // int -> QUANT8_SYMM_PER_CHANNEL map
10539 .quant8ChannelOperands = {},
10540 // int -> QUANT16_ASYMM map
10541 .quant16AsymmOperands = {},
10542 // int -> QUANT8_SYMM map
10543 .quant8SymmOperands = {},
10544 }
10545 },
10546 }, // End of an example
10547 };
10548 return examples_1_H3_W2_SAME_dynamic_output_shape_nhwc_float16;
10549 };
10550
get_examples_1_H3_W2_SAME_dynamic_output_shape_nchw()10551 std::vector<MixedTypedExample>& get_examples_1_H3_W2_SAME_dynamic_output_shape_nchw() {
10552 static std::vector<MixedTypedExample> examples_1_H3_W2_SAME_dynamic_output_shape_nchw = {
10553 // Begin of an example
10554 {
10555 .operands = {
10556 //Input(s)
10557 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10558 // int -> Dimensions map
10559 .operandDimensions = {{0, {1, 3, 8, 8}}},
10560 // int -> FLOAT32 map
10561 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
10562 // int -> INT32 map
10563 .int32Operands = {},
10564 // int -> QUANT8_ASYMM map
10565 .quant8AsymmOperands = {},
10566 // int -> QUANT16_SYMM map
10567 .quant16SymmOperands = {},
10568 // int -> FLOAT16 map
10569 .float16Operands = {},
10570 // int -> BOOL8 map
10571 .bool8Operands = {},
10572 // int -> QUANT8_SYMM_PER_CHANNEL map
10573 .quant8ChannelOperands = {},
10574 // int -> QUANT16_ASYMM map
10575 .quant16AsymmOperands = {},
10576 // int -> QUANT8_SYMM map
10577 .quant8SymmOperands = {},
10578 },
10579 //Output(s)
10580 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10581 // int -> Dimensions map
10582 .operandDimensions = {{0, {1, 1, 8, 8}}},
10583 // int -> FLOAT32 map
10584 .float32Operands = {{0, {1.85284f, -0.0393656f, -0.127353f, 1.43115f, -0.302294f, -1.0402f, 0.655023f, -0.587614f, 1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -0.346357f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.104506f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, 1.42026f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, -0.343435f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, -1.46717f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f, 1.23741f, -0.527402f, -0.39954f, -0.0128623f, 1.3644f, 0.985755f, -0.718118f, -0.1008f, 1.24327f}}},
10585 // int -> INT32 map
10586 .int32Operands = {},
10587 // int -> QUANT8_ASYMM map
10588 .quant8AsymmOperands = {},
10589 // int -> QUANT16_SYMM map
10590 .quant16SymmOperands = {},
10591 // int -> FLOAT16 map
10592 .float16Operands = {},
10593 // int -> BOOL8 map
10594 .bool8Operands = {},
10595 // int -> QUANT8_SYMM_PER_CHANNEL map
10596 .quant8ChannelOperands = {},
10597 // int -> QUANT16_ASYMM map
10598 .quant16AsymmOperands = {},
10599 // int -> QUANT8_SYMM map
10600 .quant8SymmOperands = {},
10601 }
10602 },
10603 }, // End of an example
10604 // Begin of an example
10605 {
10606 .operands = {
10607 //Input(s)
10608 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10609 // int -> Dimensions map
10610 .operandDimensions = {{0, {1, 3, 8, 8}}},
10611 // int -> FLOAT32 map
10612 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
10613 // int -> INT32 map
10614 .int32Operands = {},
10615 // int -> QUANT8_ASYMM map
10616 .quant8AsymmOperands = {},
10617 // int -> QUANT16_SYMM map
10618 .quant16SymmOperands = {},
10619 // int -> FLOAT16 map
10620 .float16Operands = {},
10621 // int -> BOOL8 map
10622 .bool8Operands = {},
10623 // int -> QUANT8_SYMM_PER_CHANNEL map
10624 .quant8ChannelOperands = {},
10625 // int -> QUANT16_ASYMM map
10626 .quant16AsymmOperands = {},
10627 // int -> QUANT8_SYMM map
10628 .quant8SymmOperands = {},
10629 },
10630 //Output(s)
10631 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10632 // int -> Dimensions map
10633 .operandDimensions = {{0, {1, 1, 8, 8}}},
10634 // int -> FLOAT32 map
10635 .float32Operands = {{0, {-0.000614278f, -1.21221f, 0.443861f, 0.102117f, -2.52714f, 1.47489f, 0.173474f, -0.237577f, 1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, -1.6271f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.133762f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 1.22372f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, -0.838905f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 0.891823f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f, 0.166228f, 0.434554f, -2.57529f, -0.958662f, -2.23978f, 2.66776f, 0.542601f, 1.76107f, -1.08134f}}},
10636 // int -> INT32 map
10637 .int32Operands = {},
10638 // int -> QUANT8_ASYMM map
10639 .quant8AsymmOperands = {},
10640 // int -> QUANT16_SYMM map
10641 .quant16SymmOperands = {},
10642 // int -> FLOAT16 map
10643 .float16Operands = {},
10644 // int -> BOOL8 map
10645 .bool8Operands = {},
10646 // int -> QUANT8_SYMM_PER_CHANNEL map
10647 .quant8ChannelOperands = {},
10648 // int -> QUANT16_ASYMM map
10649 .quant16AsymmOperands = {},
10650 // int -> QUANT8_SYMM map
10651 .quant8SymmOperands = {},
10652 }
10653 },
10654 }, // End of an example
10655 };
10656 return examples_1_H3_W2_SAME_dynamic_output_shape_nchw;
10657 };
10658
get_examples_1_H3_W2_SAME_dynamic_output_shape_nchw_relaxed()10659 std::vector<MixedTypedExample>& get_examples_1_H3_W2_SAME_dynamic_output_shape_nchw_relaxed() {
10660 static std::vector<MixedTypedExample> examples_1_H3_W2_SAME_dynamic_output_shape_nchw_relaxed = {
10661 // Begin of an example
10662 {
10663 .operands = {
10664 //Input(s)
10665 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10666 // int -> Dimensions map
10667 .operandDimensions = {{0, {1, 3, 8, 8}}},
10668 // int -> FLOAT32 map
10669 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
10670 // int -> INT32 map
10671 .int32Operands = {},
10672 // int -> QUANT8_ASYMM map
10673 .quant8AsymmOperands = {},
10674 // int -> QUANT16_SYMM map
10675 .quant16SymmOperands = {},
10676 // int -> FLOAT16 map
10677 .float16Operands = {},
10678 // int -> BOOL8 map
10679 .bool8Operands = {},
10680 // int -> QUANT8_SYMM_PER_CHANNEL map
10681 .quant8ChannelOperands = {},
10682 // int -> QUANT16_ASYMM map
10683 .quant16AsymmOperands = {},
10684 // int -> QUANT8_SYMM map
10685 .quant8SymmOperands = {},
10686 },
10687 //Output(s)
10688 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10689 // int -> Dimensions map
10690 .operandDimensions = {{0, {1, 1, 8, 8}}},
10691 // int -> FLOAT32 map
10692 .float32Operands = {{0, {1.85284f, -0.0393656f, -0.127353f, 1.43115f, -0.302294f, -1.0402f, 0.655023f, -0.587614f, 1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -0.346357f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.104506f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, 1.42026f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, -0.343435f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, -1.46717f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f, 1.23741f, -0.527402f, -0.39954f, -0.0128623f, 1.3644f, 0.985755f, -0.718118f, -0.1008f, 1.24327f}}},
10693 // int -> INT32 map
10694 .int32Operands = {},
10695 // int -> QUANT8_ASYMM map
10696 .quant8AsymmOperands = {},
10697 // int -> QUANT16_SYMM map
10698 .quant16SymmOperands = {},
10699 // int -> FLOAT16 map
10700 .float16Operands = {},
10701 // int -> BOOL8 map
10702 .bool8Operands = {},
10703 // int -> QUANT8_SYMM_PER_CHANNEL map
10704 .quant8ChannelOperands = {},
10705 // int -> QUANT16_ASYMM map
10706 .quant16AsymmOperands = {},
10707 // int -> QUANT8_SYMM map
10708 .quant8SymmOperands = {},
10709 }
10710 },
10711 }, // End of an example
10712 // Begin of an example
10713 {
10714 .operands = {
10715 //Input(s)
10716 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10717 // int -> Dimensions map
10718 .operandDimensions = {{0, {1, 3, 8, 8}}},
10719 // int -> FLOAT32 map
10720 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
10721 // int -> INT32 map
10722 .int32Operands = {},
10723 // int -> QUANT8_ASYMM map
10724 .quant8AsymmOperands = {},
10725 // int -> QUANT16_SYMM map
10726 .quant16SymmOperands = {},
10727 // int -> FLOAT16 map
10728 .float16Operands = {},
10729 // int -> BOOL8 map
10730 .bool8Operands = {},
10731 // int -> QUANT8_SYMM_PER_CHANNEL map
10732 .quant8ChannelOperands = {},
10733 // int -> QUANT16_ASYMM map
10734 .quant16AsymmOperands = {},
10735 // int -> QUANT8_SYMM map
10736 .quant8SymmOperands = {},
10737 },
10738 //Output(s)
10739 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10740 // int -> Dimensions map
10741 .operandDimensions = {{0, {1, 1, 8, 8}}},
10742 // int -> FLOAT32 map
10743 .float32Operands = {{0, {-0.000614278f, -1.21221f, 0.443861f, 0.102117f, -2.52714f, 1.47489f, 0.173474f, -0.237577f, 1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, -1.6271f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.133762f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 1.22372f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, -0.838905f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 0.891823f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f, 0.166228f, 0.434554f, -2.57529f, -0.958662f, -2.23978f, 2.66776f, 0.542601f, 1.76107f, -1.08134f}}},
10744 // int -> INT32 map
10745 .int32Operands = {},
10746 // int -> QUANT8_ASYMM map
10747 .quant8AsymmOperands = {},
10748 // int -> QUANT16_SYMM map
10749 .quant16SymmOperands = {},
10750 // int -> FLOAT16 map
10751 .float16Operands = {},
10752 // int -> BOOL8 map
10753 .bool8Operands = {},
10754 // int -> QUANT8_SYMM_PER_CHANNEL map
10755 .quant8ChannelOperands = {},
10756 // int -> QUANT16_ASYMM map
10757 .quant16AsymmOperands = {},
10758 // int -> QUANT8_SYMM map
10759 .quant8SymmOperands = {},
10760 }
10761 },
10762 }, // End of an example
10763 };
10764 return examples_1_H3_W2_SAME_dynamic_output_shape_nchw_relaxed;
10765 };
10766
get_examples_1_H3_W2_SAME_dynamic_output_shape_nchw_float16()10767 std::vector<MixedTypedExample>& get_examples_1_H3_W2_SAME_dynamic_output_shape_nchw_float16() {
10768 static std::vector<MixedTypedExample> examples_1_H3_W2_SAME_dynamic_output_shape_nchw_float16 = {
10769 // Begin of an example
10770 {
10771 .operands = {
10772 //Input(s)
10773 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10774 // int -> Dimensions map
10775 .operandDimensions = {{0, {1, 3, 8, 8}}},
10776 // int -> FLOAT32 map
10777 .float32Operands = {},
10778 // int -> INT32 map
10779 .int32Operands = {},
10780 // int -> QUANT8_ASYMM map
10781 .quant8AsymmOperands = {},
10782 // int -> QUANT16_SYMM map
10783 .quant16SymmOperands = {},
10784 // int -> FLOAT16 map
10785 .float16Operands = {{0, {-0.8699309825897217f, 0.153671994805336f, -0.13493099808692932f, -0.2591570019721985f, 0.7655590176582336f, 0.6584939956665039f, -0.25289300084114075f, -0.07006630301475525f, 0.150845006108284f, 0.4065369963645935f, -0.356361985206604f, 0.21048299968242645f, -0.7520380020141602f, -0.551177978515625f, 0.21634800732135773f, 0.5590599775314331f, -0.3637630045413971f, 0.7560970187187195f, -0.6563169956207275f, -0.4031600058078766f, 0.6123620271682739f, -0.39809200167655945f, -0.9252719879150391f, 0.0968329980969429f, 0.0316540002822876f, 0.09482540190219879f, 0.3526650071144104f, -0.96806800365448f, 0.9390519857406616f, -0.058271098881959915f, 0.4597109854221344f, -0.6801750063896179f, 0.5060039758682251f, -0.1724960058927536f, -0.9538840055465698f, 0.20972700417041779f, 0.11319400370121002f, -0.47286298871040344f, -0.8394449949264526f, 0.3448669910430908f, -0.5408269762992859f, 0.506164014339447f, 0.756771981716156f, 0.4608210027217865f, -0.6406030058860779f, -0.568261981010437f, 0.15967300534248352f, -0.16025400161743164f, 0.600721001625061f, 0.4779619872570038f, -0.9394810199737549f, -0.5116369724273682f, -0.3236840069293976f, 0.36417099833488464f, -0.4045589864253998f, -0.3342759907245636f, 0.15651099383831024f, 0.8185970187187195f, -0.586014986038208f, 0.0892409011721611f, 0.46550899744033813f, 0.4130670130252838f, 0.5961400270462036f, -0.704380989074707f, 0.6446279883384705f, 0.8685619831085205f, -0.24756500124931335f, -0.2842960059642792f, 0.41986000537872314f, 0.214355006814003f, -0.47893500328063965f, -0.9887290000915527f, 0.8299149870872498f, -0.3553430140018463f, 0.8004819750785828f, -0.6343029737472534f, 0.45754700899124146f, 0.4467659890651703f, -0.8528059720993042f, -0.6684929728507996f, -0.16283699870109558f, -0.14226900041103363f, -0.9980859756469727f, -0.8936820030212402f, -0.8695880174636841f, -0.04235589876770973f, 0.1765490025281906f, -0.29680201411247253f, -0.25447899103164673f, 0.6437690258026123f, -0.9011790156364441f, -0.615401029586792f, -0.11628899723291397f, 0.4351719915866852f, 0.7174360156059265f, -0.4150660037994385f, -0.3378080129623413f, 0.8706380128860474f, 0.9030420184135437f, -0.28538399934768677f, 0.07566110044717789f, 0.9606090188026428f, 0.45709699392318726f, -0.13161900639533997f, 0.5712590217590332f, -0.1558389961719513f, -0.6620690226554871f, 0.17787200212478638f, 0.702597975730896f, -0.07137160003185272f, -0.3052079975605011f, 0.787322998046875f, 0.2631860077381134f, -0.7029510140419006f, -0.5245190262794495f, -0.5034989714622498f, 0.5344439744949341f, 0.03703580051660538f, -0.8141779899597168f, 0.6692500114440918f, -0.4279490113258362f, -0.6499019861221313f, -0.5597890019416809f, -0.6212509870529175f, 0.47040000557899475f, 0.1808219999074936f, 0.8255749940872192f, -0.29763099551200867f, -0.9183930158615112f, -0.3581770062446594f, 0.2217400074005127f, -0.5380650162696838f, -0.556240975856781f, -0.8501690030097961f, 0.5305259823799133f, -0.30306100845336914f, 0.47634899616241455f, 0.7571449875831604f, -0.7138609886169434f, 0.7182360291481018f, -0.5507689714431763f, -0.22746199369430542f, -0.3514859974384308f, -0.3034929931163788f, 0.07010120153427124f, 0.3297240138053894f, -0.6529489755630493f, 0.43274399638175964f, -0.7132700085639954f, 0.4365760087966919f, 0.8229039907455444f, -0.4271950125694275f, 0.2449049949645996f, -0.9039099812507629f, 0.2661589980125427f, -0.38897499442100525f, 0.10752300173044205f, 0.33467501401901245f, 0.49662700295448303f, 0.33984801173210144f, -0.10721799731254578f, 0.9318720102310181f, 0.7600780129432678f, -0.45513999462127686f, 0.09244350343942642f, -0.16038499772548676f, 0.1633480042219162f, 0.6887149810791016f, -0.9558699727058411f, 0.07896210253238678f, 0.24290800094604492f, -0.2898389995098114f, -0.5064060091972351f, 0.4137920141220093f, 0.13381600379943848f, -0.7532439827919006f, -0.16238699853420258f, -0.7310360074043274f, 0.9340720176696777f, 0.10623600333929062f, -0.8437449932098389f, -0.16880099475383759f, 0.9174500107765198f, -0.8012009859085083f, 0.3791530132293701f, 0.4270870089530945f, -0.8339229822158813f, 0.2138260006904602f, 0.38026100397109985f, 0.17286600172519684f, 0.6629160046577454f, 0.6977779865264893f}}},
10786 // int -> BOOL8 map
10787 .bool8Operands = {},
10788 // int -> QUANT8_SYMM_PER_CHANNEL map
10789 .quant8ChannelOperands = {},
10790 // int -> QUANT16_ASYMM map
10791 .quant16AsymmOperands = {},
10792 // int -> QUANT8_SYMM map
10793 .quant8SymmOperands = {},
10794 },
10795 //Output(s)
10796 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10797 // int -> Dimensions map
10798 .operandDimensions = {{0, {1, 1, 8, 8}}},
10799 // int -> FLOAT32 map
10800 .float32Operands = {},
10801 // int -> INT32 map
10802 .int32Operands = {},
10803 // int -> QUANT8_ASYMM map
10804 .quant8AsymmOperands = {},
10805 // int -> QUANT16_SYMM map
10806 .quant16SymmOperands = {},
10807 // int -> FLOAT16 map
10808 .float16Operands = {{0, {1.8528399467468262f, -0.03936560079455376f, -0.1273529976606369f, 1.431149959564209f, -0.302293986082077f, -1.0401999950408936f, 0.6550229787826538f, -0.5876139998435974f, 1.7200299501419067f, 1.5581599473953247f, 0.6675459742546082f, 2.2366299629211426f, 0.06615159660577774f, 0.29025399684906006f, 0.770222008228302f, -0.34635698795318604f, -1.581969976425171f, -0.8505949974060059f, -0.48422399163246155f, 0.9499670267105103f, -0.5772629976272583f, -0.8719490170478821f, 2.341320037841797f, -0.1045060008764267f, -0.1359650045633316f, -0.985713005065918f, 0.8151469826698303f, 1.0311399698257446f, -1.4191499948501587f, -0.515533983707428f, -0.37363898754119873f, 1.420259952545166f, -1.5060399770736694f, 0.6731129884719849f, 3.061389923095703f, -0.38857799768447876f, -1.7670700550079346f, -0.3156670033931732f, -1.0381499528884888f, -0.34343498945236206f, 0.4327870011329651f, -1.4164299964904785f, 1.1294399499893188f, -0.17580600082874298f, -0.8464149832725525f, 1.4009499549865723f, 0.7083200216293335f, -1.467170000076294f, 2.195620059967041f, -2.6126599311828613f, -0.7053830027580261f, 1.261240005493164f, 1.4654500484466553f, -2.357609987258911f, 2.0449399948120117f, 1.2374099493026733f, -0.5274019837379456f, -0.3995400071144104f, -0.01286229956895113f, 1.364400029182434f, 0.9857550263404846f, -0.7181180119514465f, -0.10080000013113022f, 1.2432700395584106f}}},
10809 // int -> BOOL8 map
10810 .bool8Operands = {},
10811 // int -> QUANT8_SYMM_PER_CHANNEL map
10812 .quant8ChannelOperands = {},
10813 // int -> QUANT16_ASYMM map
10814 .quant16AsymmOperands = {},
10815 // int -> QUANT8_SYMM map
10816 .quant8SymmOperands = {},
10817 }
10818 },
10819 }, // End of an example
10820 // Begin of an example
10821 {
10822 .operands = {
10823 //Input(s)
10824 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10825 // int -> Dimensions map
10826 .operandDimensions = {{0, {1, 3, 8, 8}}},
10827 // int -> FLOAT32 map
10828 .float32Operands = {},
10829 // int -> INT32 map
10830 .int32Operands = {},
10831 // int -> QUANT8_ASYMM map
10832 .quant8AsymmOperands = {},
10833 // int -> QUANT16_SYMM map
10834 .quant16SymmOperands = {},
10835 // int -> FLOAT16 map
10836 .float16Operands = {{0, {-0.29533499479293823f, 0.16608400642871857f, -0.719884991645813f, 0.823947012424469f, 0.18763099610805511f, -0.7550849914550781f, 0.04834359884262085f, 0.012578300200402737f, -0.1516599953174591f, 0.12966400384902954f, 0.9245190024375916f, 0.3508169949054718f, -0.002833950100466609f, -0.31911700963974f, 0.32864999771118164f, 0.5912659764289856f, 0.4620560109615326f, 0.6233999729156494f, -0.9556419849395752f, 0.664376974105835f, -0.2762629985809326f, -0.9589809775352478f, 0.30536898970603943f, -0.38288700580596924f, -0.2998040020465851f, -0.10305500030517578f, 0.5437430143356323f, -0.8571820259094238f, -0.7156140208244324f, -0.590142011642456f, -0.4733569920063019f, 0.48660698533058167f, -0.8009939789772034f, -0.44116199016571045f, 0.9696499705314636f, -0.526885986328125f, 0.33278900384902954f, -0.9340839982032776f, -0.7003949880599976f, -0.6917210221290588f, 0.03909660130739212f, -0.9715800285339355f, -0.46898600459098816f, -0.2731170058250427f, -0.7253810167312622f, -0.09492070227861404f, -0.22213299572467804f, -0.9294899702072144f, 0.33031100034713745f, 0.4759419858455658f, -0.5122079849243164f, 0.6517099738121033f, -0.4690130054950714f, -0.15784099698066711f, -0.6594370007514954f, 0.8903200030326843f, 0.772957980632782f, 0.9170519709587097f, 0.484142005443573f, 0.47887200117111206f, -0.732990026473999f, -0.09878560155630112f, -0.49810799956321716f, 0.928941011428833f, -0.0038760099560022354f, -0.28481999039649963f, -0.8693860173225403f, 0.4731830060482025f, 0.04265709966421127f, -0.4724529981613159f, 0.9334179759025574f, 0.21974200010299683f, 0.09349049627780914f, 0.8388440012931824f, 0.3428429961204529f, 0.8416380286216736f, -0.12846699357032776f, 0.846340000629425f, 0.029375499114394188f, -0.0743476003408432f, -0.5836250185966492f, 0.535269021987915f, -0.7701730132102966f, 0.3994449973106384f, -0.901951014995575f, 0.4826579988002777f, -0.9478179812431335f, -0.805741012096405f, -0.22982800006866455f, -0.4556800127029419f, -0.9607300162315369f, -0.9642599821090698f, 0.7652779817581177f, -0.2385070025920868f, -0.31962600350379944f, 0.580843985080719f, 0.2907629907131195f, 0.7186769843101501f, 7.536369957961142e-05f, -0.3526819944381714f, 0.7233890295028687f, -0.2847050130367279f, -0.9858080148696899f, 0.4944800138473511f, 0.29893800616264343f, 0.8639299869537354f, -0.25660499930381775f, -0.5903429985046387f, -0.19482100009918213f, -0.1803019940853119f, -0.40393000841140747f, 0.5800790190696716f, 0.017355099320411682f, 0.9071750044822693f, 0.36246299743652344f, 0.9900569915771484f, -0.10131099820137024f, -0.677711009979248f, -0.40760698914527893f, 0.22830699384212494f, 0.054701000452041626f, -0.8950219750404358f, 0.10864800214767456f, -0.984112024307251f, 0.7526000142097473f, 0.12541499733924866f, 0.43209001421928406f, -0.130731999874115f, -0.5522509813308716f, -0.15214300155639648f, -0.7455980181694031f, -0.33133700489997864f, -0.8268970251083374f, -0.023365600034594536f, -0.961974024772644f, 0.34260401129722595f, 0.7832210063934326f, -0.2713879942893982f, 0.2744179964065552f, -0.5439929962158203f, -0.6829429864883423f, 0.2830030024051666f, -0.03356960043311119f, -0.7412710189819336f, -0.5901830196380615f, -0.6708179712295532f, 0.4799860119819641f, -0.9688739776611328f, 0.5441039800643921f, -0.8072839975357056f, 0.8274980187416077f, -0.7966780066490173f, 0.8187829852104187f, -0.22782699763774872f, 0.9467470049858093f, -0.2924109995365143f, -0.47504299879074097f, 0.6730020046234131f, 0.9360139966011047f, 0.42535200715065f, -0.4949530065059662f, -0.8284270167350769f, -0.6999729871749878f, 0.7994660139083862f, 0.40765899419784546f, 0.9614840149879456f, -0.5953419804573059f, -0.08426489681005478f, -0.12809400260448456f, 0.27060601115226746f, 0.4721499979496002f, -0.8265290260314941f, -0.2596609890460968f, 0.04468340054154396f, 0.295771986246109f, -0.169855996966362f, -0.6358230113983154f, 0.2427770048379898f, 0.04962889850139618f, 0.690733015537262f, -0.6837199926376343f, -0.7082239985466003f, 0.677033007144928f, -0.7495139837265015f, 0.551705002784729f, -0.7023969888687134f, 0.8333470225334167f, 0.3871760070323944f, 0.44331198930740356f, 0.10875999927520752f, 0.34460899233818054f, -0.056916698813438416f}}},
10837 // int -> BOOL8 map
10838 .bool8Operands = {},
10839 // int -> QUANT8_SYMM_PER_CHANNEL map
10840 .quant8ChannelOperands = {},
10841 // int -> QUANT16_ASYMM map
10842 .quant16AsymmOperands = {},
10843 // int -> QUANT8_SYMM map
10844 .quant8SymmOperands = {},
10845 },
10846 //Output(s)
10847 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10848 // int -> Dimensions map
10849 .operandDimensions = {{0, {1, 1, 8, 8}}},
10850 // int -> FLOAT32 map
10851 .float32Operands = {},
10852 // int -> INT32 map
10853 .int32Operands = {},
10854 // int -> QUANT8_ASYMM map
10855 .quant8AsymmOperands = {},
10856 // int -> QUANT16_SYMM map
10857 .quant16SymmOperands = {},
10858 // int -> FLOAT16 map
10859 .float16Operands = {{0, {-0.0006142780184745789f, -1.2122100591659546f, 0.4438610076904297f, 0.10211700201034546f, -2.527139902114868f, 1.4748899936676025f, 0.1734739989042282f, -0.23757700622081757f, 1.287350058555603f, 1.9131499528884888f, 2.5173399448394775f, 0.3758409917354584f, 0.6375629901885986f, 2.6530001163482666f, 2.7295899391174316f, -1.6270999908447266f, 1.1738899946212769f, -2.121190071105957f, 2.914170026779175f, -2.242460012435913f, 0.049704499542713165f, -0.12710699439048767f, -0.14447300136089325f, -0.13376200199127197f, -0.39328399300575256f, -2.0234599113464355f, -0.23917800188064575f, -0.24650800228118896f, 1.2927700281143188f, 1.3296300172805786f, 0.1175210028886795f, 1.2237199544906616f, 0.06657130271196365f, 1.0943800210952759f, -1.3142600059509277f, 2.52593994140625f, -0.9692109823226929f, 0.5154780149459839f, -1.6092599630355835f, -0.8389049768447876f, 0.1352110058069229f, 0.7864149808883667f, -1.14382004737854f, -0.7391020059585571f, -1.0173100233078003f, 0.2816149890422821f, 2.363110065460205f, 0.8918229937553406f, 1.9387199878692627f, -0.15049099922180176f, 3.452169895172119f, 2.2821900844573975f, 1.1828199625015259f, -2.2508599758148193f, 3.054680109024048f, 0.16622799634933472f, 0.43455401062965393f, -2.5752899646759033f, -0.9586619734764099f, -2.2397799491882324f, 2.667759895324707f, 0.5426009893417358f, 1.7610700130462646f, -1.081339955329895f}}},
10860 // int -> BOOL8 map
10861 .bool8Operands = {},
10862 // int -> QUANT8_SYMM_PER_CHANNEL map
10863 .quant8ChannelOperands = {},
10864 // int -> QUANT16_ASYMM map
10865 .quant16AsymmOperands = {},
10866 // int -> QUANT8_SYMM map
10867 .quant8SymmOperands = {},
10868 }
10869 },
10870 }, // End of an example
10871 };
10872 return examples_1_H3_W2_SAME_dynamic_output_shape_nchw_float16;
10873 };
10874
get_examples_1_H3_W2_VALID_nhwc()10875 std::vector<MixedTypedExample>& get_examples_1_H3_W2_VALID_nhwc() {
10876 static std::vector<MixedTypedExample> examples_1_H3_W2_VALID_nhwc = {
10877 // Begin of an example
10878 {
10879 .operands = {
10880 //Input(s)
10881 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10882 // int -> Dimensions map
10883 .operandDimensions = {{0, {1, 8, 8, 3}}},
10884 // int -> FLOAT32 map
10885 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
10886 // int -> INT32 map
10887 .int32Operands = {},
10888 // int -> QUANT8_ASYMM map
10889 .quant8AsymmOperands = {},
10890 // int -> QUANT16_SYMM map
10891 .quant16SymmOperands = {},
10892 // int -> FLOAT16 map
10893 .float16Operands = {},
10894 // int -> BOOL8 map
10895 .bool8Operands = {},
10896 // int -> QUANT8_SYMM_PER_CHANNEL map
10897 .quant8ChannelOperands = {},
10898 // int -> QUANT16_ASYMM map
10899 .quant16AsymmOperands = {},
10900 // int -> QUANT8_SYMM map
10901 .quant8SymmOperands = {},
10902 },
10903 //Output(s)
10904 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10905 // int -> Dimensions map
10906 .operandDimensions = {{0, {1, 6, 7, 1}}},
10907 // int -> FLOAT32 map
10908 .float32Operands = {{0, {1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f}}},
10909 // int -> INT32 map
10910 .int32Operands = {},
10911 // int -> QUANT8_ASYMM map
10912 .quant8AsymmOperands = {},
10913 // int -> QUANT16_SYMM map
10914 .quant16SymmOperands = {},
10915 // int -> FLOAT16 map
10916 .float16Operands = {},
10917 // int -> BOOL8 map
10918 .bool8Operands = {},
10919 // int -> QUANT8_SYMM_PER_CHANNEL map
10920 .quant8ChannelOperands = {},
10921 // int -> QUANT16_ASYMM map
10922 .quant16AsymmOperands = {},
10923 // int -> QUANT8_SYMM map
10924 .quant8SymmOperands = {},
10925 }
10926 },
10927 }, // End of an example
10928 // Begin of an example
10929 {
10930 .operands = {
10931 //Input(s)
10932 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10933 // int -> Dimensions map
10934 .operandDimensions = {{0, {1, 8, 8, 3}}},
10935 // int -> FLOAT32 map
10936 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
10937 // int -> INT32 map
10938 .int32Operands = {},
10939 // int -> QUANT8_ASYMM map
10940 .quant8AsymmOperands = {},
10941 // int -> QUANT16_SYMM map
10942 .quant16SymmOperands = {},
10943 // int -> FLOAT16 map
10944 .float16Operands = {},
10945 // int -> BOOL8 map
10946 .bool8Operands = {},
10947 // int -> QUANT8_SYMM_PER_CHANNEL map
10948 .quant8ChannelOperands = {},
10949 // int -> QUANT16_ASYMM map
10950 .quant16AsymmOperands = {},
10951 // int -> QUANT8_SYMM map
10952 .quant8SymmOperands = {},
10953 },
10954 //Output(s)
10955 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10956 // int -> Dimensions map
10957 .operandDimensions = {{0, {1, 6, 7, 1}}},
10958 // int -> FLOAT32 map
10959 .float32Operands = {{0, {1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f}}},
10960 // int -> INT32 map
10961 .int32Operands = {},
10962 // int -> QUANT8_ASYMM map
10963 .quant8AsymmOperands = {},
10964 // int -> QUANT16_SYMM map
10965 .quant16SymmOperands = {},
10966 // int -> FLOAT16 map
10967 .float16Operands = {},
10968 // int -> BOOL8 map
10969 .bool8Operands = {},
10970 // int -> QUANT8_SYMM_PER_CHANNEL map
10971 .quant8ChannelOperands = {},
10972 // int -> QUANT16_ASYMM map
10973 .quant16AsymmOperands = {},
10974 // int -> QUANT8_SYMM map
10975 .quant8SymmOperands = {},
10976 }
10977 },
10978 }, // End of an example
10979 };
10980 return examples_1_H3_W2_VALID_nhwc;
10981 };
10982
get_examples_1_H3_W2_VALID_nhwc_relaxed()10983 std::vector<MixedTypedExample>& get_examples_1_H3_W2_VALID_nhwc_relaxed() {
10984 static std::vector<MixedTypedExample> examples_1_H3_W2_VALID_nhwc_relaxed = {
10985 // Begin of an example
10986 {
10987 .operands = {
10988 //Input(s)
10989 { // See tools/test_generator/include/TestHarness.h:MixedTyped
10990 // int -> Dimensions map
10991 .operandDimensions = {{0, {1, 8, 8, 3}}},
10992 // int -> FLOAT32 map
10993 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
10994 // int -> INT32 map
10995 .int32Operands = {},
10996 // int -> QUANT8_ASYMM map
10997 .quant8AsymmOperands = {},
10998 // int -> QUANT16_SYMM map
10999 .quant16SymmOperands = {},
11000 // int -> FLOAT16 map
11001 .float16Operands = {},
11002 // int -> BOOL8 map
11003 .bool8Operands = {},
11004 // int -> QUANT8_SYMM_PER_CHANNEL map
11005 .quant8ChannelOperands = {},
11006 // int -> QUANT16_ASYMM map
11007 .quant16AsymmOperands = {},
11008 // int -> QUANT8_SYMM map
11009 .quant8SymmOperands = {},
11010 },
11011 //Output(s)
11012 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11013 // int -> Dimensions map
11014 .operandDimensions = {{0, {1, 6, 7, 1}}},
11015 // int -> FLOAT32 map
11016 .float32Operands = {{0, {1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f}}},
11017 // int -> INT32 map
11018 .int32Operands = {},
11019 // int -> QUANT8_ASYMM map
11020 .quant8AsymmOperands = {},
11021 // int -> QUANT16_SYMM map
11022 .quant16SymmOperands = {},
11023 // int -> FLOAT16 map
11024 .float16Operands = {},
11025 // int -> BOOL8 map
11026 .bool8Operands = {},
11027 // int -> QUANT8_SYMM_PER_CHANNEL map
11028 .quant8ChannelOperands = {},
11029 // int -> QUANT16_ASYMM map
11030 .quant16AsymmOperands = {},
11031 // int -> QUANT8_SYMM map
11032 .quant8SymmOperands = {},
11033 }
11034 },
11035 }, // End of an example
11036 // Begin of an example
11037 {
11038 .operands = {
11039 //Input(s)
11040 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11041 // int -> Dimensions map
11042 .operandDimensions = {{0, {1, 8, 8, 3}}},
11043 // int -> FLOAT32 map
11044 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
11045 // int -> INT32 map
11046 .int32Operands = {},
11047 // int -> QUANT8_ASYMM map
11048 .quant8AsymmOperands = {},
11049 // int -> QUANT16_SYMM map
11050 .quant16SymmOperands = {},
11051 // int -> FLOAT16 map
11052 .float16Operands = {},
11053 // int -> BOOL8 map
11054 .bool8Operands = {},
11055 // int -> QUANT8_SYMM_PER_CHANNEL map
11056 .quant8ChannelOperands = {},
11057 // int -> QUANT16_ASYMM map
11058 .quant16AsymmOperands = {},
11059 // int -> QUANT8_SYMM map
11060 .quant8SymmOperands = {},
11061 },
11062 //Output(s)
11063 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11064 // int -> Dimensions map
11065 .operandDimensions = {{0, {1, 6, 7, 1}}},
11066 // int -> FLOAT32 map
11067 .float32Operands = {{0, {1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f}}},
11068 // int -> INT32 map
11069 .int32Operands = {},
11070 // int -> QUANT8_ASYMM map
11071 .quant8AsymmOperands = {},
11072 // int -> QUANT16_SYMM map
11073 .quant16SymmOperands = {},
11074 // int -> FLOAT16 map
11075 .float16Operands = {},
11076 // int -> BOOL8 map
11077 .bool8Operands = {},
11078 // int -> QUANT8_SYMM_PER_CHANNEL map
11079 .quant8ChannelOperands = {},
11080 // int -> QUANT16_ASYMM map
11081 .quant16AsymmOperands = {},
11082 // int -> QUANT8_SYMM map
11083 .quant8SymmOperands = {},
11084 }
11085 },
11086 }, // End of an example
11087 };
11088 return examples_1_H3_W2_VALID_nhwc_relaxed;
11089 };
11090
get_examples_1_H3_W2_VALID_nhwc_float16()11091 std::vector<MixedTypedExample>& get_examples_1_H3_W2_VALID_nhwc_float16() {
11092 static std::vector<MixedTypedExample> examples_1_H3_W2_VALID_nhwc_float16 = {
11093 // Begin of an example
11094 {
11095 .operands = {
11096 //Input(s)
11097 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11098 // int -> Dimensions map
11099 .operandDimensions = {{0, {1, 8, 8, 3}}},
11100 // int -> FLOAT32 map
11101 .float32Operands = {},
11102 // int -> INT32 map
11103 .int32Operands = {},
11104 // int -> QUANT8_ASYMM map
11105 .quant8AsymmOperands = {},
11106 // int -> QUANT16_SYMM map
11107 .quant16SymmOperands = {},
11108 // int -> FLOAT16 map
11109 .float16Operands = {{0, {-0.8699309825897217f, 0.6446279883384705f, -0.9183930158615112f, 0.153671994805336f, 0.8685619831085205f, -0.3581770062446594f, -0.13493099808692932f, -0.24756500124931335f, 0.2217400074005127f, -0.2591570019721985f, -0.2842960059642792f, -0.5380650162696838f, 0.7655590176582336f, 0.41986000537872314f, -0.556240975856781f, 0.6584939956665039f, 0.214355006814003f, -0.8501690030097961f, -0.25289300084114075f, -0.47893500328063965f, 0.5305259823799133f, -0.07006630301475525f, -0.9887290000915527f, -0.30306100845336914f, 0.150845006108284f, 0.8299149870872498f, 0.47634899616241455f, 0.4065369963645935f, -0.3553430140018463f, 0.7571449875831604f, -0.356361985206604f, 0.8004819750785828f, -0.7138609886169434f, 0.21048299968242645f, -0.6343029737472534f, 0.7182360291481018f, -0.7520380020141602f, 0.45754700899124146f, -0.5507689714431763f, -0.551177978515625f, 0.4467659890651703f, -0.22746199369430542f, 0.21634800732135773f, -0.8528059720993042f, -0.3514859974384308f, 0.5590599775314331f, -0.6684929728507996f, -0.3034929931163788f, -0.3637630045413971f, -0.16283699870109558f, 0.07010120153427124f, 0.7560970187187195f, -0.14226900041103363f, 0.3297240138053894f, -0.6563169956207275f, -0.9980859756469727f, -0.6529489755630493f, -0.4031600058078766f, -0.8936820030212402f, 0.43274399638175964f, 0.6123620271682739f, -0.8695880174636841f, -0.7132700085639954f, -0.39809200167655945f, -0.04235589876770973f, 0.4365760087966919f, -0.9252719879150391f, 0.1765490025281906f, 0.8229039907455444f, 0.0968329980969429f, -0.29680201411247253f, -0.4271950125694275f, 0.0316540002822876f, -0.25447899103164673f, 0.2449049949645996f, 0.09482540190219879f, 0.6437690258026123f, -0.9039099812507629f, 0.3526650071144104f, -0.9011790156364441f, 0.2661589980125427f, -0.96806800365448f, -0.615401029586792f, -0.38897499442100525f, 0.9390519857406616f, -0.11628899723291397f, 0.10752300173044205f, -0.058271098881959915f, 0.4351719915866852f, 0.33467501401901245f, 0.4597109854221344f, 0.7174360156059265f, 0.49662700295448303f, -0.6801750063896179f, -0.4150660037994385f, 0.33984801173210144f, 0.5060039758682251f, -0.3378080129623413f, -0.10721799731254578f, -0.1724960058927536f, 0.8706380128860474f, 0.9318720102310181f, -0.9538840055465698f, 0.9030420184135437f, 0.7600780129432678f, 0.20972700417041779f, -0.28538399934768677f, -0.45513999462127686f, 0.11319400370121002f, 0.07566110044717789f, 0.09244350343942642f, -0.47286298871040344f, 0.9606090188026428f, -0.16038499772548676f, -0.8394449949264526f, 0.45709699392318726f, 0.1633480042219162f, 0.3448669910430908f, -0.13161900639533997f, 0.6887149810791016f, -0.5408269762992859f, 0.5712590217590332f, -0.9558699727058411f, 0.506164014339447f, -0.1558389961719513f, 0.07896210253238678f, 0.756771981716156f, -0.6620690226554871f, 0.24290800094604492f, 0.4608210027217865f, 0.17787200212478638f, -0.2898389995098114f, -0.6406030058860779f, 0.702597975730896f, -0.5064060091972351f, -0.568261981010437f, -0.07137160003185272f, 0.4137920141220093f, 0.15967300534248352f, -0.3052079975605011f, 0.13381600379943848f, -0.16025400161743164f, 0.787322998046875f, -0.7532439827919006f, 0.600721001625061f, 0.2631860077381134f, -0.16238699853420258f, 0.4779619872570038f, -0.7029510140419006f, -0.7310360074043274f, -0.9394810199737549f, -0.5245190262794495f, 0.9340720176696777f, -0.5116369724273682f, -0.5034989714622498f, 0.10623600333929062f, -0.3236840069293976f, 0.5344439744949341f, -0.8437449932098389f, 0.36417099833488464f, 0.03703580051660538f, -0.16880099475383759f, -0.4045589864253998f, -0.8141779899597168f, 0.9174500107765198f, -0.3342759907245636f, 0.6692500114440918f, -0.8012009859085083f, 0.15651099383831024f, -0.4279490113258362f, 0.3791530132293701f, 0.8185970187187195f, -0.6499019861221313f, 0.4270870089530945f, -0.586014986038208f, -0.5597890019416809f, -0.8339229822158813f, 0.0892409011721611f, -0.6212509870529175f, 0.2138260006904602f, 0.46550899744033813f, 0.47040000557899475f, 0.38026100397109985f, 0.4130670130252838f, 0.1808219999074936f, 0.17286600172519684f, 0.5961400270462036f, 0.8255749940872192f, 0.6629160046577454f, -0.704380989074707f, -0.29763099551200867f, 0.6977779865264893f}}},
11110 // int -> BOOL8 map
11111 .bool8Operands = {},
11112 // int -> QUANT8_SYMM_PER_CHANNEL map
11113 .quant8ChannelOperands = {},
11114 // int -> QUANT16_ASYMM map
11115 .quant16AsymmOperands = {},
11116 // int -> QUANT8_SYMM map
11117 .quant8SymmOperands = {},
11118 },
11119 //Output(s)
11120 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11121 // int -> Dimensions map
11122 .operandDimensions = {{0, {1, 6, 7, 1}}},
11123 // int -> FLOAT32 map
11124 .float32Operands = {},
11125 // int -> INT32 map
11126 .int32Operands = {},
11127 // int -> QUANT8_ASYMM map
11128 .quant8AsymmOperands = {},
11129 // int -> QUANT16_SYMM map
11130 .quant16SymmOperands = {},
11131 // int -> FLOAT16 map
11132 .float16Operands = {{0, {1.7200299501419067f, 1.5581599473953247f, 0.6675459742546082f, 2.2366299629211426f, 0.06615159660577774f, 0.29025399684906006f, 0.770222008228302f, -1.581969976425171f, -0.8505949974060059f, -0.48422399163246155f, 0.9499670267105103f, -0.5772629976272583f, -0.8719490170478821f, 2.341320037841797f, -0.1359650045633316f, -0.985713005065918f, 0.8151469826698303f, 1.0311399698257446f, -1.4191499948501587f, -0.515533983707428f, -0.37363898754119873f, -1.5060399770736694f, 0.6731129884719849f, 3.061389923095703f, -0.38857799768447876f, -1.7670700550079346f, -0.3156670033931732f, -1.0381499528884888f, 0.4327870011329651f, -1.4164299964904785f, 1.1294399499893188f, -0.17580600082874298f, -0.8464149832725525f, 1.4009499549865723f, 0.7083200216293335f, 2.195620059967041f, -2.6126599311828613f, -0.7053830027580261f, 1.261240005493164f, 1.4654500484466553f, -2.357609987258911f, 2.0449399948120117f}}},
11133 // int -> BOOL8 map
11134 .bool8Operands = {},
11135 // int -> QUANT8_SYMM_PER_CHANNEL map
11136 .quant8ChannelOperands = {},
11137 // int -> QUANT16_ASYMM map
11138 .quant16AsymmOperands = {},
11139 // int -> QUANT8_SYMM map
11140 .quant8SymmOperands = {},
11141 }
11142 },
11143 }, // End of an example
11144 // Begin of an example
11145 {
11146 .operands = {
11147 //Input(s)
11148 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11149 // int -> Dimensions map
11150 .operandDimensions = {{0, {1, 8, 8, 3}}},
11151 // int -> FLOAT32 map
11152 .float32Operands = {},
11153 // int -> INT32 map
11154 .int32Operands = {},
11155 // int -> QUANT8_ASYMM map
11156 .quant8AsymmOperands = {},
11157 // int -> QUANT16_SYMM map
11158 .quant16SymmOperands = {},
11159 // int -> FLOAT16 map
11160 .float16Operands = {{0, {-0.29533499479293823f, -0.0038760099560022354f, -0.5522509813308716f, 0.16608400642871857f, -0.28481999039649963f, -0.15214300155639648f, -0.719884991645813f, -0.8693860173225403f, -0.7455980181694031f, 0.823947012424469f, 0.4731830060482025f, -0.33133700489997864f, 0.18763099610805511f, 0.04265709966421127f, -0.8268970251083374f, -0.7550849914550781f, -0.4724529981613159f, -0.023365600034594536f, 0.04834359884262085f, 0.9334179759025574f, -0.961974024772644f, 0.012578300200402737f, 0.21974200010299683f, 0.34260401129722595f, -0.1516599953174591f, 0.09349049627780914f, 0.7832210063934326f, 0.12966400384902954f, 0.8388440012931824f, -0.2713879942893982f, 0.9245190024375916f, 0.3428429961204529f, 0.2744179964065552f, 0.3508169949054718f, 0.8416380286216736f, -0.5439929962158203f, -0.002833950100466609f, -0.12846699357032776f, -0.6829429864883423f, -0.31911700963974f, 0.846340000629425f, 0.2830030024051666f, 0.32864999771118164f, 0.029375499114394188f, -0.03356960043311119f, 0.5912659764289856f, -0.0743476003408432f, -0.7412710189819336f, 0.4620560109615326f, -0.5836250185966492f, -0.5901830196380615f, 0.6233999729156494f, 0.535269021987915f, -0.6708179712295532f, -0.9556419849395752f, -0.7701730132102966f, 0.4799860119819641f, 0.664376974105835f, 0.3994449973106384f, -0.9688739776611328f, -0.2762629985809326f, -0.901951014995575f, 0.5441039800643921f, -0.9589809775352478f, 0.4826579988002777f, -0.8072839975357056f, 0.30536898970603943f, -0.9478179812431335f, 0.8274980187416077f, -0.38288700580596924f, -0.805741012096405f, -0.7966780066490173f, -0.2998040020465851f, -0.22982800006866455f, 0.8187829852104187f, -0.10305500030517578f, -0.4556800127029419f, -0.22782699763774872f, 0.5437430143356323f, -0.9607300162315369f, 0.9467470049858093f, -0.8571820259094238f, -0.9642599821090698f, -0.2924109995365143f, -0.7156140208244324f, 0.7652779817581177f, -0.47504299879074097f, -0.590142011642456f, -0.2385070025920868f, 0.6730020046234131f, -0.4733569920063019f, -0.31962600350379944f, 0.9360139966011047f, 0.48660698533058167f, 0.580843985080719f, 0.42535200715065f, -0.8009939789772034f, 0.2907629907131195f, -0.4949530065059662f, -0.44116199016571045f, 0.7186769843101501f, -0.8284270167350769f, 0.9696499705314636f, 7.536369957961142e-05f, -0.6999729871749878f, -0.526885986328125f, -0.3526819944381714f, 0.7994660139083862f, 0.33278900384902954f, 0.7233890295028687f, 0.40765899419784546f, -0.9340839982032776f, -0.2847050130367279f, 0.9614840149879456f, -0.7003949880599976f, -0.9858080148696899f, -0.5953419804573059f, -0.6917210221290588f, 0.4944800138473511f, -0.08426489681005478f, 0.03909660130739212f, 0.29893800616264343f, -0.12809400260448456f, -0.9715800285339355f, 0.8639299869537354f, 0.27060601115226746f, -0.46898600459098816f, -0.25660499930381775f, 0.4721499979496002f, -0.2731170058250427f, -0.5903429985046387f, -0.8265290260314941f, -0.7253810167312622f, -0.19482100009918213f, -0.2596609890460968f, -0.09492070227861404f, -0.1803019940853119f, 0.04468340054154396f, -0.22213299572467804f, -0.40393000841140747f, 0.295771986246109f, -0.9294899702072144f, 0.5800790190696716f, -0.169855996966362f, 0.33031100034713745f, 0.017355099320411682f, -0.6358230113983154f, 0.4759419858455658f, 0.9071750044822693f, 0.2427770048379898f, -0.5122079849243164f, 0.36246299743652344f, 0.04962889850139618f, 0.6517099738121033f, 0.9900569915771484f, 0.690733015537262f, -0.4690130054950714f, -0.10131099820137024f, -0.6837199926376343f, -0.15784099698066711f, -0.677711009979248f, -0.7082239985466003f, -0.6594370007514954f, -0.40760698914527893f, 0.677033007144928f, 0.8903200030326843f, 0.22830699384212494f, -0.7495139837265015f, 0.772957980632782f, 0.054701000452041626f, 0.551705002784729f, 0.9170519709587097f, -0.8950219750404358f, -0.7023969888687134f, 0.484142005443573f, 0.10864800214767456f, 0.8333470225334167f, 0.47887200117111206f, -0.984112024307251f, 0.3871760070323944f, -0.732990026473999f, 0.7526000142097473f, 0.44331198930740356f, -0.09878560155630112f, 0.12541499733924866f, 0.10875999927520752f, -0.49810799956321716f, 0.43209001421928406f, 0.34460899233818054f, 0.928941011428833f, -0.130731999874115f, -0.056916698813438416f}}},
11161 // int -> BOOL8 map
11162 .bool8Operands = {},
11163 // int -> QUANT8_SYMM_PER_CHANNEL map
11164 .quant8ChannelOperands = {},
11165 // int -> QUANT16_ASYMM map
11166 .quant16AsymmOperands = {},
11167 // int -> QUANT8_SYMM map
11168 .quant8SymmOperands = {},
11169 },
11170 //Output(s)
11171 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11172 // int -> Dimensions map
11173 .operandDimensions = {{0, {1, 6, 7, 1}}},
11174 // int -> FLOAT32 map
11175 .float32Operands = {},
11176 // int -> INT32 map
11177 .int32Operands = {},
11178 // int -> QUANT8_ASYMM map
11179 .quant8AsymmOperands = {},
11180 // int -> QUANT16_SYMM map
11181 .quant16SymmOperands = {},
11182 // int -> FLOAT16 map
11183 .float16Operands = {{0, {1.287350058555603f, 1.9131499528884888f, 2.5173399448394775f, 0.3758409917354584f, 0.6375629901885986f, 2.6530001163482666f, 2.7295899391174316f, 1.1738899946212769f, -2.121190071105957f, 2.914170026779175f, -2.242460012435913f, 0.049704499542713165f, -0.12710699439048767f, -0.14447300136089325f, -0.39328399300575256f, -2.0234599113464355f, -0.23917800188064575f, -0.24650800228118896f, 1.2927700281143188f, 1.3296300172805786f, 0.1175210028886795f, 0.06657130271196365f, 1.0943800210952759f, -1.3142600059509277f, 2.52593994140625f, -0.9692109823226929f, 0.5154780149459839f, -1.6092599630355835f, 0.1352110058069229f, 0.7864149808883667f, -1.14382004737854f, -0.7391020059585571f, -1.0173100233078003f, 0.2816149890422821f, 2.363110065460205f, 1.9387199878692627f, -0.15049099922180176f, 3.452169895172119f, 2.2821900844573975f, 1.1828199625015259f, -2.2508599758148193f, 3.054680109024048f}}},
11184 // int -> BOOL8 map
11185 .bool8Operands = {},
11186 // int -> QUANT8_SYMM_PER_CHANNEL map
11187 .quant8ChannelOperands = {},
11188 // int -> QUANT16_ASYMM map
11189 .quant16AsymmOperands = {},
11190 // int -> QUANT8_SYMM map
11191 .quant8SymmOperands = {},
11192 }
11193 },
11194 }, // End of an example
11195 };
11196 return examples_1_H3_W2_VALID_nhwc_float16;
11197 };
11198
get_examples_1_H3_W2_VALID_nchw()11199 std::vector<MixedTypedExample>& get_examples_1_H3_W2_VALID_nchw() {
11200 static std::vector<MixedTypedExample> examples_1_H3_W2_VALID_nchw = {
11201 // Begin of an example
11202 {
11203 .operands = {
11204 //Input(s)
11205 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11206 // int -> Dimensions map
11207 .operandDimensions = {{0, {1, 3, 8, 8}}},
11208 // int -> FLOAT32 map
11209 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
11210 // int -> INT32 map
11211 .int32Operands = {},
11212 // int -> QUANT8_ASYMM map
11213 .quant8AsymmOperands = {},
11214 // int -> QUANT16_SYMM map
11215 .quant16SymmOperands = {},
11216 // int -> FLOAT16 map
11217 .float16Operands = {},
11218 // int -> BOOL8 map
11219 .bool8Operands = {},
11220 // int -> QUANT8_SYMM_PER_CHANNEL map
11221 .quant8ChannelOperands = {},
11222 // int -> QUANT16_ASYMM map
11223 .quant16AsymmOperands = {},
11224 // int -> QUANT8_SYMM map
11225 .quant8SymmOperands = {},
11226 },
11227 //Output(s)
11228 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11229 // int -> Dimensions map
11230 .operandDimensions = {{0, {1, 1, 6, 7}}},
11231 // int -> FLOAT32 map
11232 .float32Operands = {{0, {1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f}}},
11233 // int -> INT32 map
11234 .int32Operands = {},
11235 // int -> QUANT8_ASYMM map
11236 .quant8AsymmOperands = {},
11237 // int -> QUANT16_SYMM map
11238 .quant16SymmOperands = {},
11239 // int -> FLOAT16 map
11240 .float16Operands = {},
11241 // int -> BOOL8 map
11242 .bool8Operands = {},
11243 // int -> QUANT8_SYMM_PER_CHANNEL map
11244 .quant8ChannelOperands = {},
11245 // int -> QUANT16_ASYMM map
11246 .quant16AsymmOperands = {},
11247 // int -> QUANT8_SYMM map
11248 .quant8SymmOperands = {},
11249 }
11250 },
11251 }, // End of an example
11252 // Begin of an example
11253 {
11254 .operands = {
11255 //Input(s)
11256 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11257 // int -> Dimensions map
11258 .operandDimensions = {{0, {1, 3, 8, 8}}},
11259 // int -> FLOAT32 map
11260 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
11261 // int -> INT32 map
11262 .int32Operands = {},
11263 // int -> QUANT8_ASYMM map
11264 .quant8AsymmOperands = {},
11265 // int -> QUANT16_SYMM map
11266 .quant16SymmOperands = {},
11267 // int -> FLOAT16 map
11268 .float16Operands = {},
11269 // int -> BOOL8 map
11270 .bool8Operands = {},
11271 // int -> QUANT8_SYMM_PER_CHANNEL map
11272 .quant8ChannelOperands = {},
11273 // int -> QUANT16_ASYMM map
11274 .quant16AsymmOperands = {},
11275 // int -> QUANT8_SYMM map
11276 .quant8SymmOperands = {},
11277 },
11278 //Output(s)
11279 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11280 // int -> Dimensions map
11281 .operandDimensions = {{0, {1, 1, 6, 7}}},
11282 // int -> FLOAT32 map
11283 .float32Operands = {{0, {1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f}}},
11284 // int -> INT32 map
11285 .int32Operands = {},
11286 // int -> QUANT8_ASYMM map
11287 .quant8AsymmOperands = {},
11288 // int -> QUANT16_SYMM map
11289 .quant16SymmOperands = {},
11290 // int -> FLOAT16 map
11291 .float16Operands = {},
11292 // int -> BOOL8 map
11293 .bool8Operands = {},
11294 // int -> QUANT8_SYMM_PER_CHANNEL map
11295 .quant8ChannelOperands = {},
11296 // int -> QUANT16_ASYMM map
11297 .quant16AsymmOperands = {},
11298 // int -> QUANT8_SYMM map
11299 .quant8SymmOperands = {},
11300 }
11301 },
11302 }, // End of an example
11303 };
11304 return examples_1_H3_W2_VALID_nchw;
11305 };
11306
get_examples_1_H3_W2_VALID_nchw_relaxed()11307 std::vector<MixedTypedExample>& get_examples_1_H3_W2_VALID_nchw_relaxed() {
11308 static std::vector<MixedTypedExample> examples_1_H3_W2_VALID_nchw_relaxed = {
11309 // Begin of an example
11310 {
11311 .operands = {
11312 //Input(s)
11313 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11314 // int -> Dimensions map
11315 .operandDimensions = {{0, {1, 3, 8, 8}}},
11316 // int -> FLOAT32 map
11317 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
11318 // int -> INT32 map
11319 .int32Operands = {},
11320 // int -> QUANT8_ASYMM map
11321 .quant8AsymmOperands = {},
11322 // int -> QUANT16_SYMM map
11323 .quant16SymmOperands = {},
11324 // int -> FLOAT16 map
11325 .float16Operands = {},
11326 // int -> BOOL8 map
11327 .bool8Operands = {},
11328 // int -> QUANT8_SYMM_PER_CHANNEL map
11329 .quant8ChannelOperands = {},
11330 // int -> QUANT16_ASYMM map
11331 .quant16AsymmOperands = {},
11332 // int -> QUANT8_SYMM map
11333 .quant8SymmOperands = {},
11334 },
11335 //Output(s)
11336 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11337 // int -> Dimensions map
11338 .operandDimensions = {{0, {1, 1, 6, 7}}},
11339 // int -> FLOAT32 map
11340 .float32Operands = {{0, {1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f}}},
11341 // int -> INT32 map
11342 .int32Operands = {},
11343 // int -> QUANT8_ASYMM map
11344 .quant8AsymmOperands = {},
11345 // int -> QUANT16_SYMM map
11346 .quant16SymmOperands = {},
11347 // int -> FLOAT16 map
11348 .float16Operands = {},
11349 // int -> BOOL8 map
11350 .bool8Operands = {},
11351 // int -> QUANT8_SYMM_PER_CHANNEL map
11352 .quant8ChannelOperands = {},
11353 // int -> QUANT16_ASYMM map
11354 .quant16AsymmOperands = {},
11355 // int -> QUANT8_SYMM map
11356 .quant8SymmOperands = {},
11357 }
11358 },
11359 }, // End of an example
11360 // Begin of an example
11361 {
11362 .operands = {
11363 //Input(s)
11364 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11365 // int -> Dimensions map
11366 .operandDimensions = {{0, {1, 3, 8, 8}}},
11367 // int -> FLOAT32 map
11368 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
11369 // int -> INT32 map
11370 .int32Operands = {},
11371 // int -> QUANT8_ASYMM map
11372 .quant8AsymmOperands = {},
11373 // int -> QUANT16_SYMM map
11374 .quant16SymmOperands = {},
11375 // int -> FLOAT16 map
11376 .float16Operands = {},
11377 // int -> BOOL8 map
11378 .bool8Operands = {},
11379 // int -> QUANT8_SYMM_PER_CHANNEL map
11380 .quant8ChannelOperands = {},
11381 // int -> QUANT16_ASYMM map
11382 .quant16AsymmOperands = {},
11383 // int -> QUANT8_SYMM map
11384 .quant8SymmOperands = {},
11385 },
11386 //Output(s)
11387 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11388 // int -> Dimensions map
11389 .operandDimensions = {{0, {1, 1, 6, 7}}},
11390 // int -> FLOAT32 map
11391 .float32Operands = {{0, {1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f}}},
11392 // int -> INT32 map
11393 .int32Operands = {},
11394 // int -> QUANT8_ASYMM map
11395 .quant8AsymmOperands = {},
11396 // int -> QUANT16_SYMM map
11397 .quant16SymmOperands = {},
11398 // int -> FLOAT16 map
11399 .float16Operands = {},
11400 // int -> BOOL8 map
11401 .bool8Operands = {},
11402 // int -> QUANT8_SYMM_PER_CHANNEL map
11403 .quant8ChannelOperands = {},
11404 // int -> QUANT16_ASYMM map
11405 .quant16AsymmOperands = {},
11406 // int -> QUANT8_SYMM map
11407 .quant8SymmOperands = {},
11408 }
11409 },
11410 }, // End of an example
11411 };
11412 return examples_1_H3_W2_VALID_nchw_relaxed;
11413 };
11414
get_examples_1_H3_W2_VALID_nchw_float16()11415 std::vector<MixedTypedExample>& get_examples_1_H3_W2_VALID_nchw_float16() {
11416 static std::vector<MixedTypedExample> examples_1_H3_W2_VALID_nchw_float16 = {
11417 // Begin of an example
11418 {
11419 .operands = {
11420 //Input(s)
11421 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11422 // int -> Dimensions map
11423 .operandDimensions = {{0, {1, 3, 8, 8}}},
11424 // int -> FLOAT32 map
11425 .float32Operands = {},
11426 // int -> INT32 map
11427 .int32Operands = {},
11428 // int -> QUANT8_ASYMM map
11429 .quant8AsymmOperands = {},
11430 // int -> QUANT16_SYMM map
11431 .quant16SymmOperands = {},
11432 // int -> FLOAT16 map
11433 .float16Operands = {{0, {-0.8699309825897217f, 0.153671994805336f, -0.13493099808692932f, -0.2591570019721985f, 0.7655590176582336f, 0.6584939956665039f, -0.25289300084114075f, -0.07006630301475525f, 0.150845006108284f, 0.4065369963645935f, -0.356361985206604f, 0.21048299968242645f, -0.7520380020141602f, -0.551177978515625f, 0.21634800732135773f, 0.5590599775314331f, -0.3637630045413971f, 0.7560970187187195f, -0.6563169956207275f, -0.4031600058078766f, 0.6123620271682739f, -0.39809200167655945f, -0.9252719879150391f, 0.0968329980969429f, 0.0316540002822876f, 0.09482540190219879f, 0.3526650071144104f, -0.96806800365448f, 0.9390519857406616f, -0.058271098881959915f, 0.4597109854221344f, -0.6801750063896179f, 0.5060039758682251f, -0.1724960058927536f, -0.9538840055465698f, 0.20972700417041779f, 0.11319400370121002f, -0.47286298871040344f, -0.8394449949264526f, 0.3448669910430908f, -0.5408269762992859f, 0.506164014339447f, 0.756771981716156f, 0.4608210027217865f, -0.6406030058860779f, -0.568261981010437f, 0.15967300534248352f, -0.16025400161743164f, 0.600721001625061f, 0.4779619872570038f, -0.9394810199737549f, -0.5116369724273682f, -0.3236840069293976f, 0.36417099833488464f, -0.4045589864253998f, -0.3342759907245636f, 0.15651099383831024f, 0.8185970187187195f, -0.586014986038208f, 0.0892409011721611f, 0.46550899744033813f, 0.4130670130252838f, 0.5961400270462036f, -0.704380989074707f, 0.6446279883384705f, 0.8685619831085205f, -0.24756500124931335f, -0.2842960059642792f, 0.41986000537872314f, 0.214355006814003f, -0.47893500328063965f, -0.9887290000915527f, 0.8299149870872498f, -0.3553430140018463f, 0.8004819750785828f, -0.6343029737472534f, 0.45754700899124146f, 0.4467659890651703f, -0.8528059720993042f, -0.6684929728507996f, -0.16283699870109558f, -0.14226900041103363f, -0.9980859756469727f, -0.8936820030212402f, -0.8695880174636841f, -0.04235589876770973f, 0.1765490025281906f, -0.29680201411247253f, -0.25447899103164673f, 0.6437690258026123f, -0.9011790156364441f, -0.615401029586792f, -0.11628899723291397f, 0.4351719915866852f, 0.7174360156059265f, -0.4150660037994385f, -0.3378080129623413f, 0.8706380128860474f, 0.9030420184135437f, -0.28538399934768677f, 0.07566110044717789f, 0.9606090188026428f, 0.45709699392318726f, -0.13161900639533997f, 0.5712590217590332f, -0.1558389961719513f, -0.6620690226554871f, 0.17787200212478638f, 0.702597975730896f, -0.07137160003185272f, -0.3052079975605011f, 0.787322998046875f, 0.2631860077381134f, -0.7029510140419006f, -0.5245190262794495f, -0.5034989714622498f, 0.5344439744949341f, 0.03703580051660538f, -0.8141779899597168f, 0.6692500114440918f, -0.4279490113258362f, -0.6499019861221313f, -0.5597890019416809f, -0.6212509870529175f, 0.47040000557899475f, 0.1808219999074936f, 0.8255749940872192f, -0.29763099551200867f, -0.9183930158615112f, -0.3581770062446594f, 0.2217400074005127f, -0.5380650162696838f, -0.556240975856781f, -0.8501690030097961f, 0.5305259823799133f, -0.30306100845336914f, 0.47634899616241455f, 0.7571449875831604f, -0.7138609886169434f, 0.7182360291481018f, -0.5507689714431763f, -0.22746199369430542f, -0.3514859974384308f, -0.3034929931163788f, 0.07010120153427124f, 0.3297240138053894f, -0.6529489755630493f, 0.43274399638175964f, -0.7132700085639954f, 0.4365760087966919f, 0.8229039907455444f, -0.4271950125694275f, 0.2449049949645996f, -0.9039099812507629f, 0.2661589980125427f, -0.38897499442100525f, 0.10752300173044205f, 0.33467501401901245f, 0.49662700295448303f, 0.33984801173210144f, -0.10721799731254578f, 0.9318720102310181f, 0.7600780129432678f, -0.45513999462127686f, 0.09244350343942642f, -0.16038499772548676f, 0.1633480042219162f, 0.6887149810791016f, -0.9558699727058411f, 0.07896210253238678f, 0.24290800094604492f, -0.2898389995098114f, -0.5064060091972351f, 0.4137920141220093f, 0.13381600379943848f, -0.7532439827919006f, -0.16238699853420258f, -0.7310360074043274f, 0.9340720176696777f, 0.10623600333929062f, -0.8437449932098389f, -0.16880099475383759f, 0.9174500107765198f, -0.8012009859085083f, 0.3791530132293701f, 0.4270870089530945f, -0.8339229822158813f, 0.2138260006904602f, 0.38026100397109985f, 0.17286600172519684f, 0.6629160046577454f, 0.6977779865264893f}}},
11434 // int -> BOOL8 map
11435 .bool8Operands = {},
11436 // int -> QUANT8_SYMM_PER_CHANNEL map
11437 .quant8ChannelOperands = {},
11438 // int -> QUANT16_ASYMM map
11439 .quant16AsymmOperands = {},
11440 // int -> QUANT8_SYMM map
11441 .quant8SymmOperands = {},
11442 },
11443 //Output(s)
11444 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11445 // int -> Dimensions map
11446 .operandDimensions = {{0, {1, 1, 6, 7}}},
11447 // int -> FLOAT32 map
11448 .float32Operands = {},
11449 // int -> INT32 map
11450 .int32Operands = {},
11451 // int -> QUANT8_ASYMM map
11452 .quant8AsymmOperands = {},
11453 // int -> QUANT16_SYMM map
11454 .quant16SymmOperands = {},
11455 // int -> FLOAT16 map
11456 .float16Operands = {{0, {1.7200299501419067f, 1.5581599473953247f, 0.6675459742546082f, 2.2366299629211426f, 0.06615159660577774f, 0.29025399684906006f, 0.770222008228302f, -1.581969976425171f, -0.8505949974060059f, -0.48422399163246155f, 0.9499670267105103f, -0.5772629976272583f, -0.8719490170478821f, 2.341320037841797f, -0.1359650045633316f, -0.985713005065918f, 0.8151469826698303f, 1.0311399698257446f, -1.4191499948501587f, -0.515533983707428f, -0.37363898754119873f, -1.5060399770736694f, 0.6731129884719849f, 3.061389923095703f, -0.38857799768447876f, -1.7670700550079346f, -0.3156670033931732f, -1.0381499528884888f, 0.4327870011329651f, -1.4164299964904785f, 1.1294399499893188f, -0.17580600082874298f, -0.8464149832725525f, 1.4009499549865723f, 0.7083200216293335f, 2.195620059967041f, -2.6126599311828613f, -0.7053830027580261f, 1.261240005493164f, 1.4654500484466553f, -2.357609987258911f, 2.0449399948120117f}}},
11457 // int -> BOOL8 map
11458 .bool8Operands = {},
11459 // int -> QUANT8_SYMM_PER_CHANNEL map
11460 .quant8ChannelOperands = {},
11461 // int -> QUANT16_ASYMM map
11462 .quant16AsymmOperands = {},
11463 // int -> QUANT8_SYMM map
11464 .quant8SymmOperands = {},
11465 }
11466 },
11467 }, // End of an example
11468 // Begin of an example
11469 {
11470 .operands = {
11471 //Input(s)
11472 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11473 // int -> Dimensions map
11474 .operandDimensions = {{0, {1, 3, 8, 8}}},
11475 // int -> FLOAT32 map
11476 .float32Operands = {},
11477 // int -> INT32 map
11478 .int32Operands = {},
11479 // int -> QUANT8_ASYMM map
11480 .quant8AsymmOperands = {},
11481 // int -> QUANT16_SYMM map
11482 .quant16SymmOperands = {},
11483 // int -> FLOAT16 map
11484 .float16Operands = {{0, {-0.29533499479293823f, 0.16608400642871857f, -0.719884991645813f, 0.823947012424469f, 0.18763099610805511f, -0.7550849914550781f, 0.04834359884262085f, 0.012578300200402737f, -0.1516599953174591f, 0.12966400384902954f, 0.9245190024375916f, 0.3508169949054718f, -0.002833950100466609f, -0.31911700963974f, 0.32864999771118164f, 0.5912659764289856f, 0.4620560109615326f, 0.6233999729156494f, -0.9556419849395752f, 0.664376974105835f, -0.2762629985809326f, -0.9589809775352478f, 0.30536898970603943f, -0.38288700580596924f, -0.2998040020465851f, -0.10305500030517578f, 0.5437430143356323f, -0.8571820259094238f, -0.7156140208244324f, -0.590142011642456f, -0.4733569920063019f, 0.48660698533058167f, -0.8009939789772034f, -0.44116199016571045f, 0.9696499705314636f, -0.526885986328125f, 0.33278900384902954f, -0.9340839982032776f, -0.7003949880599976f, -0.6917210221290588f, 0.03909660130739212f, -0.9715800285339355f, -0.46898600459098816f, -0.2731170058250427f, -0.7253810167312622f, -0.09492070227861404f, -0.22213299572467804f, -0.9294899702072144f, 0.33031100034713745f, 0.4759419858455658f, -0.5122079849243164f, 0.6517099738121033f, -0.4690130054950714f, -0.15784099698066711f, -0.6594370007514954f, 0.8903200030326843f, 0.772957980632782f, 0.9170519709587097f, 0.484142005443573f, 0.47887200117111206f, -0.732990026473999f, -0.09878560155630112f, -0.49810799956321716f, 0.928941011428833f, -0.0038760099560022354f, -0.28481999039649963f, -0.8693860173225403f, 0.4731830060482025f, 0.04265709966421127f, -0.4724529981613159f, 0.9334179759025574f, 0.21974200010299683f, 0.09349049627780914f, 0.8388440012931824f, 0.3428429961204529f, 0.8416380286216736f, -0.12846699357032776f, 0.846340000629425f, 0.029375499114394188f, -0.0743476003408432f, -0.5836250185966492f, 0.535269021987915f, -0.7701730132102966f, 0.3994449973106384f, -0.901951014995575f, 0.4826579988002777f, -0.9478179812431335f, -0.805741012096405f, -0.22982800006866455f, -0.4556800127029419f, -0.9607300162315369f, -0.9642599821090698f, 0.7652779817581177f, -0.2385070025920868f, -0.31962600350379944f, 0.580843985080719f, 0.2907629907131195f, 0.7186769843101501f, 7.536369957961142e-05f, -0.3526819944381714f, 0.7233890295028687f, -0.2847050130367279f, -0.9858080148696899f, 0.4944800138473511f, 0.29893800616264343f, 0.8639299869537354f, -0.25660499930381775f, -0.5903429985046387f, -0.19482100009918213f, -0.1803019940853119f, -0.40393000841140747f, 0.5800790190696716f, 0.017355099320411682f, 0.9071750044822693f, 0.36246299743652344f, 0.9900569915771484f, -0.10131099820137024f, -0.677711009979248f, -0.40760698914527893f, 0.22830699384212494f, 0.054701000452041626f, -0.8950219750404358f, 0.10864800214767456f, -0.984112024307251f, 0.7526000142097473f, 0.12541499733924866f, 0.43209001421928406f, -0.130731999874115f, -0.5522509813308716f, -0.15214300155639648f, -0.7455980181694031f, -0.33133700489997864f, -0.8268970251083374f, -0.023365600034594536f, -0.961974024772644f, 0.34260401129722595f, 0.7832210063934326f, -0.2713879942893982f, 0.2744179964065552f, -0.5439929962158203f, -0.6829429864883423f, 0.2830030024051666f, -0.03356960043311119f, -0.7412710189819336f, -0.5901830196380615f, -0.6708179712295532f, 0.4799860119819641f, -0.9688739776611328f, 0.5441039800643921f, -0.8072839975357056f, 0.8274980187416077f, -0.7966780066490173f, 0.8187829852104187f, -0.22782699763774872f, 0.9467470049858093f, -0.2924109995365143f, -0.47504299879074097f, 0.6730020046234131f, 0.9360139966011047f, 0.42535200715065f, -0.4949530065059662f, -0.8284270167350769f, -0.6999729871749878f, 0.7994660139083862f, 0.40765899419784546f, 0.9614840149879456f, -0.5953419804573059f, -0.08426489681005478f, -0.12809400260448456f, 0.27060601115226746f, 0.4721499979496002f, -0.8265290260314941f, -0.2596609890460968f, 0.04468340054154396f, 0.295771986246109f, -0.169855996966362f, -0.6358230113983154f, 0.2427770048379898f, 0.04962889850139618f, 0.690733015537262f, -0.6837199926376343f, -0.7082239985466003f, 0.677033007144928f, -0.7495139837265015f, 0.551705002784729f, -0.7023969888687134f, 0.8333470225334167f, 0.3871760070323944f, 0.44331198930740356f, 0.10875999927520752f, 0.34460899233818054f, -0.056916698813438416f}}},
11485 // int -> BOOL8 map
11486 .bool8Operands = {},
11487 // int -> QUANT8_SYMM_PER_CHANNEL map
11488 .quant8ChannelOperands = {},
11489 // int -> QUANT16_ASYMM map
11490 .quant16AsymmOperands = {},
11491 // int -> QUANT8_SYMM map
11492 .quant8SymmOperands = {},
11493 },
11494 //Output(s)
11495 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11496 // int -> Dimensions map
11497 .operandDimensions = {{0, {1, 1, 6, 7}}},
11498 // int -> FLOAT32 map
11499 .float32Operands = {},
11500 // int -> INT32 map
11501 .int32Operands = {},
11502 // int -> QUANT8_ASYMM map
11503 .quant8AsymmOperands = {},
11504 // int -> QUANT16_SYMM map
11505 .quant16SymmOperands = {},
11506 // int -> FLOAT16 map
11507 .float16Operands = {{0, {1.287350058555603f, 1.9131499528884888f, 2.5173399448394775f, 0.3758409917354584f, 0.6375629901885986f, 2.6530001163482666f, 2.7295899391174316f, 1.1738899946212769f, -2.121190071105957f, 2.914170026779175f, -2.242460012435913f, 0.049704499542713165f, -0.12710699439048767f, -0.14447300136089325f, -0.39328399300575256f, -2.0234599113464355f, -0.23917800188064575f, -0.24650800228118896f, 1.2927700281143188f, 1.3296300172805786f, 0.1175210028886795f, 0.06657130271196365f, 1.0943800210952759f, -1.3142600059509277f, 2.52593994140625f, -0.9692109823226929f, 0.5154780149459839f, -1.6092599630355835f, 0.1352110058069229f, 0.7864149808883667f, -1.14382004737854f, -0.7391020059585571f, -1.0173100233078003f, 0.2816149890422821f, 2.363110065460205f, 1.9387199878692627f, -0.15049099922180176f, 3.452169895172119f, 2.2821900844573975f, 1.1828199625015259f, -2.2508599758148193f, 3.054680109024048f}}},
11508 // int -> BOOL8 map
11509 .bool8Operands = {},
11510 // int -> QUANT8_SYMM_PER_CHANNEL map
11511 .quant8ChannelOperands = {},
11512 // int -> QUANT16_ASYMM map
11513 .quant16AsymmOperands = {},
11514 // int -> QUANT8_SYMM map
11515 .quant8SymmOperands = {},
11516 }
11517 },
11518 }, // End of an example
11519 };
11520 return examples_1_H3_W2_VALID_nchw_float16;
11521 };
11522
get_examples_1_H3_W2_VALID_dynamic_output_shape_nhwc()11523 std::vector<MixedTypedExample>& get_examples_1_H3_W2_VALID_dynamic_output_shape_nhwc() {
11524 static std::vector<MixedTypedExample> examples_1_H3_W2_VALID_dynamic_output_shape_nhwc = {
11525 // Begin of an example
11526 {
11527 .operands = {
11528 //Input(s)
11529 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11530 // int -> Dimensions map
11531 .operandDimensions = {{0, {1, 8, 8, 3}}},
11532 // int -> FLOAT32 map
11533 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
11534 // int -> INT32 map
11535 .int32Operands = {},
11536 // int -> QUANT8_ASYMM map
11537 .quant8AsymmOperands = {},
11538 // int -> QUANT16_SYMM map
11539 .quant16SymmOperands = {},
11540 // int -> FLOAT16 map
11541 .float16Operands = {},
11542 // int -> BOOL8 map
11543 .bool8Operands = {},
11544 // int -> QUANT8_SYMM_PER_CHANNEL map
11545 .quant8ChannelOperands = {},
11546 // int -> QUANT16_ASYMM map
11547 .quant16AsymmOperands = {},
11548 // int -> QUANT8_SYMM map
11549 .quant8SymmOperands = {},
11550 },
11551 //Output(s)
11552 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11553 // int -> Dimensions map
11554 .operandDimensions = {{0, {1, 6, 7, 1}}},
11555 // int -> FLOAT32 map
11556 .float32Operands = {{0, {1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f}}},
11557 // int -> INT32 map
11558 .int32Operands = {},
11559 // int -> QUANT8_ASYMM map
11560 .quant8AsymmOperands = {},
11561 // int -> QUANT16_SYMM map
11562 .quant16SymmOperands = {},
11563 // int -> FLOAT16 map
11564 .float16Operands = {},
11565 // int -> BOOL8 map
11566 .bool8Operands = {},
11567 // int -> QUANT8_SYMM_PER_CHANNEL map
11568 .quant8ChannelOperands = {},
11569 // int -> QUANT16_ASYMM map
11570 .quant16AsymmOperands = {},
11571 // int -> QUANT8_SYMM map
11572 .quant8SymmOperands = {},
11573 }
11574 },
11575 }, // End of an example
11576 // Begin of an example
11577 {
11578 .operands = {
11579 //Input(s)
11580 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11581 // int -> Dimensions map
11582 .operandDimensions = {{0, {1, 8, 8, 3}}},
11583 // int -> FLOAT32 map
11584 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
11585 // int -> INT32 map
11586 .int32Operands = {},
11587 // int -> QUANT8_ASYMM map
11588 .quant8AsymmOperands = {},
11589 // int -> QUANT16_SYMM map
11590 .quant16SymmOperands = {},
11591 // int -> FLOAT16 map
11592 .float16Operands = {},
11593 // int -> BOOL8 map
11594 .bool8Operands = {},
11595 // int -> QUANT8_SYMM_PER_CHANNEL map
11596 .quant8ChannelOperands = {},
11597 // int -> QUANT16_ASYMM map
11598 .quant16AsymmOperands = {},
11599 // int -> QUANT8_SYMM map
11600 .quant8SymmOperands = {},
11601 },
11602 //Output(s)
11603 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11604 // int -> Dimensions map
11605 .operandDimensions = {{0, {1, 6, 7, 1}}},
11606 // int -> FLOAT32 map
11607 .float32Operands = {{0, {1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f}}},
11608 // int -> INT32 map
11609 .int32Operands = {},
11610 // int -> QUANT8_ASYMM map
11611 .quant8AsymmOperands = {},
11612 // int -> QUANT16_SYMM map
11613 .quant16SymmOperands = {},
11614 // int -> FLOAT16 map
11615 .float16Operands = {},
11616 // int -> BOOL8 map
11617 .bool8Operands = {},
11618 // int -> QUANT8_SYMM_PER_CHANNEL map
11619 .quant8ChannelOperands = {},
11620 // int -> QUANT16_ASYMM map
11621 .quant16AsymmOperands = {},
11622 // int -> QUANT8_SYMM map
11623 .quant8SymmOperands = {},
11624 }
11625 },
11626 }, // End of an example
11627 };
11628 return examples_1_H3_W2_VALID_dynamic_output_shape_nhwc;
11629 };
11630
get_examples_1_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed()11631 std::vector<MixedTypedExample>& get_examples_1_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed() {
11632 static std::vector<MixedTypedExample> examples_1_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed = {
11633 // Begin of an example
11634 {
11635 .operands = {
11636 //Input(s)
11637 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11638 // int -> Dimensions map
11639 .operandDimensions = {{0, {1, 8, 8, 3}}},
11640 // int -> FLOAT32 map
11641 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
11642 // int -> INT32 map
11643 .int32Operands = {},
11644 // int -> QUANT8_ASYMM map
11645 .quant8AsymmOperands = {},
11646 // int -> QUANT16_SYMM map
11647 .quant16SymmOperands = {},
11648 // int -> FLOAT16 map
11649 .float16Operands = {},
11650 // int -> BOOL8 map
11651 .bool8Operands = {},
11652 // int -> QUANT8_SYMM_PER_CHANNEL map
11653 .quant8ChannelOperands = {},
11654 // int -> QUANT16_ASYMM map
11655 .quant16AsymmOperands = {},
11656 // int -> QUANT8_SYMM map
11657 .quant8SymmOperands = {},
11658 },
11659 //Output(s)
11660 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11661 // int -> Dimensions map
11662 .operandDimensions = {{0, {1, 6, 7, 1}}},
11663 // int -> FLOAT32 map
11664 .float32Operands = {{0, {1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f}}},
11665 // int -> INT32 map
11666 .int32Operands = {},
11667 // int -> QUANT8_ASYMM map
11668 .quant8AsymmOperands = {},
11669 // int -> QUANT16_SYMM map
11670 .quant16SymmOperands = {},
11671 // int -> FLOAT16 map
11672 .float16Operands = {},
11673 // int -> BOOL8 map
11674 .bool8Operands = {},
11675 // int -> QUANT8_SYMM_PER_CHANNEL map
11676 .quant8ChannelOperands = {},
11677 // int -> QUANT16_ASYMM map
11678 .quant16AsymmOperands = {},
11679 // int -> QUANT8_SYMM map
11680 .quant8SymmOperands = {},
11681 }
11682 },
11683 }, // End of an example
11684 // Begin of an example
11685 {
11686 .operands = {
11687 //Input(s)
11688 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11689 // int -> Dimensions map
11690 .operandDimensions = {{0, {1, 8, 8, 3}}},
11691 // int -> FLOAT32 map
11692 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
11693 // int -> INT32 map
11694 .int32Operands = {},
11695 // int -> QUANT8_ASYMM map
11696 .quant8AsymmOperands = {},
11697 // int -> QUANT16_SYMM map
11698 .quant16SymmOperands = {},
11699 // int -> FLOAT16 map
11700 .float16Operands = {},
11701 // int -> BOOL8 map
11702 .bool8Operands = {},
11703 // int -> QUANT8_SYMM_PER_CHANNEL map
11704 .quant8ChannelOperands = {},
11705 // int -> QUANT16_ASYMM map
11706 .quant16AsymmOperands = {},
11707 // int -> QUANT8_SYMM map
11708 .quant8SymmOperands = {},
11709 },
11710 //Output(s)
11711 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11712 // int -> Dimensions map
11713 .operandDimensions = {{0, {1, 6, 7, 1}}},
11714 // int -> FLOAT32 map
11715 .float32Operands = {{0, {1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f}}},
11716 // int -> INT32 map
11717 .int32Operands = {},
11718 // int -> QUANT8_ASYMM map
11719 .quant8AsymmOperands = {},
11720 // int -> QUANT16_SYMM map
11721 .quant16SymmOperands = {},
11722 // int -> FLOAT16 map
11723 .float16Operands = {},
11724 // int -> BOOL8 map
11725 .bool8Operands = {},
11726 // int -> QUANT8_SYMM_PER_CHANNEL map
11727 .quant8ChannelOperands = {},
11728 // int -> QUANT16_ASYMM map
11729 .quant16AsymmOperands = {},
11730 // int -> QUANT8_SYMM map
11731 .quant8SymmOperands = {},
11732 }
11733 },
11734 }, // End of an example
11735 };
11736 return examples_1_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed;
11737 };
11738
get_examples_1_H3_W2_VALID_dynamic_output_shape_nhwc_float16()11739 std::vector<MixedTypedExample>& get_examples_1_H3_W2_VALID_dynamic_output_shape_nhwc_float16() {
11740 static std::vector<MixedTypedExample> examples_1_H3_W2_VALID_dynamic_output_shape_nhwc_float16 = {
11741 // Begin of an example
11742 {
11743 .operands = {
11744 //Input(s)
11745 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11746 // int -> Dimensions map
11747 .operandDimensions = {{0, {1, 8, 8, 3}}},
11748 // int -> FLOAT32 map
11749 .float32Operands = {},
11750 // int -> INT32 map
11751 .int32Operands = {},
11752 // int -> QUANT8_ASYMM map
11753 .quant8AsymmOperands = {},
11754 // int -> QUANT16_SYMM map
11755 .quant16SymmOperands = {},
11756 // int -> FLOAT16 map
11757 .float16Operands = {{0, {-0.8699309825897217f, 0.6446279883384705f, -0.9183930158615112f, 0.153671994805336f, 0.8685619831085205f, -0.3581770062446594f, -0.13493099808692932f, -0.24756500124931335f, 0.2217400074005127f, -0.2591570019721985f, -0.2842960059642792f, -0.5380650162696838f, 0.7655590176582336f, 0.41986000537872314f, -0.556240975856781f, 0.6584939956665039f, 0.214355006814003f, -0.8501690030097961f, -0.25289300084114075f, -0.47893500328063965f, 0.5305259823799133f, -0.07006630301475525f, -0.9887290000915527f, -0.30306100845336914f, 0.150845006108284f, 0.8299149870872498f, 0.47634899616241455f, 0.4065369963645935f, -0.3553430140018463f, 0.7571449875831604f, -0.356361985206604f, 0.8004819750785828f, -0.7138609886169434f, 0.21048299968242645f, -0.6343029737472534f, 0.7182360291481018f, -0.7520380020141602f, 0.45754700899124146f, -0.5507689714431763f, -0.551177978515625f, 0.4467659890651703f, -0.22746199369430542f, 0.21634800732135773f, -0.8528059720993042f, -0.3514859974384308f, 0.5590599775314331f, -0.6684929728507996f, -0.3034929931163788f, -0.3637630045413971f, -0.16283699870109558f, 0.07010120153427124f, 0.7560970187187195f, -0.14226900041103363f, 0.3297240138053894f, -0.6563169956207275f, -0.9980859756469727f, -0.6529489755630493f, -0.4031600058078766f, -0.8936820030212402f, 0.43274399638175964f, 0.6123620271682739f, -0.8695880174636841f, -0.7132700085639954f, -0.39809200167655945f, -0.04235589876770973f, 0.4365760087966919f, -0.9252719879150391f, 0.1765490025281906f, 0.8229039907455444f, 0.0968329980969429f, -0.29680201411247253f, -0.4271950125694275f, 0.0316540002822876f, -0.25447899103164673f, 0.2449049949645996f, 0.09482540190219879f, 0.6437690258026123f, -0.9039099812507629f, 0.3526650071144104f, -0.9011790156364441f, 0.2661589980125427f, -0.96806800365448f, -0.615401029586792f, -0.38897499442100525f, 0.9390519857406616f, -0.11628899723291397f, 0.10752300173044205f, -0.058271098881959915f, 0.4351719915866852f, 0.33467501401901245f, 0.4597109854221344f, 0.7174360156059265f, 0.49662700295448303f, -0.6801750063896179f, -0.4150660037994385f, 0.33984801173210144f, 0.5060039758682251f, -0.3378080129623413f, -0.10721799731254578f, -0.1724960058927536f, 0.8706380128860474f, 0.9318720102310181f, -0.9538840055465698f, 0.9030420184135437f, 0.7600780129432678f, 0.20972700417041779f, -0.28538399934768677f, -0.45513999462127686f, 0.11319400370121002f, 0.07566110044717789f, 0.09244350343942642f, -0.47286298871040344f, 0.9606090188026428f, -0.16038499772548676f, -0.8394449949264526f, 0.45709699392318726f, 0.1633480042219162f, 0.3448669910430908f, -0.13161900639533997f, 0.6887149810791016f, -0.5408269762992859f, 0.5712590217590332f, -0.9558699727058411f, 0.506164014339447f, -0.1558389961719513f, 0.07896210253238678f, 0.756771981716156f, -0.6620690226554871f, 0.24290800094604492f, 0.4608210027217865f, 0.17787200212478638f, -0.2898389995098114f, -0.6406030058860779f, 0.702597975730896f, -0.5064060091972351f, -0.568261981010437f, -0.07137160003185272f, 0.4137920141220093f, 0.15967300534248352f, -0.3052079975605011f, 0.13381600379943848f, -0.16025400161743164f, 0.787322998046875f, -0.7532439827919006f, 0.600721001625061f, 0.2631860077381134f, -0.16238699853420258f, 0.4779619872570038f, -0.7029510140419006f, -0.7310360074043274f, -0.9394810199737549f, -0.5245190262794495f, 0.9340720176696777f, -0.5116369724273682f, -0.5034989714622498f, 0.10623600333929062f, -0.3236840069293976f, 0.5344439744949341f, -0.8437449932098389f, 0.36417099833488464f, 0.03703580051660538f, -0.16880099475383759f, -0.4045589864253998f, -0.8141779899597168f, 0.9174500107765198f, -0.3342759907245636f, 0.6692500114440918f, -0.8012009859085083f, 0.15651099383831024f, -0.4279490113258362f, 0.3791530132293701f, 0.8185970187187195f, -0.6499019861221313f, 0.4270870089530945f, -0.586014986038208f, -0.5597890019416809f, -0.8339229822158813f, 0.0892409011721611f, -0.6212509870529175f, 0.2138260006904602f, 0.46550899744033813f, 0.47040000557899475f, 0.38026100397109985f, 0.4130670130252838f, 0.1808219999074936f, 0.17286600172519684f, 0.5961400270462036f, 0.8255749940872192f, 0.6629160046577454f, -0.704380989074707f, -0.29763099551200867f, 0.6977779865264893f}}},
11758 // int -> BOOL8 map
11759 .bool8Operands = {},
11760 // int -> QUANT8_SYMM_PER_CHANNEL map
11761 .quant8ChannelOperands = {},
11762 // int -> QUANT16_ASYMM map
11763 .quant16AsymmOperands = {},
11764 // int -> QUANT8_SYMM map
11765 .quant8SymmOperands = {},
11766 },
11767 //Output(s)
11768 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11769 // int -> Dimensions map
11770 .operandDimensions = {{0, {1, 6, 7, 1}}},
11771 // int -> FLOAT32 map
11772 .float32Operands = {},
11773 // int -> INT32 map
11774 .int32Operands = {},
11775 // int -> QUANT8_ASYMM map
11776 .quant8AsymmOperands = {},
11777 // int -> QUANT16_SYMM map
11778 .quant16SymmOperands = {},
11779 // int -> FLOAT16 map
11780 .float16Operands = {{0, {1.7200299501419067f, 1.5581599473953247f, 0.6675459742546082f, 2.2366299629211426f, 0.06615159660577774f, 0.29025399684906006f, 0.770222008228302f, -1.581969976425171f, -0.8505949974060059f, -0.48422399163246155f, 0.9499670267105103f, -0.5772629976272583f, -0.8719490170478821f, 2.341320037841797f, -0.1359650045633316f, -0.985713005065918f, 0.8151469826698303f, 1.0311399698257446f, -1.4191499948501587f, -0.515533983707428f, -0.37363898754119873f, -1.5060399770736694f, 0.6731129884719849f, 3.061389923095703f, -0.38857799768447876f, -1.7670700550079346f, -0.3156670033931732f, -1.0381499528884888f, 0.4327870011329651f, -1.4164299964904785f, 1.1294399499893188f, -0.17580600082874298f, -0.8464149832725525f, 1.4009499549865723f, 0.7083200216293335f, 2.195620059967041f, -2.6126599311828613f, -0.7053830027580261f, 1.261240005493164f, 1.4654500484466553f, -2.357609987258911f, 2.0449399948120117f}}},
11781 // int -> BOOL8 map
11782 .bool8Operands = {},
11783 // int -> QUANT8_SYMM_PER_CHANNEL map
11784 .quant8ChannelOperands = {},
11785 // int -> QUANT16_ASYMM map
11786 .quant16AsymmOperands = {},
11787 // int -> QUANT8_SYMM map
11788 .quant8SymmOperands = {},
11789 }
11790 },
11791 }, // End of an example
11792 // Begin of an example
11793 {
11794 .operands = {
11795 //Input(s)
11796 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11797 // int -> Dimensions map
11798 .operandDimensions = {{0, {1, 8, 8, 3}}},
11799 // int -> FLOAT32 map
11800 .float32Operands = {},
11801 // int -> INT32 map
11802 .int32Operands = {},
11803 // int -> QUANT8_ASYMM map
11804 .quant8AsymmOperands = {},
11805 // int -> QUANT16_SYMM map
11806 .quant16SymmOperands = {},
11807 // int -> FLOAT16 map
11808 .float16Operands = {{0, {-0.29533499479293823f, -0.0038760099560022354f, -0.5522509813308716f, 0.16608400642871857f, -0.28481999039649963f, -0.15214300155639648f, -0.719884991645813f, -0.8693860173225403f, -0.7455980181694031f, 0.823947012424469f, 0.4731830060482025f, -0.33133700489997864f, 0.18763099610805511f, 0.04265709966421127f, -0.8268970251083374f, -0.7550849914550781f, -0.4724529981613159f, -0.023365600034594536f, 0.04834359884262085f, 0.9334179759025574f, -0.961974024772644f, 0.012578300200402737f, 0.21974200010299683f, 0.34260401129722595f, -0.1516599953174591f, 0.09349049627780914f, 0.7832210063934326f, 0.12966400384902954f, 0.8388440012931824f, -0.2713879942893982f, 0.9245190024375916f, 0.3428429961204529f, 0.2744179964065552f, 0.3508169949054718f, 0.8416380286216736f, -0.5439929962158203f, -0.002833950100466609f, -0.12846699357032776f, -0.6829429864883423f, -0.31911700963974f, 0.846340000629425f, 0.2830030024051666f, 0.32864999771118164f, 0.029375499114394188f, -0.03356960043311119f, 0.5912659764289856f, -0.0743476003408432f, -0.7412710189819336f, 0.4620560109615326f, -0.5836250185966492f, -0.5901830196380615f, 0.6233999729156494f, 0.535269021987915f, -0.6708179712295532f, -0.9556419849395752f, -0.7701730132102966f, 0.4799860119819641f, 0.664376974105835f, 0.3994449973106384f, -0.9688739776611328f, -0.2762629985809326f, -0.901951014995575f, 0.5441039800643921f, -0.9589809775352478f, 0.4826579988002777f, -0.8072839975357056f, 0.30536898970603943f, -0.9478179812431335f, 0.8274980187416077f, -0.38288700580596924f, -0.805741012096405f, -0.7966780066490173f, -0.2998040020465851f, -0.22982800006866455f, 0.8187829852104187f, -0.10305500030517578f, -0.4556800127029419f, -0.22782699763774872f, 0.5437430143356323f, -0.9607300162315369f, 0.9467470049858093f, -0.8571820259094238f, -0.9642599821090698f, -0.2924109995365143f, -0.7156140208244324f, 0.7652779817581177f, -0.47504299879074097f, -0.590142011642456f, -0.2385070025920868f, 0.6730020046234131f, -0.4733569920063019f, -0.31962600350379944f, 0.9360139966011047f, 0.48660698533058167f, 0.580843985080719f, 0.42535200715065f, -0.8009939789772034f, 0.2907629907131195f, -0.4949530065059662f, -0.44116199016571045f, 0.7186769843101501f, -0.8284270167350769f, 0.9696499705314636f, 7.536369957961142e-05f, -0.6999729871749878f, -0.526885986328125f, -0.3526819944381714f, 0.7994660139083862f, 0.33278900384902954f, 0.7233890295028687f, 0.40765899419784546f, -0.9340839982032776f, -0.2847050130367279f, 0.9614840149879456f, -0.7003949880599976f, -0.9858080148696899f, -0.5953419804573059f, -0.6917210221290588f, 0.4944800138473511f, -0.08426489681005478f, 0.03909660130739212f, 0.29893800616264343f, -0.12809400260448456f, -0.9715800285339355f, 0.8639299869537354f, 0.27060601115226746f, -0.46898600459098816f, -0.25660499930381775f, 0.4721499979496002f, -0.2731170058250427f, -0.5903429985046387f, -0.8265290260314941f, -0.7253810167312622f, -0.19482100009918213f, -0.2596609890460968f, -0.09492070227861404f, -0.1803019940853119f, 0.04468340054154396f, -0.22213299572467804f, -0.40393000841140747f, 0.295771986246109f, -0.9294899702072144f, 0.5800790190696716f, -0.169855996966362f, 0.33031100034713745f, 0.017355099320411682f, -0.6358230113983154f, 0.4759419858455658f, 0.9071750044822693f, 0.2427770048379898f, -0.5122079849243164f, 0.36246299743652344f, 0.04962889850139618f, 0.6517099738121033f, 0.9900569915771484f, 0.690733015537262f, -0.4690130054950714f, -0.10131099820137024f, -0.6837199926376343f, -0.15784099698066711f, -0.677711009979248f, -0.7082239985466003f, -0.6594370007514954f, -0.40760698914527893f, 0.677033007144928f, 0.8903200030326843f, 0.22830699384212494f, -0.7495139837265015f, 0.772957980632782f, 0.054701000452041626f, 0.551705002784729f, 0.9170519709587097f, -0.8950219750404358f, -0.7023969888687134f, 0.484142005443573f, 0.10864800214767456f, 0.8333470225334167f, 0.47887200117111206f, -0.984112024307251f, 0.3871760070323944f, -0.732990026473999f, 0.7526000142097473f, 0.44331198930740356f, -0.09878560155630112f, 0.12541499733924866f, 0.10875999927520752f, -0.49810799956321716f, 0.43209001421928406f, 0.34460899233818054f, 0.928941011428833f, -0.130731999874115f, -0.056916698813438416f}}},
11809 // int -> BOOL8 map
11810 .bool8Operands = {},
11811 // int -> QUANT8_SYMM_PER_CHANNEL map
11812 .quant8ChannelOperands = {},
11813 // int -> QUANT16_ASYMM map
11814 .quant16AsymmOperands = {},
11815 // int -> QUANT8_SYMM map
11816 .quant8SymmOperands = {},
11817 },
11818 //Output(s)
11819 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11820 // int -> Dimensions map
11821 .operandDimensions = {{0, {1, 6, 7, 1}}},
11822 // int -> FLOAT32 map
11823 .float32Operands = {},
11824 // int -> INT32 map
11825 .int32Operands = {},
11826 // int -> QUANT8_ASYMM map
11827 .quant8AsymmOperands = {},
11828 // int -> QUANT16_SYMM map
11829 .quant16SymmOperands = {},
11830 // int -> FLOAT16 map
11831 .float16Operands = {{0, {1.287350058555603f, 1.9131499528884888f, 2.5173399448394775f, 0.3758409917354584f, 0.6375629901885986f, 2.6530001163482666f, 2.7295899391174316f, 1.1738899946212769f, -2.121190071105957f, 2.914170026779175f, -2.242460012435913f, 0.049704499542713165f, -0.12710699439048767f, -0.14447300136089325f, -0.39328399300575256f, -2.0234599113464355f, -0.23917800188064575f, -0.24650800228118896f, 1.2927700281143188f, 1.3296300172805786f, 0.1175210028886795f, 0.06657130271196365f, 1.0943800210952759f, -1.3142600059509277f, 2.52593994140625f, -0.9692109823226929f, 0.5154780149459839f, -1.6092599630355835f, 0.1352110058069229f, 0.7864149808883667f, -1.14382004737854f, -0.7391020059585571f, -1.0173100233078003f, 0.2816149890422821f, 2.363110065460205f, 1.9387199878692627f, -0.15049099922180176f, 3.452169895172119f, 2.2821900844573975f, 1.1828199625015259f, -2.2508599758148193f, 3.054680109024048f}}},
11832 // int -> BOOL8 map
11833 .bool8Operands = {},
11834 // int -> QUANT8_SYMM_PER_CHANNEL map
11835 .quant8ChannelOperands = {},
11836 // int -> QUANT16_ASYMM map
11837 .quant16AsymmOperands = {},
11838 // int -> QUANT8_SYMM map
11839 .quant8SymmOperands = {},
11840 }
11841 },
11842 }, // End of an example
11843 };
11844 return examples_1_H3_W2_VALID_dynamic_output_shape_nhwc_float16;
11845 };
11846
get_examples_1_H3_W2_VALID_dynamic_output_shape_nchw()11847 std::vector<MixedTypedExample>& get_examples_1_H3_W2_VALID_dynamic_output_shape_nchw() {
11848 static std::vector<MixedTypedExample> examples_1_H3_W2_VALID_dynamic_output_shape_nchw = {
11849 // Begin of an example
11850 {
11851 .operands = {
11852 //Input(s)
11853 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11854 // int -> Dimensions map
11855 .operandDimensions = {{0, {1, 3, 8, 8}}},
11856 // int -> FLOAT32 map
11857 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
11858 // int -> INT32 map
11859 .int32Operands = {},
11860 // int -> QUANT8_ASYMM map
11861 .quant8AsymmOperands = {},
11862 // int -> QUANT16_SYMM map
11863 .quant16SymmOperands = {},
11864 // int -> FLOAT16 map
11865 .float16Operands = {},
11866 // int -> BOOL8 map
11867 .bool8Operands = {},
11868 // int -> QUANT8_SYMM_PER_CHANNEL map
11869 .quant8ChannelOperands = {},
11870 // int -> QUANT16_ASYMM map
11871 .quant16AsymmOperands = {},
11872 // int -> QUANT8_SYMM map
11873 .quant8SymmOperands = {},
11874 },
11875 //Output(s)
11876 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11877 // int -> Dimensions map
11878 .operandDimensions = {{0, {1, 1, 6, 7}}},
11879 // int -> FLOAT32 map
11880 .float32Operands = {{0, {1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f}}},
11881 // int -> INT32 map
11882 .int32Operands = {},
11883 // int -> QUANT8_ASYMM map
11884 .quant8AsymmOperands = {},
11885 // int -> QUANT16_SYMM map
11886 .quant16SymmOperands = {},
11887 // int -> FLOAT16 map
11888 .float16Operands = {},
11889 // int -> BOOL8 map
11890 .bool8Operands = {},
11891 // int -> QUANT8_SYMM_PER_CHANNEL map
11892 .quant8ChannelOperands = {},
11893 // int -> QUANT16_ASYMM map
11894 .quant16AsymmOperands = {},
11895 // int -> QUANT8_SYMM map
11896 .quant8SymmOperands = {},
11897 }
11898 },
11899 }, // End of an example
11900 // Begin of an example
11901 {
11902 .operands = {
11903 //Input(s)
11904 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11905 // int -> Dimensions map
11906 .operandDimensions = {{0, {1, 3, 8, 8}}},
11907 // int -> FLOAT32 map
11908 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
11909 // int -> INT32 map
11910 .int32Operands = {},
11911 // int -> QUANT8_ASYMM map
11912 .quant8AsymmOperands = {},
11913 // int -> QUANT16_SYMM map
11914 .quant16SymmOperands = {},
11915 // int -> FLOAT16 map
11916 .float16Operands = {},
11917 // int -> BOOL8 map
11918 .bool8Operands = {},
11919 // int -> QUANT8_SYMM_PER_CHANNEL map
11920 .quant8ChannelOperands = {},
11921 // int -> QUANT16_ASYMM map
11922 .quant16AsymmOperands = {},
11923 // int -> QUANT8_SYMM map
11924 .quant8SymmOperands = {},
11925 },
11926 //Output(s)
11927 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11928 // int -> Dimensions map
11929 .operandDimensions = {{0, {1, 1, 6, 7}}},
11930 // int -> FLOAT32 map
11931 .float32Operands = {{0, {1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f}}},
11932 // int -> INT32 map
11933 .int32Operands = {},
11934 // int -> QUANT8_ASYMM map
11935 .quant8AsymmOperands = {},
11936 // int -> QUANT16_SYMM map
11937 .quant16SymmOperands = {},
11938 // int -> FLOAT16 map
11939 .float16Operands = {},
11940 // int -> BOOL8 map
11941 .bool8Operands = {},
11942 // int -> QUANT8_SYMM_PER_CHANNEL map
11943 .quant8ChannelOperands = {},
11944 // int -> QUANT16_ASYMM map
11945 .quant16AsymmOperands = {},
11946 // int -> QUANT8_SYMM map
11947 .quant8SymmOperands = {},
11948 }
11949 },
11950 }, // End of an example
11951 };
11952 return examples_1_H3_W2_VALID_dynamic_output_shape_nchw;
11953 };
11954
get_examples_1_H3_W2_VALID_dynamic_output_shape_nchw_relaxed()11955 std::vector<MixedTypedExample>& get_examples_1_H3_W2_VALID_dynamic_output_shape_nchw_relaxed() {
11956 static std::vector<MixedTypedExample> examples_1_H3_W2_VALID_dynamic_output_shape_nchw_relaxed = {
11957 // Begin of an example
11958 {
11959 .operands = {
11960 //Input(s)
11961 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11962 // int -> Dimensions map
11963 .operandDimensions = {{0, {1, 3, 8, 8}}},
11964 // int -> FLOAT32 map
11965 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
11966 // int -> INT32 map
11967 .int32Operands = {},
11968 // int -> QUANT8_ASYMM map
11969 .quant8AsymmOperands = {},
11970 // int -> QUANT16_SYMM map
11971 .quant16SymmOperands = {},
11972 // int -> FLOAT16 map
11973 .float16Operands = {},
11974 // int -> BOOL8 map
11975 .bool8Operands = {},
11976 // int -> QUANT8_SYMM_PER_CHANNEL map
11977 .quant8ChannelOperands = {},
11978 // int -> QUANT16_ASYMM map
11979 .quant16AsymmOperands = {},
11980 // int -> QUANT8_SYMM map
11981 .quant8SymmOperands = {},
11982 },
11983 //Output(s)
11984 { // See tools/test_generator/include/TestHarness.h:MixedTyped
11985 // int -> Dimensions map
11986 .operandDimensions = {{0, {1, 1, 6, 7}}},
11987 // int -> FLOAT32 map
11988 .float32Operands = {{0, {1.72003f, 1.55816f, 0.667546f, 2.23663f, 0.0661516f, 0.290254f, 0.770222f, -1.58197f, -0.850595f, -0.484224f, 0.949967f, -0.577263f, -0.871949f, 2.34132f, -0.135965f, -0.985713f, 0.815147f, 1.03114f, -1.41915f, -0.515534f, -0.373639f, -1.50604f, 0.673113f, 3.06139f, -0.388578f, -1.76707f, -0.315667f, -1.03815f, 0.432787f, -1.41643f, 1.12944f, -0.175806f, -0.846415f, 1.40095f, 0.70832f, 2.19562f, -2.61266f, -0.705383f, 1.26124f, 1.46545f, -2.35761f, 2.04494f}}},
11989 // int -> INT32 map
11990 .int32Operands = {},
11991 // int -> QUANT8_ASYMM map
11992 .quant8AsymmOperands = {},
11993 // int -> QUANT16_SYMM map
11994 .quant16SymmOperands = {},
11995 // int -> FLOAT16 map
11996 .float16Operands = {},
11997 // int -> BOOL8 map
11998 .bool8Operands = {},
11999 // int -> QUANT8_SYMM_PER_CHANNEL map
12000 .quant8ChannelOperands = {},
12001 // int -> QUANT16_ASYMM map
12002 .quant16AsymmOperands = {},
12003 // int -> QUANT8_SYMM map
12004 .quant8SymmOperands = {},
12005 }
12006 },
12007 }, // End of an example
12008 // Begin of an example
12009 {
12010 .operands = {
12011 //Input(s)
12012 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12013 // int -> Dimensions map
12014 .operandDimensions = {{0, {1, 3, 8, 8}}},
12015 // int -> FLOAT32 map
12016 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
12017 // int -> INT32 map
12018 .int32Operands = {},
12019 // int -> QUANT8_ASYMM map
12020 .quant8AsymmOperands = {},
12021 // int -> QUANT16_SYMM map
12022 .quant16SymmOperands = {},
12023 // int -> FLOAT16 map
12024 .float16Operands = {},
12025 // int -> BOOL8 map
12026 .bool8Operands = {},
12027 // int -> QUANT8_SYMM_PER_CHANNEL map
12028 .quant8ChannelOperands = {},
12029 // int -> QUANT16_ASYMM map
12030 .quant16AsymmOperands = {},
12031 // int -> QUANT8_SYMM map
12032 .quant8SymmOperands = {},
12033 },
12034 //Output(s)
12035 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12036 // int -> Dimensions map
12037 .operandDimensions = {{0, {1, 1, 6, 7}}},
12038 // int -> FLOAT32 map
12039 .float32Operands = {{0, {1.28735f, 1.91315f, 2.51734f, 0.375841f, 0.637563f, 2.653f, 2.72959f, 1.17389f, -2.12119f, 2.91417f, -2.24246f, 0.0497045f, -0.127107f, -0.144473f, -0.393284f, -2.02346f, -0.239178f, -0.246508f, 1.29277f, 1.32963f, 0.117521f, 0.0665713f, 1.09438f, -1.31426f, 2.52594f, -0.969211f, 0.515478f, -1.60926f, 0.135211f, 0.786415f, -1.14382f, -0.739102f, -1.01731f, 0.281615f, 2.36311f, 1.93872f, -0.150491f, 3.45217f, 2.28219f, 1.18282f, -2.25086f, 3.05468f}}},
12040 // int -> INT32 map
12041 .int32Operands = {},
12042 // int -> QUANT8_ASYMM map
12043 .quant8AsymmOperands = {},
12044 // int -> QUANT16_SYMM map
12045 .quant16SymmOperands = {},
12046 // int -> FLOAT16 map
12047 .float16Operands = {},
12048 // int -> BOOL8 map
12049 .bool8Operands = {},
12050 // int -> QUANT8_SYMM_PER_CHANNEL map
12051 .quant8ChannelOperands = {},
12052 // int -> QUANT16_ASYMM map
12053 .quant16AsymmOperands = {},
12054 // int -> QUANT8_SYMM map
12055 .quant8SymmOperands = {},
12056 }
12057 },
12058 }, // End of an example
12059 };
12060 return examples_1_H3_W2_VALID_dynamic_output_shape_nchw_relaxed;
12061 };
12062
get_examples_1_H3_W2_VALID_dynamic_output_shape_nchw_float16()12063 std::vector<MixedTypedExample>& get_examples_1_H3_W2_VALID_dynamic_output_shape_nchw_float16() {
12064 static std::vector<MixedTypedExample> examples_1_H3_W2_VALID_dynamic_output_shape_nchw_float16 = {
12065 // Begin of an example
12066 {
12067 .operands = {
12068 //Input(s)
12069 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12070 // int -> Dimensions map
12071 .operandDimensions = {{0, {1, 3, 8, 8}}},
12072 // int -> FLOAT32 map
12073 .float32Operands = {},
12074 // int -> INT32 map
12075 .int32Operands = {},
12076 // int -> QUANT8_ASYMM map
12077 .quant8AsymmOperands = {},
12078 // int -> QUANT16_SYMM map
12079 .quant16SymmOperands = {},
12080 // int -> FLOAT16 map
12081 .float16Operands = {{0, {-0.8699309825897217f, 0.153671994805336f, -0.13493099808692932f, -0.2591570019721985f, 0.7655590176582336f, 0.6584939956665039f, -0.25289300084114075f, -0.07006630301475525f, 0.150845006108284f, 0.4065369963645935f, -0.356361985206604f, 0.21048299968242645f, -0.7520380020141602f, -0.551177978515625f, 0.21634800732135773f, 0.5590599775314331f, -0.3637630045413971f, 0.7560970187187195f, -0.6563169956207275f, -0.4031600058078766f, 0.6123620271682739f, -0.39809200167655945f, -0.9252719879150391f, 0.0968329980969429f, 0.0316540002822876f, 0.09482540190219879f, 0.3526650071144104f, -0.96806800365448f, 0.9390519857406616f, -0.058271098881959915f, 0.4597109854221344f, -0.6801750063896179f, 0.5060039758682251f, -0.1724960058927536f, -0.9538840055465698f, 0.20972700417041779f, 0.11319400370121002f, -0.47286298871040344f, -0.8394449949264526f, 0.3448669910430908f, -0.5408269762992859f, 0.506164014339447f, 0.756771981716156f, 0.4608210027217865f, -0.6406030058860779f, -0.568261981010437f, 0.15967300534248352f, -0.16025400161743164f, 0.600721001625061f, 0.4779619872570038f, -0.9394810199737549f, -0.5116369724273682f, -0.3236840069293976f, 0.36417099833488464f, -0.4045589864253998f, -0.3342759907245636f, 0.15651099383831024f, 0.8185970187187195f, -0.586014986038208f, 0.0892409011721611f, 0.46550899744033813f, 0.4130670130252838f, 0.5961400270462036f, -0.704380989074707f, 0.6446279883384705f, 0.8685619831085205f, -0.24756500124931335f, -0.2842960059642792f, 0.41986000537872314f, 0.214355006814003f, -0.47893500328063965f, -0.9887290000915527f, 0.8299149870872498f, -0.3553430140018463f, 0.8004819750785828f, -0.6343029737472534f, 0.45754700899124146f, 0.4467659890651703f, -0.8528059720993042f, -0.6684929728507996f, -0.16283699870109558f, -0.14226900041103363f, -0.9980859756469727f, -0.8936820030212402f, -0.8695880174636841f, -0.04235589876770973f, 0.1765490025281906f, -0.29680201411247253f, -0.25447899103164673f, 0.6437690258026123f, -0.9011790156364441f, -0.615401029586792f, -0.11628899723291397f, 0.4351719915866852f, 0.7174360156059265f, -0.4150660037994385f, -0.3378080129623413f, 0.8706380128860474f, 0.9030420184135437f, -0.28538399934768677f, 0.07566110044717789f, 0.9606090188026428f, 0.45709699392318726f, -0.13161900639533997f, 0.5712590217590332f, -0.1558389961719513f, -0.6620690226554871f, 0.17787200212478638f, 0.702597975730896f, -0.07137160003185272f, -0.3052079975605011f, 0.787322998046875f, 0.2631860077381134f, -0.7029510140419006f, -0.5245190262794495f, -0.5034989714622498f, 0.5344439744949341f, 0.03703580051660538f, -0.8141779899597168f, 0.6692500114440918f, -0.4279490113258362f, -0.6499019861221313f, -0.5597890019416809f, -0.6212509870529175f, 0.47040000557899475f, 0.1808219999074936f, 0.8255749940872192f, -0.29763099551200867f, -0.9183930158615112f, -0.3581770062446594f, 0.2217400074005127f, -0.5380650162696838f, -0.556240975856781f, -0.8501690030097961f, 0.5305259823799133f, -0.30306100845336914f, 0.47634899616241455f, 0.7571449875831604f, -0.7138609886169434f, 0.7182360291481018f, -0.5507689714431763f, -0.22746199369430542f, -0.3514859974384308f, -0.3034929931163788f, 0.07010120153427124f, 0.3297240138053894f, -0.6529489755630493f, 0.43274399638175964f, -0.7132700085639954f, 0.4365760087966919f, 0.8229039907455444f, -0.4271950125694275f, 0.2449049949645996f, -0.9039099812507629f, 0.2661589980125427f, -0.38897499442100525f, 0.10752300173044205f, 0.33467501401901245f, 0.49662700295448303f, 0.33984801173210144f, -0.10721799731254578f, 0.9318720102310181f, 0.7600780129432678f, -0.45513999462127686f, 0.09244350343942642f, -0.16038499772548676f, 0.1633480042219162f, 0.6887149810791016f, -0.9558699727058411f, 0.07896210253238678f, 0.24290800094604492f, -0.2898389995098114f, -0.5064060091972351f, 0.4137920141220093f, 0.13381600379943848f, -0.7532439827919006f, -0.16238699853420258f, -0.7310360074043274f, 0.9340720176696777f, 0.10623600333929062f, -0.8437449932098389f, -0.16880099475383759f, 0.9174500107765198f, -0.8012009859085083f, 0.3791530132293701f, 0.4270870089530945f, -0.8339229822158813f, 0.2138260006904602f, 0.38026100397109985f, 0.17286600172519684f, 0.6629160046577454f, 0.6977779865264893f}}},
12082 // int -> BOOL8 map
12083 .bool8Operands = {},
12084 // int -> QUANT8_SYMM_PER_CHANNEL map
12085 .quant8ChannelOperands = {},
12086 // int -> QUANT16_ASYMM map
12087 .quant16AsymmOperands = {},
12088 // int -> QUANT8_SYMM map
12089 .quant8SymmOperands = {},
12090 },
12091 //Output(s)
12092 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12093 // int -> Dimensions map
12094 .operandDimensions = {{0, {1, 1, 6, 7}}},
12095 // int -> FLOAT32 map
12096 .float32Operands = {},
12097 // int -> INT32 map
12098 .int32Operands = {},
12099 // int -> QUANT8_ASYMM map
12100 .quant8AsymmOperands = {},
12101 // int -> QUANT16_SYMM map
12102 .quant16SymmOperands = {},
12103 // int -> FLOAT16 map
12104 .float16Operands = {{0, {1.7200299501419067f, 1.5581599473953247f, 0.6675459742546082f, 2.2366299629211426f, 0.06615159660577774f, 0.29025399684906006f, 0.770222008228302f, -1.581969976425171f, -0.8505949974060059f, -0.48422399163246155f, 0.9499670267105103f, -0.5772629976272583f, -0.8719490170478821f, 2.341320037841797f, -0.1359650045633316f, -0.985713005065918f, 0.8151469826698303f, 1.0311399698257446f, -1.4191499948501587f, -0.515533983707428f, -0.37363898754119873f, -1.5060399770736694f, 0.6731129884719849f, 3.061389923095703f, -0.38857799768447876f, -1.7670700550079346f, -0.3156670033931732f, -1.0381499528884888f, 0.4327870011329651f, -1.4164299964904785f, 1.1294399499893188f, -0.17580600082874298f, -0.8464149832725525f, 1.4009499549865723f, 0.7083200216293335f, 2.195620059967041f, -2.6126599311828613f, -0.7053830027580261f, 1.261240005493164f, 1.4654500484466553f, -2.357609987258911f, 2.0449399948120117f}}},
12105 // int -> BOOL8 map
12106 .bool8Operands = {},
12107 // int -> QUANT8_SYMM_PER_CHANNEL map
12108 .quant8ChannelOperands = {},
12109 // int -> QUANT16_ASYMM map
12110 .quant16AsymmOperands = {},
12111 // int -> QUANT8_SYMM map
12112 .quant8SymmOperands = {},
12113 }
12114 },
12115 }, // End of an example
12116 // Begin of an example
12117 {
12118 .operands = {
12119 //Input(s)
12120 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12121 // int -> Dimensions map
12122 .operandDimensions = {{0, {1, 3, 8, 8}}},
12123 // int -> FLOAT32 map
12124 .float32Operands = {},
12125 // int -> INT32 map
12126 .int32Operands = {},
12127 // int -> QUANT8_ASYMM map
12128 .quant8AsymmOperands = {},
12129 // int -> QUANT16_SYMM map
12130 .quant16SymmOperands = {},
12131 // int -> FLOAT16 map
12132 .float16Operands = {{0, {-0.29533499479293823f, 0.16608400642871857f, -0.719884991645813f, 0.823947012424469f, 0.18763099610805511f, -0.7550849914550781f, 0.04834359884262085f, 0.012578300200402737f, -0.1516599953174591f, 0.12966400384902954f, 0.9245190024375916f, 0.3508169949054718f, -0.002833950100466609f, -0.31911700963974f, 0.32864999771118164f, 0.5912659764289856f, 0.4620560109615326f, 0.6233999729156494f, -0.9556419849395752f, 0.664376974105835f, -0.2762629985809326f, -0.9589809775352478f, 0.30536898970603943f, -0.38288700580596924f, -0.2998040020465851f, -0.10305500030517578f, 0.5437430143356323f, -0.8571820259094238f, -0.7156140208244324f, -0.590142011642456f, -0.4733569920063019f, 0.48660698533058167f, -0.8009939789772034f, -0.44116199016571045f, 0.9696499705314636f, -0.526885986328125f, 0.33278900384902954f, -0.9340839982032776f, -0.7003949880599976f, -0.6917210221290588f, 0.03909660130739212f, -0.9715800285339355f, -0.46898600459098816f, -0.2731170058250427f, -0.7253810167312622f, -0.09492070227861404f, -0.22213299572467804f, -0.9294899702072144f, 0.33031100034713745f, 0.4759419858455658f, -0.5122079849243164f, 0.6517099738121033f, -0.4690130054950714f, -0.15784099698066711f, -0.6594370007514954f, 0.8903200030326843f, 0.772957980632782f, 0.9170519709587097f, 0.484142005443573f, 0.47887200117111206f, -0.732990026473999f, -0.09878560155630112f, -0.49810799956321716f, 0.928941011428833f, -0.0038760099560022354f, -0.28481999039649963f, -0.8693860173225403f, 0.4731830060482025f, 0.04265709966421127f, -0.4724529981613159f, 0.9334179759025574f, 0.21974200010299683f, 0.09349049627780914f, 0.8388440012931824f, 0.3428429961204529f, 0.8416380286216736f, -0.12846699357032776f, 0.846340000629425f, 0.029375499114394188f, -0.0743476003408432f, -0.5836250185966492f, 0.535269021987915f, -0.7701730132102966f, 0.3994449973106384f, -0.901951014995575f, 0.4826579988002777f, -0.9478179812431335f, -0.805741012096405f, -0.22982800006866455f, -0.4556800127029419f, -0.9607300162315369f, -0.9642599821090698f, 0.7652779817581177f, -0.2385070025920868f, -0.31962600350379944f, 0.580843985080719f, 0.2907629907131195f, 0.7186769843101501f, 7.536369957961142e-05f, -0.3526819944381714f, 0.7233890295028687f, -0.2847050130367279f, -0.9858080148696899f, 0.4944800138473511f, 0.29893800616264343f, 0.8639299869537354f, -0.25660499930381775f, -0.5903429985046387f, -0.19482100009918213f, -0.1803019940853119f, -0.40393000841140747f, 0.5800790190696716f, 0.017355099320411682f, 0.9071750044822693f, 0.36246299743652344f, 0.9900569915771484f, -0.10131099820137024f, -0.677711009979248f, -0.40760698914527893f, 0.22830699384212494f, 0.054701000452041626f, -0.8950219750404358f, 0.10864800214767456f, -0.984112024307251f, 0.7526000142097473f, 0.12541499733924866f, 0.43209001421928406f, -0.130731999874115f, -0.5522509813308716f, -0.15214300155639648f, -0.7455980181694031f, -0.33133700489997864f, -0.8268970251083374f, -0.023365600034594536f, -0.961974024772644f, 0.34260401129722595f, 0.7832210063934326f, -0.2713879942893982f, 0.2744179964065552f, -0.5439929962158203f, -0.6829429864883423f, 0.2830030024051666f, -0.03356960043311119f, -0.7412710189819336f, -0.5901830196380615f, -0.6708179712295532f, 0.4799860119819641f, -0.9688739776611328f, 0.5441039800643921f, -0.8072839975357056f, 0.8274980187416077f, -0.7966780066490173f, 0.8187829852104187f, -0.22782699763774872f, 0.9467470049858093f, -0.2924109995365143f, -0.47504299879074097f, 0.6730020046234131f, 0.9360139966011047f, 0.42535200715065f, -0.4949530065059662f, -0.8284270167350769f, -0.6999729871749878f, 0.7994660139083862f, 0.40765899419784546f, 0.9614840149879456f, -0.5953419804573059f, -0.08426489681005478f, -0.12809400260448456f, 0.27060601115226746f, 0.4721499979496002f, -0.8265290260314941f, -0.2596609890460968f, 0.04468340054154396f, 0.295771986246109f, -0.169855996966362f, -0.6358230113983154f, 0.2427770048379898f, 0.04962889850139618f, 0.690733015537262f, -0.6837199926376343f, -0.7082239985466003f, 0.677033007144928f, -0.7495139837265015f, 0.551705002784729f, -0.7023969888687134f, 0.8333470225334167f, 0.3871760070323944f, 0.44331198930740356f, 0.10875999927520752f, 0.34460899233818054f, -0.056916698813438416f}}},
12133 // int -> BOOL8 map
12134 .bool8Operands = {},
12135 // int -> QUANT8_SYMM_PER_CHANNEL map
12136 .quant8ChannelOperands = {},
12137 // int -> QUANT16_ASYMM map
12138 .quant16AsymmOperands = {},
12139 // int -> QUANT8_SYMM map
12140 .quant8SymmOperands = {},
12141 },
12142 //Output(s)
12143 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12144 // int -> Dimensions map
12145 .operandDimensions = {{0, {1, 1, 6, 7}}},
12146 // int -> FLOAT32 map
12147 .float32Operands = {},
12148 // int -> INT32 map
12149 .int32Operands = {},
12150 // int -> QUANT8_ASYMM map
12151 .quant8AsymmOperands = {},
12152 // int -> QUANT16_SYMM map
12153 .quant16SymmOperands = {},
12154 // int -> FLOAT16 map
12155 .float16Operands = {{0, {1.287350058555603f, 1.9131499528884888f, 2.5173399448394775f, 0.3758409917354584f, 0.6375629901885986f, 2.6530001163482666f, 2.7295899391174316f, 1.1738899946212769f, -2.121190071105957f, 2.914170026779175f, -2.242460012435913f, 0.049704499542713165f, -0.12710699439048767f, -0.14447300136089325f, -0.39328399300575256f, -2.0234599113464355f, -0.23917800188064575f, -0.24650800228118896f, 1.2927700281143188f, 1.3296300172805786f, 0.1175210028886795f, 0.06657130271196365f, 1.0943800210952759f, -1.3142600059509277f, 2.52593994140625f, -0.9692109823226929f, 0.5154780149459839f, -1.6092599630355835f, 0.1352110058069229f, 0.7864149808883667f, -1.14382004737854f, -0.7391020059585571f, -1.0173100233078003f, 0.2816149890422821f, 2.363110065460205f, 1.9387199878692627f, -0.15049099922180176f, 3.452169895172119f, 2.2821900844573975f, 1.1828199625015259f, -2.2508599758148193f, 3.054680109024048f}}},
12156 // int -> BOOL8 map
12157 .bool8Operands = {},
12158 // int -> QUANT8_SYMM_PER_CHANNEL map
12159 .quant8ChannelOperands = {},
12160 // int -> QUANT16_ASYMM map
12161 .quant16AsymmOperands = {},
12162 // int -> QUANT8_SYMM map
12163 .quant8SymmOperands = {},
12164 }
12165 },
12166 }, // End of an example
12167 };
12168 return examples_1_H3_W2_VALID_dynamic_output_shape_nchw_float16;
12169 };
12170
get_examples_3_H3_W2_SAME_nhwc()12171 std::vector<MixedTypedExample>& get_examples_3_H3_W2_SAME_nhwc() {
12172 static std::vector<MixedTypedExample> examples_3_H3_W2_SAME_nhwc = {
12173 // Begin of an example
12174 {
12175 .operands = {
12176 //Input(s)
12177 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12178 // int -> Dimensions map
12179 .operandDimensions = {{0, {1, 8, 8, 3}}},
12180 // int -> FLOAT32 map
12181 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
12182 // int -> INT32 map
12183 .int32Operands = {},
12184 // int -> QUANT8_ASYMM map
12185 .quant8AsymmOperands = {},
12186 // int -> QUANT16_SYMM map
12187 .quant16SymmOperands = {},
12188 // int -> FLOAT16 map
12189 .float16Operands = {},
12190 // int -> BOOL8 map
12191 .bool8Operands = {},
12192 // int -> QUANT8_SYMM_PER_CHANNEL map
12193 .quant8ChannelOperands = {},
12194 // int -> QUANT16_ASYMM map
12195 .quant16AsymmOperands = {},
12196 // int -> QUANT8_SYMM map
12197 .quant8SymmOperands = {},
12198 },
12199 //Output(s)
12200 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12201 // int -> Dimensions map
12202 .operandDimensions = {{0, {1, 8, 8, 3}}},
12203 // int -> FLOAT32 map
12204 .float32Operands = {{0, {-1.27853f, 1.74987f, -0.876718f, 0.989692f, 0.298548f, 0.522103f, -0.536896f, -0.179382f, -0.966914f, 1.33708f, 1.37042f, -0.495494f, 1.43859f, -1.548f, -0.430026f, -0.662793f, -0.0867897f, -0.900658f, -0.524396f, 0.255731f, -0.779081f, 0.12666f, 0.915651f, -0.444765f, -0.186842f, -1.87308f, 1.21135f, -0.385009f, 1.72032f, -1.56036f, -1.23059f, 1.23694f, 0.00200015f, 0.359522f, 1.60084f, 0.434006f, -0.282945f, 2.37292f, -1.28653f, 0.0847837f, -0.352093f, -2.39659f, 0.149246f, 0.920351f, -1.34346f, 0.952311f, -0.35811f, 0.403449f, 0.484796f, -1.19989f, -0.684298f, -1.41301f, 0.103177f, -0.307039f, 1.17741f, 2.58936f, -2.76237f, -1.21565f, -1.09619f, 1.17432f, 0.512143f, 0.771379f, 0.399879f, -0.0533093f, 0.290864f, 0.95563f, 1.16328f, 1.80768f, -1.52564f, -0.126476f, -0.185224f, -0.114779f, 1.2248f, 0.237127f, -0.213297f, -0.619941f, 0.497944f, -1.68688f, 1.59314f, -0.127337f, 0.111419f, 1.13719f, 1.68537f, -0.479644f, 1.18608f, -2.52744f, 1.34136f, 0.548297f, -2.0838f, 2.64585f, -0.993354f, 0.128238f, 1.26092f, 0.318668f, 0.893795f, -0.0600559f, -0.629126f, -0.949229f, 2.25828f, -1.961f, 0.00589599f, -0.187854f, -1.02403f, 0.396121f, 1.3704f, 3.99355f, 0.434221f, 0.274464f, -0.562438f, -0.914871f, 0.539129f, -0.928687f, 0.834954f, 0.844178f, -0.566053f, -0.957341f, 0.933336f, 1.13613f, -1.22109f, 1.4649f, -0.414666f, -0.452821f, -0.706006f, -1.72657f, -0.726574f, -0.0979362f, -0.478669f, 1.78703f, -0.639288f, 1.48565f, -0.179904f, 1.01003f, -0.317118f, -0.675387f, 1.90969f, -1.38343f, 0.697255f, -0.292255f, 1.81634f, 0.717801f, 0.862479f, -0.407478f, -0.343106f, -0.0353232f, -0.481893f, -0.135565f, -2.95941f, 0.247846f, 2.67757f, -2.23999f, -0.519673f, 0.254447f, 0.415283f, -1.01065f, 0.507911f, 0.979926f, -0.184304f, -0.000950437f, -0.734348f, -0.196685f, -0.713241f, 0.594972f, 0.0845042f, 2.48496f, 0.385019f, -0.201145f, 0.533332f, -0.904872f, -0.333518f, -0.581063f, -2.07065f, 0.118687f, -1.86708f, -0.601987f, 0.432037f, 1.73923f, 0.590007f, 0.419788f, 0.314198f, 2.12817f, 0.570793f, -1.15998f, -0.348587f, -1.10231f, -2.13091f, 0.134467f, -0.460382f, 0.138338f, 3.455f, 0.679068f, -0.190282f, -0.0307461f}}},
12205 // int -> INT32 map
12206 .int32Operands = {},
12207 // int -> QUANT8_ASYMM map
12208 .quant8AsymmOperands = {},
12209 // int -> QUANT16_SYMM map
12210 .quant16SymmOperands = {},
12211 // int -> FLOAT16 map
12212 .float16Operands = {},
12213 // int -> BOOL8 map
12214 .bool8Operands = {},
12215 // int -> QUANT8_SYMM_PER_CHANNEL map
12216 .quant8ChannelOperands = {},
12217 // int -> QUANT16_ASYMM map
12218 .quant16AsymmOperands = {},
12219 // int -> QUANT8_SYMM map
12220 .quant8SymmOperands = {},
12221 }
12222 },
12223 }, // End of an example
12224 // Begin of an example
12225 {
12226 .operands = {
12227 //Input(s)
12228 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12229 // int -> Dimensions map
12230 .operandDimensions = {{0, {1, 8, 8, 3}}},
12231 // int -> FLOAT32 map
12232 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
12233 // int -> INT32 map
12234 .int32Operands = {},
12235 // int -> QUANT8_ASYMM map
12236 .quant8AsymmOperands = {},
12237 // int -> QUANT16_SYMM map
12238 .quant16SymmOperands = {},
12239 // int -> FLOAT16 map
12240 .float16Operands = {},
12241 // int -> BOOL8 map
12242 .bool8Operands = {},
12243 // int -> QUANT8_SYMM_PER_CHANNEL map
12244 .quant8ChannelOperands = {},
12245 // int -> QUANT16_ASYMM map
12246 .quant16AsymmOperands = {},
12247 // int -> QUANT8_SYMM map
12248 .quant8SymmOperands = {},
12249 },
12250 //Output(s)
12251 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12252 // int -> Dimensions map
12253 .operandDimensions = {{0, {1, 8, 8, 3}}},
12254 // int -> FLOAT32 map
12255 .float32Operands = {{0, {0.78574f, 0.0700466f, -0.110245f, 0.0141003f, -0.621007f, -0.979104f, 1.24104f, 0.580398f, -0.512997f, 0.900559f, -0.683229f, -1.0162f, 1.0089f, -0.0752488f, 0.110969f, 0.270558f, 0.756819f, -0.10753f, -0.371484f, 0.149005f, 0.0973829f, 0.155766f, -0.476502f, 0.259481f, 1.06709f, -1.16534f, 1.52694f, -0.797245f, 0.802736f, -0.997109f, 2.2661f, -1.45548f, 2.15506f, -1.33682f, 1.15225f, -3.09324f, 0.943457f, 0.885211f, 0.987944f, -0.345875f, -0.114708f, 1.7107f, 0.104745f, 0.828324f, -2.49964f, -0.453742f, -0.288829f, -0.0948694f, -0.489415f, 1.74889f, -0.378257f, -2.10237f, 0.613022f, -2.5225f, -0.746785f, 3.63816f, -1.9287f, 0.774279f, -0.613917f, -0.650011f, 1.03753f, -0.177923f, 0.891815f, -1.00373f, 1.83859f, -1.59239f, -0.0662623f, 0.218806f, -1.088f, 0.280837f, 0.902901f, -1.90127f, 3.04734f, -1.57302f, 1.10881f, -0.980369f, -3.85305f, -0.955859f, 1.64909f, 2.33573f, 0.31144f, -0.594375f, 0.325747f, -0.952566f, -0.613449f, 2.85073f, 1.94692f, 1.12977f, 1.1351f, -0.449652f, 0.118765f, -0.199547f, 2.873f, 1.35182f, -1.85457f, 1.22364f, 1.38049f, 2.38342f, 0.882321f, 1.03795f, -0.321571f, -2.60202f, -1.6372f, 1.09302f, 0.461768f, 1.8485f, -0.158928f, 4.28871f, -0.437375f, -1.5794f, 1.59869f, 0.0811864f, 0.912054f, 0.452176f, 2.01812f, 2.62907f, 1.50304f, -0.840276f, -0.455854f, -0.224913f, 0.609824f, -0.11105f, 3.35635f, 2.02386f, 1.4687f, -0.708365f, -0.508992f, -3.02602f, -0.75725f, 1.85277f, 2.92817f, -0.172997f, -1.13279f, -0.355636f, -0.337669f, -0.588752f, 2.05759f, 1.0651f, 0.884758f, -0.0712112f, 3.81319f, 0.771629f, 0.949634f, 0.0838967f, -2.19264f, 0.114521f, 0.543556f, -1.63197f, -0.267442f, 1.15701f, -2.37862f, 2.57646f, 0.531208f, 0.9499f, -0.231441f, 1.51461f, 1.58888f, 0.895931f, -0.753084f, 0.545251f, 0.746903f, 0.012994f, -0.790398f, -1.1055f, 1.77789f, 0.430923f, 0.818241f, -0.731412f, 0.979546f, -2.48707f, -1.53658f, -1.66798f, -1.04585f, -0.667911f, 1.00299f, -2.20339f, 0.137826f, -2.31281f, 0.755535f, 0.495396f, 0.549629f, 0.713128f, 0.751369f, 0.283996f, -0.814532f, 1.4866f, 1.12105f, 0.927998f, 0.517938f, -0.612661f, -1.47756f, -1.42422f}}},
12256 // int -> INT32 map
12257 .int32Operands = {},
12258 // int -> QUANT8_ASYMM map
12259 .quant8AsymmOperands = {},
12260 // int -> QUANT16_SYMM map
12261 .quant16SymmOperands = {},
12262 // int -> FLOAT16 map
12263 .float16Operands = {},
12264 // int -> BOOL8 map
12265 .bool8Operands = {},
12266 // int -> QUANT8_SYMM_PER_CHANNEL map
12267 .quant8ChannelOperands = {},
12268 // int -> QUANT16_ASYMM map
12269 .quant16AsymmOperands = {},
12270 // int -> QUANT8_SYMM map
12271 .quant8SymmOperands = {},
12272 }
12273 },
12274 }, // End of an example
12275 };
12276 return examples_3_H3_W2_SAME_nhwc;
12277 };
12278
get_examples_3_H3_W2_SAME_nhwc_relaxed()12279 std::vector<MixedTypedExample>& get_examples_3_H3_W2_SAME_nhwc_relaxed() {
12280 static std::vector<MixedTypedExample> examples_3_H3_W2_SAME_nhwc_relaxed = {
12281 // Begin of an example
12282 {
12283 .operands = {
12284 //Input(s)
12285 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12286 // int -> Dimensions map
12287 .operandDimensions = {{0, {1, 8, 8, 3}}},
12288 // int -> FLOAT32 map
12289 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
12290 // int -> INT32 map
12291 .int32Operands = {},
12292 // int -> QUANT8_ASYMM map
12293 .quant8AsymmOperands = {},
12294 // int -> QUANT16_SYMM map
12295 .quant16SymmOperands = {},
12296 // int -> FLOAT16 map
12297 .float16Operands = {},
12298 // int -> BOOL8 map
12299 .bool8Operands = {},
12300 // int -> QUANT8_SYMM_PER_CHANNEL map
12301 .quant8ChannelOperands = {},
12302 // int -> QUANT16_ASYMM map
12303 .quant16AsymmOperands = {},
12304 // int -> QUANT8_SYMM map
12305 .quant8SymmOperands = {},
12306 },
12307 //Output(s)
12308 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12309 // int -> Dimensions map
12310 .operandDimensions = {{0, {1, 8, 8, 3}}},
12311 // int -> FLOAT32 map
12312 .float32Operands = {{0, {-1.27853f, 1.74987f, -0.876718f, 0.989692f, 0.298548f, 0.522103f, -0.536896f, -0.179382f, -0.966914f, 1.33708f, 1.37042f, -0.495494f, 1.43859f, -1.548f, -0.430026f, -0.662793f, -0.0867897f, -0.900658f, -0.524396f, 0.255731f, -0.779081f, 0.12666f, 0.915651f, -0.444765f, -0.186842f, -1.87308f, 1.21135f, -0.385009f, 1.72032f, -1.56036f, -1.23059f, 1.23694f, 0.00200015f, 0.359522f, 1.60084f, 0.434006f, -0.282945f, 2.37292f, -1.28653f, 0.0847837f, -0.352093f, -2.39659f, 0.149246f, 0.920351f, -1.34346f, 0.952311f, -0.35811f, 0.403449f, 0.484796f, -1.19989f, -0.684298f, -1.41301f, 0.103177f, -0.307039f, 1.17741f, 2.58936f, -2.76237f, -1.21565f, -1.09619f, 1.17432f, 0.512143f, 0.771379f, 0.399879f, -0.0533093f, 0.290864f, 0.95563f, 1.16328f, 1.80768f, -1.52564f, -0.126476f, -0.185224f, -0.114779f, 1.2248f, 0.237127f, -0.213297f, -0.619941f, 0.497944f, -1.68688f, 1.59314f, -0.127337f, 0.111419f, 1.13719f, 1.68537f, -0.479644f, 1.18608f, -2.52744f, 1.34136f, 0.548297f, -2.0838f, 2.64585f, -0.993354f, 0.128238f, 1.26092f, 0.318668f, 0.893795f, -0.0600559f, -0.629126f, -0.949229f, 2.25828f, -1.961f, 0.00589599f, -0.187854f, -1.02403f, 0.396121f, 1.3704f, 3.99355f, 0.434221f, 0.274464f, -0.562438f, -0.914871f, 0.539129f, -0.928687f, 0.834954f, 0.844178f, -0.566053f, -0.957341f, 0.933336f, 1.13613f, -1.22109f, 1.4649f, -0.414666f, -0.452821f, -0.706006f, -1.72657f, -0.726574f, -0.0979362f, -0.478669f, 1.78703f, -0.639288f, 1.48565f, -0.179904f, 1.01003f, -0.317118f, -0.675387f, 1.90969f, -1.38343f, 0.697255f, -0.292255f, 1.81634f, 0.717801f, 0.862479f, -0.407478f, -0.343106f, -0.0353232f, -0.481893f, -0.135565f, -2.95941f, 0.247846f, 2.67757f, -2.23999f, -0.519673f, 0.254447f, 0.415283f, -1.01065f, 0.507911f, 0.979926f, -0.184304f, -0.000950437f, -0.734348f, -0.196685f, -0.713241f, 0.594972f, 0.0845042f, 2.48496f, 0.385019f, -0.201145f, 0.533332f, -0.904872f, -0.333518f, -0.581063f, -2.07065f, 0.118687f, -1.86708f, -0.601987f, 0.432037f, 1.73923f, 0.590007f, 0.419788f, 0.314198f, 2.12817f, 0.570793f, -1.15998f, -0.348587f, -1.10231f, -2.13091f, 0.134467f, -0.460382f, 0.138338f, 3.455f, 0.679068f, -0.190282f, -0.0307461f}}},
12313 // int -> INT32 map
12314 .int32Operands = {},
12315 // int -> QUANT8_ASYMM map
12316 .quant8AsymmOperands = {},
12317 // int -> QUANT16_SYMM map
12318 .quant16SymmOperands = {},
12319 // int -> FLOAT16 map
12320 .float16Operands = {},
12321 // int -> BOOL8 map
12322 .bool8Operands = {},
12323 // int -> QUANT8_SYMM_PER_CHANNEL map
12324 .quant8ChannelOperands = {},
12325 // int -> QUANT16_ASYMM map
12326 .quant16AsymmOperands = {},
12327 // int -> QUANT8_SYMM map
12328 .quant8SymmOperands = {},
12329 }
12330 },
12331 }, // End of an example
12332 // Begin of an example
12333 {
12334 .operands = {
12335 //Input(s)
12336 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12337 // int -> Dimensions map
12338 .operandDimensions = {{0, {1, 8, 8, 3}}},
12339 // int -> FLOAT32 map
12340 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
12341 // int -> INT32 map
12342 .int32Operands = {},
12343 // int -> QUANT8_ASYMM map
12344 .quant8AsymmOperands = {},
12345 // int -> QUANT16_SYMM map
12346 .quant16SymmOperands = {},
12347 // int -> FLOAT16 map
12348 .float16Operands = {},
12349 // int -> BOOL8 map
12350 .bool8Operands = {},
12351 // int -> QUANT8_SYMM_PER_CHANNEL map
12352 .quant8ChannelOperands = {},
12353 // int -> QUANT16_ASYMM map
12354 .quant16AsymmOperands = {},
12355 // int -> QUANT8_SYMM map
12356 .quant8SymmOperands = {},
12357 },
12358 //Output(s)
12359 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12360 // int -> Dimensions map
12361 .operandDimensions = {{0, {1, 8, 8, 3}}},
12362 // int -> FLOAT32 map
12363 .float32Operands = {{0, {0.78574f, 0.0700466f, -0.110245f, 0.0141003f, -0.621007f, -0.979104f, 1.24104f, 0.580398f, -0.512997f, 0.900559f, -0.683229f, -1.0162f, 1.0089f, -0.0752488f, 0.110969f, 0.270558f, 0.756819f, -0.10753f, -0.371484f, 0.149005f, 0.0973829f, 0.155766f, -0.476502f, 0.259481f, 1.06709f, -1.16534f, 1.52694f, -0.797245f, 0.802736f, -0.997109f, 2.2661f, -1.45548f, 2.15506f, -1.33682f, 1.15225f, -3.09324f, 0.943457f, 0.885211f, 0.987944f, -0.345875f, -0.114708f, 1.7107f, 0.104745f, 0.828324f, -2.49964f, -0.453742f, -0.288829f, -0.0948694f, -0.489415f, 1.74889f, -0.378257f, -2.10237f, 0.613022f, -2.5225f, -0.746785f, 3.63816f, -1.9287f, 0.774279f, -0.613917f, -0.650011f, 1.03753f, -0.177923f, 0.891815f, -1.00373f, 1.83859f, -1.59239f, -0.0662623f, 0.218806f, -1.088f, 0.280837f, 0.902901f, -1.90127f, 3.04734f, -1.57302f, 1.10881f, -0.980369f, -3.85305f, -0.955859f, 1.64909f, 2.33573f, 0.31144f, -0.594375f, 0.325747f, -0.952566f, -0.613449f, 2.85073f, 1.94692f, 1.12977f, 1.1351f, -0.449652f, 0.118765f, -0.199547f, 2.873f, 1.35182f, -1.85457f, 1.22364f, 1.38049f, 2.38342f, 0.882321f, 1.03795f, -0.321571f, -2.60202f, -1.6372f, 1.09302f, 0.461768f, 1.8485f, -0.158928f, 4.28871f, -0.437375f, -1.5794f, 1.59869f, 0.0811864f, 0.912054f, 0.452176f, 2.01812f, 2.62907f, 1.50304f, -0.840276f, -0.455854f, -0.224913f, 0.609824f, -0.11105f, 3.35635f, 2.02386f, 1.4687f, -0.708365f, -0.508992f, -3.02602f, -0.75725f, 1.85277f, 2.92817f, -0.172997f, -1.13279f, -0.355636f, -0.337669f, -0.588752f, 2.05759f, 1.0651f, 0.884758f, -0.0712112f, 3.81319f, 0.771629f, 0.949634f, 0.0838967f, -2.19264f, 0.114521f, 0.543556f, -1.63197f, -0.267442f, 1.15701f, -2.37862f, 2.57646f, 0.531208f, 0.9499f, -0.231441f, 1.51461f, 1.58888f, 0.895931f, -0.753084f, 0.545251f, 0.746903f, 0.012994f, -0.790398f, -1.1055f, 1.77789f, 0.430923f, 0.818241f, -0.731412f, 0.979546f, -2.48707f, -1.53658f, -1.66798f, -1.04585f, -0.667911f, 1.00299f, -2.20339f, 0.137826f, -2.31281f, 0.755535f, 0.495396f, 0.549629f, 0.713128f, 0.751369f, 0.283996f, -0.814532f, 1.4866f, 1.12105f, 0.927998f, 0.517938f, -0.612661f, -1.47756f, -1.42422f}}},
12364 // int -> INT32 map
12365 .int32Operands = {},
12366 // int -> QUANT8_ASYMM map
12367 .quant8AsymmOperands = {},
12368 // int -> QUANT16_SYMM map
12369 .quant16SymmOperands = {},
12370 // int -> FLOAT16 map
12371 .float16Operands = {},
12372 // int -> BOOL8 map
12373 .bool8Operands = {},
12374 // int -> QUANT8_SYMM_PER_CHANNEL map
12375 .quant8ChannelOperands = {},
12376 // int -> QUANT16_ASYMM map
12377 .quant16AsymmOperands = {},
12378 // int -> QUANT8_SYMM map
12379 .quant8SymmOperands = {},
12380 }
12381 },
12382 }, // End of an example
12383 };
12384 return examples_3_H3_W2_SAME_nhwc_relaxed;
12385 };
12386
get_examples_3_H3_W2_SAME_nhwc_float16()12387 std::vector<MixedTypedExample>& get_examples_3_H3_W2_SAME_nhwc_float16() {
12388 static std::vector<MixedTypedExample> examples_3_H3_W2_SAME_nhwc_float16 = {
12389 // Begin of an example
12390 {
12391 .operands = {
12392 //Input(s)
12393 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12394 // int -> Dimensions map
12395 .operandDimensions = {{0, {1, 8, 8, 3}}},
12396 // int -> FLOAT32 map
12397 .float32Operands = {},
12398 // int -> INT32 map
12399 .int32Operands = {},
12400 // int -> QUANT8_ASYMM map
12401 .quant8AsymmOperands = {},
12402 // int -> QUANT16_SYMM map
12403 .quant16SymmOperands = {},
12404 // int -> FLOAT16 map
12405 .float16Operands = {{0, {-0.8699309825897217f, 0.6446279883384705f, -0.9183930158615112f, 0.153671994805336f, 0.8685619831085205f, -0.3581770062446594f, -0.13493099808692932f, -0.24756500124931335f, 0.2217400074005127f, -0.2591570019721985f, -0.2842960059642792f, -0.5380650162696838f, 0.7655590176582336f, 0.41986000537872314f, -0.556240975856781f, 0.6584939956665039f, 0.214355006814003f, -0.8501690030097961f, -0.25289300084114075f, -0.47893500328063965f, 0.5305259823799133f, -0.07006630301475525f, -0.9887290000915527f, -0.30306100845336914f, 0.150845006108284f, 0.8299149870872498f, 0.47634899616241455f, 0.4065369963645935f, -0.3553430140018463f, 0.7571449875831604f, -0.356361985206604f, 0.8004819750785828f, -0.7138609886169434f, 0.21048299968242645f, -0.6343029737472534f, 0.7182360291481018f, -0.7520380020141602f, 0.45754700899124146f, -0.5507689714431763f, -0.551177978515625f, 0.4467659890651703f, -0.22746199369430542f, 0.21634800732135773f, -0.8528059720993042f, -0.3514859974384308f, 0.5590599775314331f, -0.6684929728507996f, -0.3034929931163788f, -0.3637630045413971f, -0.16283699870109558f, 0.07010120153427124f, 0.7560970187187195f, -0.14226900041103363f, 0.3297240138053894f, -0.6563169956207275f, -0.9980859756469727f, -0.6529489755630493f, -0.4031600058078766f, -0.8936820030212402f, 0.43274399638175964f, 0.6123620271682739f, -0.8695880174636841f, -0.7132700085639954f, -0.39809200167655945f, -0.04235589876770973f, 0.4365760087966919f, -0.9252719879150391f, 0.1765490025281906f, 0.8229039907455444f, 0.0968329980969429f, -0.29680201411247253f, -0.4271950125694275f, 0.0316540002822876f, -0.25447899103164673f, 0.2449049949645996f, 0.09482540190219879f, 0.6437690258026123f, -0.9039099812507629f, 0.3526650071144104f, -0.9011790156364441f, 0.2661589980125427f, -0.96806800365448f, -0.615401029586792f, -0.38897499442100525f, 0.9390519857406616f, -0.11628899723291397f, 0.10752300173044205f, -0.058271098881959915f, 0.4351719915866852f, 0.33467501401901245f, 0.4597109854221344f, 0.7174360156059265f, 0.49662700295448303f, -0.6801750063896179f, -0.4150660037994385f, 0.33984801173210144f, 0.5060039758682251f, -0.3378080129623413f, -0.10721799731254578f, -0.1724960058927536f, 0.8706380128860474f, 0.9318720102310181f, -0.9538840055465698f, 0.9030420184135437f, 0.7600780129432678f, 0.20972700417041779f, -0.28538399934768677f, -0.45513999462127686f, 0.11319400370121002f, 0.07566110044717789f, 0.09244350343942642f, -0.47286298871040344f, 0.9606090188026428f, -0.16038499772548676f, -0.8394449949264526f, 0.45709699392318726f, 0.1633480042219162f, 0.3448669910430908f, -0.13161900639533997f, 0.6887149810791016f, -0.5408269762992859f, 0.5712590217590332f, -0.9558699727058411f, 0.506164014339447f, -0.1558389961719513f, 0.07896210253238678f, 0.756771981716156f, -0.6620690226554871f, 0.24290800094604492f, 0.4608210027217865f, 0.17787200212478638f, -0.2898389995098114f, -0.6406030058860779f, 0.702597975730896f, -0.5064060091972351f, -0.568261981010437f, -0.07137160003185272f, 0.4137920141220093f, 0.15967300534248352f, -0.3052079975605011f, 0.13381600379943848f, -0.16025400161743164f, 0.787322998046875f, -0.7532439827919006f, 0.600721001625061f, 0.2631860077381134f, -0.16238699853420258f, 0.4779619872570038f, -0.7029510140419006f, -0.7310360074043274f, -0.9394810199737549f, -0.5245190262794495f, 0.9340720176696777f, -0.5116369724273682f, -0.5034989714622498f, 0.10623600333929062f, -0.3236840069293976f, 0.5344439744949341f, -0.8437449932098389f, 0.36417099833488464f, 0.03703580051660538f, -0.16880099475383759f, -0.4045589864253998f, -0.8141779899597168f, 0.9174500107765198f, -0.3342759907245636f, 0.6692500114440918f, -0.8012009859085083f, 0.15651099383831024f, -0.4279490113258362f, 0.3791530132293701f, 0.8185970187187195f, -0.6499019861221313f, 0.4270870089530945f, -0.586014986038208f, -0.5597890019416809f, -0.8339229822158813f, 0.0892409011721611f, -0.6212509870529175f, 0.2138260006904602f, 0.46550899744033813f, 0.47040000557899475f, 0.38026100397109985f, 0.4130670130252838f, 0.1808219999074936f, 0.17286600172519684f, 0.5961400270462036f, 0.8255749940872192f, 0.6629160046577454f, -0.704380989074707f, -0.29763099551200867f, 0.6977779865264893f}}},
12406 // int -> BOOL8 map
12407 .bool8Operands = {},
12408 // int -> QUANT8_SYMM_PER_CHANNEL map
12409 .quant8ChannelOperands = {},
12410 // int -> QUANT16_ASYMM map
12411 .quant16AsymmOperands = {},
12412 // int -> QUANT8_SYMM map
12413 .quant8SymmOperands = {},
12414 },
12415 //Output(s)
12416 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12417 // int -> Dimensions map
12418 .operandDimensions = {{0, {1, 8, 8, 3}}},
12419 // int -> FLOAT32 map
12420 .float32Operands = {},
12421 // int -> INT32 map
12422 .int32Operands = {},
12423 // int -> QUANT8_ASYMM map
12424 .quant8AsymmOperands = {},
12425 // int -> QUANT16_SYMM map
12426 .quant16SymmOperands = {},
12427 // int -> FLOAT16 map
12428 .float16Operands = {{0, {-1.2785300016403198f, 1.7498699426651f, -0.8767179846763611f, 0.989691972732544f, 0.29854801297187805f, 0.5221030116081238f, -0.5368959903717041f, -0.17938199639320374f, -0.9669139981269836f, 1.3370800018310547f, 1.370419979095459f, -0.49549400806427f, 1.4385900497436523f, -1.5479999780654907f, -0.43002599477767944f, -0.662792980670929f, -0.08678969740867615f, -0.9006580114364624f, -0.5243960022926331f, 0.2557309865951538f, -0.7790809869766235f, 0.12666000425815582f, 0.9156510233879089f, -0.44476500153541565f, -0.18684199452400208f, -1.8730800151824951f, 1.2113499641418457f, -0.3850089907646179f, 1.7203199863433838f, -1.5603599548339844f, -1.2305899858474731f, 1.2369400262832642f, 0.0020001500379294157f, 0.3595220148563385f, 1.6008399724960327f, 0.434006005525589f, -0.28294500708580017f, 2.372920036315918f, -1.2865300178527832f, 0.08478370308876038f, -0.35209301114082336f, -2.396589994430542f, 0.1492460072040558f, 0.9203510284423828f, -1.343459963798523f, 0.9523109793663025f, -0.3581100106239319f, 0.40344899892807007f, 0.4847959876060486f, -1.1998900175094604f, -0.6842979788780212f, -1.4130100011825562f, 0.10317700356245041f, -0.3070389926433563f, 1.1774100065231323f, 2.589359998703003f, -2.7623701095581055f, -1.215649962425232f, -1.0961899757385254f, 1.1743199825286865f, 0.5121430158615112f, 0.7713789939880371f, 0.39987900853157043f, -0.05330929905176163f, 0.2908639907836914f, 0.9556300044059753f, 1.1632800102233887f, 1.8076800107955933f, -1.5256400108337402f, -0.1264760047197342f, -0.1852239966392517f, -0.11477900296449661f, 1.2247999906539917f, 0.23712700605392456f, -0.21329699456691742f, -0.619940996170044f, 0.4979439973831177f, -1.6868799924850464f, 1.5931400060653687f, -0.1273369938135147f, 0.11141899973154068f, 1.1371899843215942f, 1.6853699684143066f, -0.4796440005302429f, 1.186079978942871f, -2.527440071105957f, 1.3413599729537964f, 0.5482969880104065f, -2.0838000774383545f, 2.6458499431610107f, -0.9933540225028992f, 0.1282380074262619f, 1.2609200477600098f, 0.318668007850647f, 0.8937950134277344f, -0.06005590036511421f, -0.6291260123252869f, -0.9492290019989014f, 2.258280038833618f, -1.9609999656677246f, 0.0058959899470210075f, -0.18785400688648224f, -1.0240299701690674f, 0.39612099528312683f, 1.3703999519348145f, 3.9935500621795654f, 0.4342209994792938f, 0.2744640111923218f, -0.5624380111694336f, -0.9148709774017334f, 0.5391290187835693f, -0.9286869764328003f, 0.834954023361206f, 0.8441780209541321f, -0.5660529732704163f, -0.9573410153388977f, 0.9333360195159912f, 1.1361299753189087f, -1.2210899591445923f, 1.464900016784668f, -0.41466599702835083f, -0.4528209865093231f, -0.7060059905052185f, -1.7265700101852417f, -0.7265740036964417f, -0.09793619811534882f, -0.4786689877510071f, 1.7870299816131592f, -0.6392880082130432f, 1.4856499433517456f, -0.1799039989709854f, 1.0100300312042236f, -0.31711798906326294f, -0.6753870248794556f, 1.909690022468567f, -1.383430004119873f, 0.69725501537323f, -0.2922550141811371f, 1.8163399696350098f, 0.7178009748458862f, 0.8624789714813232f, -0.407478004693985f, -0.3431060016155243f, -0.03532319888472557f, -0.48189300298690796f, -0.13556499779224396f, -2.9594099521636963f, 0.24784600734710693f, 2.677570104598999f, -2.239989995956421f, -0.5196729898452759f, 0.25444701313972473f, 0.4152829945087433f, -1.0106500387191772f, 0.5079110264778137f, 0.9799259901046753f, -0.18430399894714355f, -0.0009504369809292257f, -0.7343479990959167f, -0.19668500125408173f, -0.7132409811019897f, 0.5949720144271851f, 0.08450420200824738f, 2.4849600791931152f, 0.3850190043449402f, -0.2011449933052063f, 0.5333319902420044f, -0.9048720002174377f, -0.33351799845695496f, -0.5810629725456238f, -2.070650100708008f, 0.11868699640035629f, -1.8670799732208252f, -0.6019870042800903f, 0.43203699588775635f, 1.7392300367355347f, 0.5900070071220398f, 0.4197880029678345f, 0.31419798731803894f, 2.1281700134277344f, 0.5707929730415344f, -1.159980058670044f, -0.3485870063304901f, -1.1023099422454834f, -2.1309099197387695f, 0.1344670057296753f, -0.46038201451301575f, 0.13833799958229065f, 3.4549999237060547f, 0.6790680289268494f, -0.19028200209140778f, -0.0307461004704237f}}},
12429 // int -> BOOL8 map
12430 .bool8Operands = {},
12431 // int -> QUANT8_SYMM_PER_CHANNEL map
12432 .quant8ChannelOperands = {},
12433 // int -> QUANT16_ASYMM map
12434 .quant16AsymmOperands = {},
12435 // int -> QUANT8_SYMM map
12436 .quant8SymmOperands = {},
12437 }
12438 },
12439 }, // End of an example
12440 // Begin of an example
12441 {
12442 .operands = {
12443 //Input(s)
12444 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12445 // int -> Dimensions map
12446 .operandDimensions = {{0, {1, 8, 8, 3}}},
12447 // int -> FLOAT32 map
12448 .float32Operands = {},
12449 // int -> INT32 map
12450 .int32Operands = {},
12451 // int -> QUANT8_ASYMM map
12452 .quant8AsymmOperands = {},
12453 // int -> QUANT16_SYMM map
12454 .quant16SymmOperands = {},
12455 // int -> FLOAT16 map
12456 .float16Operands = {{0, {-0.29533499479293823f, -0.0038760099560022354f, -0.5522509813308716f, 0.16608400642871857f, -0.28481999039649963f, -0.15214300155639648f, -0.719884991645813f, -0.8693860173225403f, -0.7455980181694031f, 0.823947012424469f, 0.4731830060482025f, -0.33133700489997864f, 0.18763099610805511f, 0.04265709966421127f, -0.8268970251083374f, -0.7550849914550781f, -0.4724529981613159f, -0.023365600034594536f, 0.04834359884262085f, 0.9334179759025574f, -0.961974024772644f, 0.012578300200402737f, 0.21974200010299683f, 0.34260401129722595f, -0.1516599953174591f, 0.09349049627780914f, 0.7832210063934326f, 0.12966400384902954f, 0.8388440012931824f, -0.2713879942893982f, 0.9245190024375916f, 0.3428429961204529f, 0.2744179964065552f, 0.3508169949054718f, 0.8416380286216736f, -0.5439929962158203f, -0.002833950100466609f, -0.12846699357032776f, -0.6829429864883423f, -0.31911700963974f, 0.846340000629425f, 0.2830030024051666f, 0.32864999771118164f, 0.029375499114394188f, -0.03356960043311119f, 0.5912659764289856f, -0.0743476003408432f, -0.7412710189819336f, 0.4620560109615326f, -0.5836250185966492f, -0.5901830196380615f, 0.6233999729156494f, 0.535269021987915f, -0.6708179712295532f, -0.9556419849395752f, -0.7701730132102966f, 0.4799860119819641f, 0.664376974105835f, 0.3994449973106384f, -0.9688739776611328f, -0.2762629985809326f, -0.901951014995575f, 0.5441039800643921f, -0.9589809775352478f, 0.4826579988002777f, -0.8072839975357056f, 0.30536898970603943f, -0.9478179812431335f, 0.8274980187416077f, -0.38288700580596924f, -0.805741012096405f, -0.7966780066490173f, -0.2998040020465851f, -0.22982800006866455f, 0.8187829852104187f, -0.10305500030517578f, -0.4556800127029419f, -0.22782699763774872f, 0.5437430143356323f, -0.9607300162315369f, 0.9467470049858093f, -0.8571820259094238f, -0.9642599821090698f, -0.2924109995365143f, -0.7156140208244324f, 0.7652779817581177f, -0.47504299879074097f, -0.590142011642456f, -0.2385070025920868f, 0.6730020046234131f, -0.4733569920063019f, -0.31962600350379944f, 0.9360139966011047f, 0.48660698533058167f, 0.580843985080719f, 0.42535200715065f, -0.8009939789772034f, 0.2907629907131195f, -0.4949530065059662f, -0.44116199016571045f, 0.7186769843101501f, -0.8284270167350769f, 0.9696499705314636f, 7.536369957961142e-05f, -0.6999729871749878f, -0.526885986328125f, -0.3526819944381714f, 0.7994660139083862f, 0.33278900384902954f, 0.7233890295028687f, 0.40765899419784546f, -0.9340839982032776f, -0.2847050130367279f, 0.9614840149879456f, -0.7003949880599976f, -0.9858080148696899f, -0.5953419804573059f, -0.6917210221290588f, 0.4944800138473511f, -0.08426489681005478f, 0.03909660130739212f, 0.29893800616264343f, -0.12809400260448456f, -0.9715800285339355f, 0.8639299869537354f, 0.27060601115226746f, -0.46898600459098816f, -0.25660499930381775f, 0.4721499979496002f, -0.2731170058250427f, -0.5903429985046387f, -0.8265290260314941f, -0.7253810167312622f, -0.19482100009918213f, -0.2596609890460968f, -0.09492070227861404f, -0.1803019940853119f, 0.04468340054154396f, -0.22213299572467804f, -0.40393000841140747f, 0.295771986246109f, -0.9294899702072144f, 0.5800790190696716f, -0.169855996966362f, 0.33031100034713745f, 0.017355099320411682f, -0.6358230113983154f, 0.4759419858455658f, 0.9071750044822693f, 0.2427770048379898f, -0.5122079849243164f, 0.36246299743652344f, 0.04962889850139618f, 0.6517099738121033f, 0.9900569915771484f, 0.690733015537262f, -0.4690130054950714f, -0.10131099820137024f, -0.6837199926376343f, -0.15784099698066711f, -0.677711009979248f, -0.7082239985466003f, -0.6594370007514954f, -0.40760698914527893f, 0.677033007144928f, 0.8903200030326843f, 0.22830699384212494f, -0.7495139837265015f, 0.772957980632782f, 0.054701000452041626f, 0.551705002784729f, 0.9170519709587097f, -0.8950219750404358f, -0.7023969888687134f, 0.484142005443573f, 0.10864800214767456f, 0.8333470225334167f, 0.47887200117111206f, -0.984112024307251f, 0.3871760070323944f, -0.732990026473999f, 0.7526000142097473f, 0.44331198930740356f, -0.09878560155630112f, 0.12541499733924866f, 0.10875999927520752f, -0.49810799956321716f, 0.43209001421928406f, 0.34460899233818054f, 0.928941011428833f, -0.130731999874115f, -0.056916698813438416f}}},
12457 // int -> BOOL8 map
12458 .bool8Operands = {},
12459 // int -> QUANT8_SYMM_PER_CHANNEL map
12460 .quant8ChannelOperands = {},
12461 // int -> QUANT16_ASYMM map
12462 .quant16AsymmOperands = {},
12463 // int -> QUANT8_SYMM map
12464 .quant8SymmOperands = {},
12465 },
12466 //Output(s)
12467 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12468 // int -> Dimensions map
12469 .operandDimensions = {{0, {1, 8, 8, 3}}},
12470 // int -> FLOAT32 map
12471 .float32Operands = {},
12472 // int -> INT32 map
12473 .int32Operands = {},
12474 // int -> QUANT8_ASYMM map
12475 .quant8AsymmOperands = {},
12476 // int -> QUANT16_SYMM map
12477 .quant16SymmOperands = {},
12478 // int -> FLOAT16 map
12479 .float16Operands = {{0, {0.7857400178909302f, 0.07004660367965698f, -0.1102449968457222f, 0.014100300148129463f, -0.6210070252418518f, -0.9791039824485779f, 1.2410399913787842f, 0.5803980231285095f, -0.5129969716072083f, 0.9005590081214905f, -0.6832290291786194f, -1.0161999464035034f, 1.0089000463485718f, -0.07524880021810532f, 0.11096899956464767f, 0.2705579996109009f, 0.7568190097808838f, -0.10752999782562256f, -0.37148401141166687f, 0.1490049958229065f, 0.09738290309906006f, 0.15576599538326263f, -0.476502001285553f, 0.2594810128211975f, 1.0670900344848633f, -1.1653399467468262f, 1.5269399881362915f, -0.7972450256347656f, 0.8027359843254089f, -0.9971089959144592f, 2.2660999298095703f, -1.4554799795150757f, 2.155060052871704f, -1.3368200063705444f, 1.152250051498413f, -3.0932400226593018f, 0.9434570074081421f, 0.8852109909057617f, 0.9879440069198608f, -0.34587499499320984f, -0.11470799893140793f, 1.7107000350952148f, 0.10474500060081482f, 0.828324019908905f, -2.4996399879455566f, -0.45374199748039246f, -0.2888289988040924f, -0.09486939758062363f, -0.4894149899482727f, 1.7488900423049927f, -0.37825700640678406f, -2.102370023727417f, 0.6130220293998718f, -2.5225000381469727f, -0.7467849850654602f, 3.638159990310669f, -1.9286999702453613f, 0.774278998374939f, -0.6139169931411743f, -0.6500110030174255f, 1.0375299453735352f, -0.17792299389839172f, 0.8918150067329407f, -1.003730058670044f, 1.8385900259017944f, -1.5923899412155151f, -0.06626229733228683f, 0.21880599856376648f, -1.0880000591278076f, 0.2808369994163513f, 0.9029009938240051f, -1.9012700319290161f, 3.047339916229248f, -1.5730199813842773f, 1.1088099479675293f, -0.980368971824646f, -3.8530499935150146f, -0.9558590054512024f, 1.649090051651001f, 2.3357300758361816f, 0.31143999099731445f, -0.5943750143051147f, 0.325747013092041f, -0.9525660276412964f, -0.613448977470398f, 2.8507299423217773f, 1.9469200372695923f, 1.129770040512085f, 1.13510000705719f, -0.4496519863605499f, 0.11876499652862549f, -0.19954699277877808f, 2.872999906539917f, 1.3518199920654297f, -1.8545700311660767f, 1.223639965057373f, 1.3804899454116821f, 2.383419990539551f, 0.8823210000991821f, 1.037950038909912f, -0.3215709924697876f, -2.602020025253296f, -1.6371999979019165f, 1.093019962310791f, 0.4617680013179779f, 1.8485000133514404f, -0.1589280068874359f, 4.288710117340088f, -0.437375009059906f, -1.5793999433517456f, 1.5986900329589844f, 0.08118639886379242f, 0.9120540022850037f, 0.4521760046482086f, 2.018120050430298f, 2.6290700435638428f, 1.5030399560928345f, -0.8402760028839111f, -0.45585399866104126f, -0.22491300106048584f, 0.609824001789093f, -0.11105000227689743f, 3.3563499450683594f, 2.023859977722168f, 1.4687000513076782f, -0.7083650231361389f, -0.5089920163154602f, -3.026020050048828f, -0.7572500109672546f, 1.8527699708938599f, 2.9281699657440186f, -0.17299699783325195f, -1.132789969444275f, -0.35563600063323975f, -0.3376689851284027f, -0.5887519717216492f, 2.0575900077819824f, 1.0650999546051025f, 0.8847579956054688f, -0.07121119648218155f, 3.81318998336792f, 0.7716289758682251f, 0.9496340155601501f, 0.0838966965675354f, -2.1926400661468506f, 0.11452099680900574f, 0.5435559749603271f, -1.6319700479507446f, -0.267441987991333f, 1.1570099592208862f, -2.378619909286499f, 2.5764598846435547f, 0.5312079787254333f, 0.9498999714851379f, -0.23144100606441498f, 1.5146100521087646f, 1.588879942893982f, 0.8959310054779053f, -0.7530840039253235f, 0.5452510118484497f, 0.7469030022621155f, 0.012993999756872654f, -0.7903980016708374f, -1.1054999828338623f, 1.7778899669647217f, 0.4309230148792267f, 0.8182410001754761f, -0.7314119935035706f, 0.9795460104942322f, -2.487070083618164f, -1.536579966545105f, -1.6679799556732178f, -1.0458500385284424f, -0.6679109930992126f, 1.0029900074005127f, -2.203389883041382f, 0.13782599568367004f, -2.312809944152832f, 0.7555350065231323f, 0.4953959882259369f, 0.5496289730072021f, 0.7131279706954956f, 0.7513689994812012f, 0.28399598598480225f, -0.8145319819450378f, 1.4866000413894653f, 1.1210500001907349f, 0.9279980063438416f, 0.5179380178451538f, -0.6126610040664673f, -1.477560043334961f, -1.4242199659347534f}}},
12480 // int -> BOOL8 map
12481 .bool8Operands = {},
12482 // int -> QUANT8_SYMM_PER_CHANNEL map
12483 .quant8ChannelOperands = {},
12484 // int -> QUANT16_ASYMM map
12485 .quant16AsymmOperands = {},
12486 // int -> QUANT8_SYMM map
12487 .quant8SymmOperands = {},
12488 }
12489 },
12490 }, // End of an example
12491 };
12492 return examples_3_H3_W2_SAME_nhwc_float16;
12493 };
12494
get_examples_3_H3_W2_SAME_nchw()12495 std::vector<MixedTypedExample>& get_examples_3_H3_W2_SAME_nchw() {
12496 static std::vector<MixedTypedExample> examples_3_H3_W2_SAME_nchw = {
12497 // Begin of an example
12498 {
12499 .operands = {
12500 //Input(s)
12501 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12502 // int -> Dimensions map
12503 .operandDimensions = {{0, {1, 3, 8, 8}}},
12504 // int -> FLOAT32 map
12505 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
12506 // int -> INT32 map
12507 .int32Operands = {},
12508 // int -> QUANT8_ASYMM map
12509 .quant8AsymmOperands = {},
12510 // int -> QUANT16_SYMM map
12511 .quant16SymmOperands = {},
12512 // int -> FLOAT16 map
12513 .float16Operands = {},
12514 // int -> BOOL8 map
12515 .bool8Operands = {},
12516 // int -> QUANT8_SYMM_PER_CHANNEL map
12517 .quant8ChannelOperands = {},
12518 // int -> QUANT16_ASYMM map
12519 .quant16AsymmOperands = {},
12520 // int -> QUANT8_SYMM map
12521 .quant8SymmOperands = {},
12522 },
12523 //Output(s)
12524 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12525 // int -> Dimensions map
12526 .operandDimensions = {{0, {1, 3, 8, 8}}},
12527 // int -> FLOAT32 map
12528 .float32Operands = {{0, {-1.27853f, 0.989692f, -0.536896f, 1.33708f, 1.43859f, -0.662793f, -0.524396f, 0.12666f, -0.186842f, -0.385009f, -1.23059f, 0.359522f, -0.282945f, 0.0847837f, 0.149246f, 0.952311f, 0.484796f, -1.41301f, 1.17741f, -1.21565f, 0.512143f, -0.0533093f, 1.16328f, -0.126476f, 1.2248f, -0.619941f, 1.59314f, 1.13719f, 1.18608f, 0.548297f, -0.993354f, 0.318668f, -0.629126f, -1.961f, -1.02403f, 3.99355f, -0.562438f, -0.928687f, -0.566053f, 1.13613f, -0.414666f, -1.72657f, -0.478669f, 1.48565f, -0.317118f, -1.38343f, 1.81634f, -0.407478f, -0.481893f, 0.247846f, -0.519673f, -1.01065f, -0.184304f, -0.196685f, 0.0845042f, -0.201145f, -0.333518f, 0.118687f, 0.432037f, 0.419788f, 0.570793f, -1.10231f, -0.460382f, 0.679068f, 1.74987f, 0.298548f, -0.179382f, 1.37042f, -1.548f, -0.0867897f, 0.255731f, 0.915651f, -1.87308f, 1.72032f, 1.23694f, 1.60084f, 2.37292f, -0.352093f, 0.920351f, -0.35811f, -1.19989f, 0.103177f, 2.58936f, -1.09619f, 0.771379f, 0.290864f, 1.80768f, -0.185224f, 0.237127f, 0.497944f, -0.127337f, 1.68537f, -2.52744f, -2.0838f, 0.128238f, 0.893795f, -0.949229f, 0.00589599f, 0.396121f, 0.434221f, -0.914871f, 0.834954f, -0.957341f, -1.22109f, -0.452821f, -0.726574f, 1.78703f, -0.179904f, -0.675387f, 0.697255f, 0.717801f, -0.343106f, -0.135565f, 2.67757f, 0.254447f, 0.507911f, -0.000950437f, -0.713241f, 2.48496f, 0.533332f, -0.581063f, -1.86708f, 1.73923f, 0.314198f, -1.15998f, -2.13091f, 0.138338f, -0.190282f, -0.876718f, 0.522103f, -0.966914f, -0.495494f, -0.430026f, -0.900658f, -0.779081f, -0.444765f, 1.21135f, -1.56036f, 0.00200015f, 0.434006f, -1.28653f, -2.39659f, -1.34346f, 0.403449f, -0.684298f, -0.307039f, -2.76237f, 1.17432f, 0.399879f, 0.95563f, -1.52564f, -0.114779f, -0.213297f, -1.68688f, 0.111419f, -0.479644f, 1.34136f, 2.64585f, 1.26092f, -0.0600559f, 2.25828f, -0.187854f, 1.3704f, 0.274464f, 0.539129f, 0.844178f, 0.933336f, 1.4649f, -0.706006f, -0.0979362f, -0.639288f, 1.01003f, 1.90969f, -0.292255f, 0.862479f, -0.0353232f, -2.95941f, -2.23999f, 0.415283f, 0.979926f, -0.734348f, 0.594972f, 0.385019f, -0.904872f, -2.07065f, -0.601987f, 0.590007f, 2.12817f, -0.348587f, 0.134467f, 3.455f, -0.0307461f}}},
12529 // int -> INT32 map
12530 .int32Operands = {},
12531 // int -> QUANT8_ASYMM map
12532 .quant8AsymmOperands = {},
12533 // int -> QUANT16_SYMM map
12534 .quant16SymmOperands = {},
12535 // int -> FLOAT16 map
12536 .float16Operands = {},
12537 // int -> BOOL8 map
12538 .bool8Operands = {},
12539 // int -> QUANT8_SYMM_PER_CHANNEL map
12540 .quant8ChannelOperands = {},
12541 // int -> QUANT16_ASYMM map
12542 .quant16AsymmOperands = {},
12543 // int -> QUANT8_SYMM map
12544 .quant8SymmOperands = {},
12545 }
12546 },
12547 }, // End of an example
12548 // Begin of an example
12549 {
12550 .operands = {
12551 //Input(s)
12552 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12553 // int -> Dimensions map
12554 .operandDimensions = {{0, {1, 3, 8, 8}}},
12555 // int -> FLOAT32 map
12556 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
12557 // int -> INT32 map
12558 .int32Operands = {},
12559 // int -> QUANT8_ASYMM map
12560 .quant8AsymmOperands = {},
12561 // int -> QUANT16_SYMM map
12562 .quant16SymmOperands = {},
12563 // int -> FLOAT16 map
12564 .float16Operands = {},
12565 // int -> BOOL8 map
12566 .bool8Operands = {},
12567 // int -> QUANT8_SYMM_PER_CHANNEL map
12568 .quant8ChannelOperands = {},
12569 // int -> QUANT16_ASYMM map
12570 .quant16AsymmOperands = {},
12571 // int -> QUANT8_SYMM map
12572 .quant8SymmOperands = {},
12573 },
12574 //Output(s)
12575 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12576 // int -> Dimensions map
12577 .operandDimensions = {{0, {1, 3, 8, 8}}},
12578 // int -> FLOAT32 map
12579 .float32Operands = {{0, {0.78574f, 0.0141003f, 1.24104f, 0.900559f, 1.0089f, 0.270558f, -0.371484f, 0.155766f, 1.06709f, -0.797245f, 2.2661f, -1.33682f, 0.943457f, -0.345875f, 0.104745f, -0.453742f, -0.489415f, -2.10237f, -0.746785f, 0.774279f, 1.03753f, -1.00373f, -0.0662623f, 0.280837f, 3.04734f, -0.980369f, 1.64909f, -0.594375f, -0.613449f, 1.12977f, 0.118765f, 1.35182f, 1.38049f, 1.03795f, -1.6372f, 1.8485f, -0.437375f, 0.0811864f, 2.01812f, -0.840276f, 0.609824f, 2.02386f, -0.508992f, 1.85277f, -1.13279f, -0.588752f, 0.884758f, 0.771629f, -2.19264f, -1.63197f, -2.37862f, 0.9499f, 1.58888f, 0.545251f, -0.790398f, 0.430923f, 0.979546f, -1.66798f, 1.00299f, -2.31281f, 0.549629f, 0.283996f, 1.12105f, -0.612661f, 0.0700466f, -0.621007f, 0.580398f, -0.683229f, -0.0752488f, 0.756819f, 0.149005f, -0.476502f, -1.16534f, 0.802736f, -1.45548f, 1.15225f, 0.885211f, -0.114708f, 0.828324f, -0.288829f, 1.74889f, 0.613022f, 3.63816f, -0.613917f, -0.177923f, 1.83859f, 0.218806f, 0.902901f, -1.57302f, -3.85305f, 2.33573f, 0.325747f, 2.85073f, 1.1351f, -0.199547f, -1.85457f, 2.38342f, -0.321571f, 1.09302f, -0.158928f, -1.5794f, 0.912054f, 2.62907f, -0.455854f, -0.11105f, 1.4687f, -3.02602f, 2.92817f, -0.355636f, 2.05759f, -0.0712112f, 0.949634f, 0.114521f, -0.267442f, 2.57646f, -0.231441f, 0.895931f, 0.746903f, -1.1055f, 0.818241f, -2.48707f, -1.04585f, -2.20339f, 0.755535f, 0.713128f, -0.814532f, 0.927998f, -1.47756f, -0.110245f, -0.979104f, -0.512997f, -1.0162f, 0.110969f, -0.10753f, 0.0973829f, 0.259481f, 1.52694f, -0.997109f, 2.15506f, -3.09324f, 0.987944f, 1.7107f, -2.49964f, -0.0948694f, -0.378257f, -2.5225f, -1.9287f, -0.650011f, 0.891815f, -1.59239f, -1.088f, -1.90127f, 1.10881f, -0.955859f, 0.31144f, -0.952566f, 1.94692f, -0.449652f, 2.873f, 1.22364f, 0.882321f, -2.60202f, 0.461768f, 4.28871f, 1.59869f, 0.452176f, 1.50304f, -0.224913f, 3.35635f, -0.708365f, -0.75725f, -0.172997f, -0.337669f, 1.0651f, 3.81319f, 0.0838967f, 0.543556f, 1.15701f, 0.531208f, 1.51461f, -0.753084f, 0.012994f, 1.77789f, -0.731412f, -1.53658f, -0.667911f, 0.137826f, 0.495396f, 0.751369f, 1.4866f, 0.517938f, -1.42422f}}},
12580 // int -> INT32 map
12581 .int32Operands = {},
12582 // int -> QUANT8_ASYMM map
12583 .quant8AsymmOperands = {},
12584 // int -> QUANT16_SYMM map
12585 .quant16SymmOperands = {},
12586 // int -> FLOAT16 map
12587 .float16Operands = {},
12588 // int -> BOOL8 map
12589 .bool8Operands = {},
12590 // int -> QUANT8_SYMM_PER_CHANNEL map
12591 .quant8ChannelOperands = {},
12592 // int -> QUANT16_ASYMM map
12593 .quant16AsymmOperands = {},
12594 // int -> QUANT8_SYMM map
12595 .quant8SymmOperands = {},
12596 }
12597 },
12598 }, // End of an example
12599 };
12600 return examples_3_H3_W2_SAME_nchw;
12601 };
12602
get_examples_3_H3_W2_SAME_nchw_relaxed()12603 std::vector<MixedTypedExample>& get_examples_3_H3_W2_SAME_nchw_relaxed() {
12604 static std::vector<MixedTypedExample> examples_3_H3_W2_SAME_nchw_relaxed = {
12605 // Begin of an example
12606 {
12607 .operands = {
12608 //Input(s)
12609 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12610 // int -> Dimensions map
12611 .operandDimensions = {{0, {1, 3, 8, 8}}},
12612 // int -> FLOAT32 map
12613 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
12614 // int -> INT32 map
12615 .int32Operands = {},
12616 // int -> QUANT8_ASYMM map
12617 .quant8AsymmOperands = {},
12618 // int -> QUANT16_SYMM map
12619 .quant16SymmOperands = {},
12620 // int -> FLOAT16 map
12621 .float16Operands = {},
12622 // int -> BOOL8 map
12623 .bool8Operands = {},
12624 // int -> QUANT8_SYMM_PER_CHANNEL map
12625 .quant8ChannelOperands = {},
12626 // int -> QUANT16_ASYMM map
12627 .quant16AsymmOperands = {},
12628 // int -> QUANT8_SYMM map
12629 .quant8SymmOperands = {},
12630 },
12631 //Output(s)
12632 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12633 // int -> Dimensions map
12634 .operandDimensions = {{0, {1, 3, 8, 8}}},
12635 // int -> FLOAT32 map
12636 .float32Operands = {{0, {-1.27853f, 0.989692f, -0.536896f, 1.33708f, 1.43859f, -0.662793f, -0.524396f, 0.12666f, -0.186842f, -0.385009f, -1.23059f, 0.359522f, -0.282945f, 0.0847837f, 0.149246f, 0.952311f, 0.484796f, -1.41301f, 1.17741f, -1.21565f, 0.512143f, -0.0533093f, 1.16328f, -0.126476f, 1.2248f, -0.619941f, 1.59314f, 1.13719f, 1.18608f, 0.548297f, -0.993354f, 0.318668f, -0.629126f, -1.961f, -1.02403f, 3.99355f, -0.562438f, -0.928687f, -0.566053f, 1.13613f, -0.414666f, -1.72657f, -0.478669f, 1.48565f, -0.317118f, -1.38343f, 1.81634f, -0.407478f, -0.481893f, 0.247846f, -0.519673f, -1.01065f, -0.184304f, -0.196685f, 0.0845042f, -0.201145f, -0.333518f, 0.118687f, 0.432037f, 0.419788f, 0.570793f, -1.10231f, -0.460382f, 0.679068f, 1.74987f, 0.298548f, -0.179382f, 1.37042f, -1.548f, -0.0867897f, 0.255731f, 0.915651f, -1.87308f, 1.72032f, 1.23694f, 1.60084f, 2.37292f, -0.352093f, 0.920351f, -0.35811f, -1.19989f, 0.103177f, 2.58936f, -1.09619f, 0.771379f, 0.290864f, 1.80768f, -0.185224f, 0.237127f, 0.497944f, -0.127337f, 1.68537f, -2.52744f, -2.0838f, 0.128238f, 0.893795f, -0.949229f, 0.00589599f, 0.396121f, 0.434221f, -0.914871f, 0.834954f, -0.957341f, -1.22109f, -0.452821f, -0.726574f, 1.78703f, -0.179904f, -0.675387f, 0.697255f, 0.717801f, -0.343106f, -0.135565f, 2.67757f, 0.254447f, 0.507911f, -0.000950437f, -0.713241f, 2.48496f, 0.533332f, -0.581063f, -1.86708f, 1.73923f, 0.314198f, -1.15998f, -2.13091f, 0.138338f, -0.190282f, -0.876718f, 0.522103f, -0.966914f, -0.495494f, -0.430026f, -0.900658f, -0.779081f, -0.444765f, 1.21135f, -1.56036f, 0.00200015f, 0.434006f, -1.28653f, -2.39659f, -1.34346f, 0.403449f, -0.684298f, -0.307039f, -2.76237f, 1.17432f, 0.399879f, 0.95563f, -1.52564f, -0.114779f, -0.213297f, -1.68688f, 0.111419f, -0.479644f, 1.34136f, 2.64585f, 1.26092f, -0.0600559f, 2.25828f, -0.187854f, 1.3704f, 0.274464f, 0.539129f, 0.844178f, 0.933336f, 1.4649f, -0.706006f, -0.0979362f, -0.639288f, 1.01003f, 1.90969f, -0.292255f, 0.862479f, -0.0353232f, -2.95941f, -2.23999f, 0.415283f, 0.979926f, -0.734348f, 0.594972f, 0.385019f, -0.904872f, -2.07065f, -0.601987f, 0.590007f, 2.12817f, -0.348587f, 0.134467f, 3.455f, -0.0307461f}}},
12637 // int -> INT32 map
12638 .int32Operands = {},
12639 // int -> QUANT8_ASYMM map
12640 .quant8AsymmOperands = {},
12641 // int -> QUANT16_SYMM map
12642 .quant16SymmOperands = {},
12643 // int -> FLOAT16 map
12644 .float16Operands = {},
12645 // int -> BOOL8 map
12646 .bool8Operands = {},
12647 // int -> QUANT8_SYMM_PER_CHANNEL map
12648 .quant8ChannelOperands = {},
12649 // int -> QUANT16_ASYMM map
12650 .quant16AsymmOperands = {},
12651 // int -> QUANT8_SYMM map
12652 .quant8SymmOperands = {},
12653 }
12654 },
12655 }, // End of an example
12656 // Begin of an example
12657 {
12658 .operands = {
12659 //Input(s)
12660 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12661 // int -> Dimensions map
12662 .operandDimensions = {{0, {1, 3, 8, 8}}},
12663 // int -> FLOAT32 map
12664 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
12665 // int -> INT32 map
12666 .int32Operands = {},
12667 // int -> QUANT8_ASYMM map
12668 .quant8AsymmOperands = {},
12669 // int -> QUANT16_SYMM map
12670 .quant16SymmOperands = {},
12671 // int -> FLOAT16 map
12672 .float16Operands = {},
12673 // int -> BOOL8 map
12674 .bool8Operands = {},
12675 // int -> QUANT8_SYMM_PER_CHANNEL map
12676 .quant8ChannelOperands = {},
12677 // int -> QUANT16_ASYMM map
12678 .quant16AsymmOperands = {},
12679 // int -> QUANT8_SYMM map
12680 .quant8SymmOperands = {},
12681 },
12682 //Output(s)
12683 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12684 // int -> Dimensions map
12685 .operandDimensions = {{0, {1, 3, 8, 8}}},
12686 // int -> FLOAT32 map
12687 .float32Operands = {{0, {0.78574f, 0.0141003f, 1.24104f, 0.900559f, 1.0089f, 0.270558f, -0.371484f, 0.155766f, 1.06709f, -0.797245f, 2.2661f, -1.33682f, 0.943457f, -0.345875f, 0.104745f, -0.453742f, -0.489415f, -2.10237f, -0.746785f, 0.774279f, 1.03753f, -1.00373f, -0.0662623f, 0.280837f, 3.04734f, -0.980369f, 1.64909f, -0.594375f, -0.613449f, 1.12977f, 0.118765f, 1.35182f, 1.38049f, 1.03795f, -1.6372f, 1.8485f, -0.437375f, 0.0811864f, 2.01812f, -0.840276f, 0.609824f, 2.02386f, -0.508992f, 1.85277f, -1.13279f, -0.588752f, 0.884758f, 0.771629f, -2.19264f, -1.63197f, -2.37862f, 0.9499f, 1.58888f, 0.545251f, -0.790398f, 0.430923f, 0.979546f, -1.66798f, 1.00299f, -2.31281f, 0.549629f, 0.283996f, 1.12105f, -0.612661f, 0.0700466f, -0.621007f, 0.580398f, -0.683229f, -0.0752488f, 0.756819f, 0.149005f, -0.476502f, -1.16534f, 0.802736f, -1.45548f, 1.15225f, 0.885211f, -0.114708f, 0.828324f, -0.288829f, 1.74889f, 0.613022f, 3.63816f, -0.613917f, -0.177923f, 1.83859f, 0.218806f, 0.902901f, -1.57302f, -3.85305f, 2.33573f, 0.325747f, 2.85073f, 1.1351f, -0.199547f, -1.85457f, 2.38342f, -0.321571f, 1.09302f, -0.158928f, -1.5794f, 0.912054f, 2.62907f, -0.455854f, -0.11105f, 1.4687f, -3.02602f, 2.92817f, -0.355636f, 2.05759f, -0.0712112f, 0.949634f, 0.114521f, -0.267442f, 2.57646f, -0.231441f, 0.895931f, 0.746903f, -1.1055f, 0.818241f, -2.48707f, -1.04585f, -2.20339f, 0.755535f, 0.713128f, -0.814532f, 0.927998f, -1.47756f, -0.110245f, -0.979104f, -0.512997f, -1.0162f, 0.110969f, -0.10753f, 0.0973829f, 0.259481f, 1.52694f, -0.997109f, 2.15506f, -3.09324f, 0.987944f, 1.7107f, -2.49964f, -0.0948694f, -0.378257f, -2.5225f, -1.9287f, -0.650011f, 0.891815f, -1.59239f, -1.088f, -1.90127f, 1.10881f, -0.955859f, 0.31144f, -0.952566f, 1.94692f, -0.449652f, 2.873f, 1.22364f, 0.882321f, -2.60202f, 0.461768f, 4.28871f, 1.59869f, 0.452176f, 1.50304f, -0.224913f, 3.35635f, -0.708365f, -0.75725f, -0.172997f, -0.337669f, 1.0651f, 3.81319f, 0.0838967f, 0.543556f, 1.15701f, 0.531208f, 1.51461f, -0.753084f, 0.012994f, 1.77789f, -0.731412f, -1.53658f, -0.667911f, 0.137826f, 0.495396f, 0.751369f, 1.4866f, 0.517938f, -1.42422f}}},
12688 // int -> INT32 map
12689 .int32Operands = {},
12690 // int -> QUANT8_ASYMM map
12691 .quant8AsymmOperands = {},
12692 // int -> QUANT16_SYMM map
12693 .quant16SymmOperands = {},
12694 // int -> FLOAT16 map
12695 .float16Operands = {},
12696 // int -> BOOL8 map
12697 .bool8Operands = {},
12698 // int -> QUANT8_SYMM_PER_CHANNEL map
12699 .quant8ChannelOperands = {},
12700 // int -> QUANT16_ASYMM map
12701 .quant16AsymmOperands = {},
12702 // int -> QUANT8_SYMM map
12703 .quant8SymmOperands = {},
12704 }
12705 },
12706 }, // End of an example
12707 };
12708 return examples_3_H3_W2_SAME_nchw_relaxed;
12709 };
12710
get_examples_3_H3_W2_SAME_nchw_float16()12711 std::vector<MixedTypedExample>& get_examples_3_H3_W2_SAME_nchw_float16() {
12712 static std::vector<MixedTypedExample> examples_3_H3_W2_SAME_nchw_float16 = {
12713 // Begin of an example
12714 {
12715 .operands = {
12716 //Input(s)
12717 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12718 // int -> Dimensions map
12719 .operandDimensions = {{0, {1, 3, 8, 8}}},
12720 // int -> FLOAT32 map
12721 .float32Operands = {},
12722 // int -> INT32 map
12723 .int32Operands = {},
12724 // int -> QUANT8_ASYMM map
12725 .quant8AsymmOperands = {},
12726 // int -> QUANT16_SYMM map
12727 .quant16SymmOperands = {},
12728 // int -> FLOAT16 map
12729 .float16Operands = {{0, {-0.8699309825897217f, 0.153671994805336f, -0.13493099808692932f, -0.2591570019721985f, 0.7655590176582336f, 0.6584939956665039f, -0.25289300084114075f, -0.07006630301475525f, 0.150845006108284f, 0.4065369963645935f, -0.356361985206604f, 0.21048299968242645f, -0.7520380020141602f, -0.551177978515625f, 0.21634800732135773f, 0.5590599775314331f, -0.3637630045413971f, 0.7560970187187195f, -0.6563169956207275f, -0.4031600058078766f, 0.6123620271682739f, -0.39809200167655945f, -0.9252719879150391f, 0.0968329980969429f, 0.0316540002822876f, 0.09482540190219879f, 0.3526650071144104f, -0.96806800365448f, 0.9390519857406616f, -0.058271098881959915f, 0.4597109854221344f, -0.6801750063896179f, 0.5060039758682251f, -0.1724960058927536f, -0.9538840055465698f, 0.20972700417041779f, 0.11319400370121002f, -0.47286298871040344f, -0.8394449949264526f, 0.3448669910430908f, -0.5408269762992859f, 0.506164014339447f, 0.756771981716156f, 0.4608210027217865f, -0.6406030058860779f, -0.568261981010437f, 0.15967300534248352f, -0.16025400161743164f, 0.600721001625061f, 0.4779619872570038f, -0.9394810199737549f, -0.5116369724273682f, -0.3236840069293976f, 0.36417099833488464f, -0.4045589864253998f, -0.3342759907245636f, 0.15651099383831024f, 0.8185970187187195f, -0.586014986038208f, 0.0892409011721611f, 0.46550899744033813f, 0.4130670130252838f, 0.5961400270462036f, -0.704380989074707f, 0.6446279883384705f, 0.8685619831085205f, -0.24756500124931335f, -0.2842960059642792f, 0.41986000537872314f, 0.214355006814003f, -0.47893500328063965f, -0.9887290000915527f, 0.8299149870872498f, -0.3553430140018463f, 0.8004819750785828f, -0.6343029737472534f, 0.45754700899124146f, 0.4467659890651703f, -0.8528059720993042f, -0.6684929728507996f, -0.16283699870109558f, -0.14226900041103363f, -0.9980859756469727f, -0.8936820030212402f, -0.8695880174636841f, -0.04235589876770973f, 0.1765490025281906f, -0.29680201411247253f, -0.25447899103164673f, 0.6437690258026123f, -0.9011790156364441f, -0.615401029586792f, -0.11628899723291397f, 0.4351719915866852f, 0.7174360156059265f, -0.4150660037994385f, -0.3378080129623413f, 0.8706380128860474f, 0.9030420184135437f, -0.28538399934768677f, 0.07566110044717789f, 0.9606090188026428f, 0.45709699392318726f, -0.13161900639533997f, 0.5712590217590332f, -0.1558389961719513f, -0.6620690226554871f, 0.17787200212478638f, 0.702597975730896f, -0.07137160003185272f, -0.3052079975605011f, 0.787322998046875f, 0.2631860077381134f, -0.7029510140419006f, -0.5245190262794495f, -0.5034989714622498f, 0.5344439744949341f, 0.03703580051660538f, -0.8141779899597168f, 0.6692500114440918f, -0.4279490113258362f, -0.6499019861221313f, -0.5597890019416809f, -0.6212509870529175f, 0.47040000557899475f, 0.1808219999074936f, 0.8255749940872192f, -0.29763099551200867f, -0.9183930158615112f, -0.3581770062446594f, 0.2217400074005127f, -0.5380650162696838f, -0.556240975856781f, -0.8501690030097961f, 0.5305259823799133f, -0.30306100845336914f, 0.47634899616241455f, 0.7571449875831604f, -0.7138609886169434f, 0.7182360291481018f, -0.5507689714431763f, -0.22746199369430542f, -0.3514859974384308f, -0.3034929931163788f, 0.07010120153427124f, 0.3297240138053894f, -0.6529489755630493f, 0.43274399638175964f, -0.7132700085639954f, 0.4365760087966919f, 0.8229039907455444f, -0.4271950125694275f, 0.2449049949645996f, -0.9039099812507629f, 0.2661589980125427f, -0.38897499442100525f, 0.10752300173044205f, 0.33467501401901245f, 0.49662700295448303f, 0.33984801173210144f, -0.10721799731254578f, 0.9318720102310181f, 0.7600780129432678f, -0.45513999462127686f, 0.09244350343942642f, -0.16038499772548676f, 0.1633480042219162f, 0.6887149810791016f, -0.9558699727058411f, 0.07896210253238678f, 0.24290800094604492f, -0.2898389995098114f, -0.5064060091972351f, 0.4137920141220093f, 0.13381600379943848f, -0.7532439827919006f, -0.16238699853420258f, -0.7310360074043274f, 0.9340720176696777f, 0.10623600333929062f, -0.8437449932098389f, -0.16880099475383759f, 0.9174500107765198f, -0.8012009859085083f, 0.3791530132293701f, 0.4270870089530945f, -0.8339229822158813f, 0.2138260006904602f, 0.38026100397109985f, 0.17286600172519684f, 0.6629160046577454f, 0.6977779865264893f}}},
12730 // int -> BOOL8 map
12731 .bool8Operands = {},
12732 // int -> QUANT8_SYMM_PER_CHANNEL map
12733 .quant8ChannelOperands = {},
12734 // int -> QUANT16_ASYMM map
12735 .quant16AsymmOperands = {},
12736 // int -> QUANT8_SYMM map
12737 .quant8SymmOperands = {},
12738 },
12739 //Output(s)
12740 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12741 // int -> Dimensions map
12742 .operandDimensions = {{0, {1, 3, 8, 8}}},
12743 // int -> FLOAT32 map
12744 .float32Operands = {},
12745 // int -> INT32 map
12746 .int32Operands = {},
12747 // int -> QUANT8_ASYMM map
12748 .quant8AsymmOperands = {},
12749 // int -> QUANT16_SYMM map
12750 .quant16SymmOperands = {},
12751 // int -> FLOAT16 map
12752 .float16Operands = {{0, {-1.2785300016403198f, 0.989691972732544f, -0.5368959903717041f, 1.3370800018310547f, 1.4385900497436523f, -0.662792980670929f, -0.5243960022926331f, 0.12666000425815582f, -0.18684199452400208f, -0.3850089907646179f, -1.2305899858474731f, 0.3595220148563385f, -0.28294500708580017f, 0.08478370308876038f, 0.1492460072040558f, 0.9523109793663025f, 0.4847959876060486f, -1.4130100011825562f, 1.1774100065231323f, -1.215649962425232f, 0.5121430158615112f, -0.05330929905176163f, 1.1632800102233887f, -0.1264760047197342f, 1.2247999906539917f, -0.619940996170044f, 1.5931400060653687f, 1.1371899843215942f, 1.186079978942871f, 0.5482969880104065f, -0.9933540225028992f, 0.318668007850647f, -0.6291260123252869f, -1.9609999656677246f, -1.0240299701690674f, 3.9935500621795654f, -0.5624380111694336f, -0.9286869764328003f, -0.5660529732704163f, 1.1361299753189087f, -0.41466599702835083f, -1.7265700101852417f, -0.4786689877510071f, 1.4856499433517456f, -0.31711798906326294f, -1.383430004119873f, 1.8163399696350098f, -0.407478004693985f, -0.48189300298690796f, 0.24784600734710693f, -0.5196729898452759f, -1.0106500387191772f, -0.18430399894714355f, -0.19668500125408173f, 0.08450420200824738f, -0.2011449933052063f, -0.33351799845695496f, 0.11868699640035629f, 0.43203699588775635f, 0.4197880029678345f, 0.5707929730415344f, -1.1023099422454834f, -0.46038201451301575f, 0.6790680289268494f, 1.7498699426651f, 0.29854801297187805f, -0.17938199639320374f, 1.370419979095459f, -1.5479999780654907f, -0.08678969740867615f, 0.2557309865951538f, 0.9156510233879089f, -1.8730800151824951f, 1.7203199863433838f, 1.2369400262832642f, 1.6008399724960327f, 2.372920036315918f, -0.35209301114082336f, 0.9203510284423828f, -0.3581100106239319f, -1.1998900175094604f, 0.10317700356245041f, 2.589359998703003f, -1.0961899757385254f, 0.7713789939880371f, 0.2908639907836914f, 1.8076800107955933f, -0.1852239966392517f, 0.23712700605392456f, 0.4979439973831177f, -0.1273369938135147f, 1.6853699684143066f, -2.527440071105957f, -2.0838000774383545f, 0.1282380074262619f, 0.8937950134277344f, -0.9492290019989014f, 0.0058959899470210075f, 0.39612099528312683f, 0.4342209994792938f, -0.9148709774017334f, 0.834954023361206f, -0.9573410153388977f, -1.2210899591445923f, -0.4528209865093231f, -0.7265740036964417f, 1.7870299816131592f, -0.1799039989709854f, -0.6753870248794556f, 0.69725501537323f, 0.7178009748458862f, -0.3431060016155243f, -0.13556499779224396f, 2.677570104598999f, 0.25444701313972473f, 0.5079110264778137f, -0.0009504369809292257f, -0.7132409811019897f, 2.4849600791931152f, 0.5333319902420044f, -0.5810629725456238f, -1.8670799732208252f, 1.7392300367355347f, 0.31419798731803894f, -1.159980058670044f, -2.1309099197387695f, 0.13833799958229065f, -0.19028200209140778f, -0.8767179846763611f, 0.5221030116081238f, -0.9669139981269836f, -0.49549400806427f, -0.43002599477767944f, -0.9006580114364624f, -0.7790809869766235f, -0.44476500153541565f, 1.2113499641418457f, -1.5603599548339844f, 0.0020001500379294157f, 0.434006005525589f, -1.2865300178527832f, -2.396589994430542f, -1.343459963798523f, 0.40344899892807007f, -0.6842979788780212f, -0.3070389926433563f, -2.7623701095581055f, 1.1743199825286865f, 0.39987900853157043f, 0.9556300044059753f, -1.5256400108337402f, -0.11477900296449661f, -0.21329699456691742f, -1.6868799924850464f, 0.11141899973154068f, -0.4796440005302429f, 1.3413599729537964f, 2.6458499431610107f, 1.2609200477600098f, -0.06005590036511421f, 2.258280038833618f, -0.18785400688648224f, 1.3703999519348145f, 0.2744640111923218f, 0.5391290187835693f, 0.8441780209541321f, 0.9333360195159912f, 1.464900016784668f, -0.7060059905052185f, -0.09793619811534882f, -0.6392880082130432f, 1.0100300312042236f, 1.909690022468567f, -0.2922550141811371f, 0.8624789714813232f, -0.03532319888472557f, -2.9594099521636963f, -2.239989995956421f, 0.4152829945087433f, 0.9799259901046753f, -0.7343479990959167f, 0.5949720144271851f, 0.3850190043449402f, -0.9048720002174377f, -2.070650100708008f, -0.6019870042800903f, 0.5900070071220398f, 2.1281700134277344f, -0.3485870063304901f, 0.1344670057296753f, 3.4549999237060547f, -0.0307461004704237f}}},
12753 // int -> BOOL8 map
12754 .bool8Operands = {},
12755 // int -> QUANT8_SYMM_PER_CHANNEL map
12756 .quant8ChannelOperands = {},
12757 // int -> QUANT16_ASYMM map
12758 .quant16AsymmOperands = {},
12759 // int -> QUANT8_SYMM map
12760 .quant8SymmOperands = {},
12761 }
12762 },
12763 }, // End of an example
12764 // Begin of an example
12765 {
12766 .operands = {
12767 //Input(s)
12768 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12769 // int -> Dimensions map
12770 .operandDimensions = {{0, {1, 3, 8, 8}}},
12771 // int -> FLOAT32 map
12772 .float32Operands = {},
12773 // int -> INT32 map
12774 .int32Operands = {},
12775 // int -> QUANT8_ASYMM map
12776 .quant8AsymmOperands = {},
12777 // int -> QUANT16_SYMM map
12778 .quant16SymmOperands = {},
12779 // int -> FLOAT16 map
12780 .float16Operands = {{0, {-0.29533499479293823f, 0.16608400642871857f, -0.719884991645813f, 0.823947012424469f, 0.18763099610805511f, -0.7550849914550781f, 0.04834359884262085f, 0.012578300200402737f, -0.1516599953174591f, 0.12966400384902954f, 0.9245190024375916f, 0.3508169949054718f, -0.002833950100466609f, -0.31911700963974f, 0.32864999771118164f, 0.5912659764289856f, 0.4620560109615326f, 0.6233999729156494f, -0.9556419849395752f, 0.664376974105835f, -0.2762629985809326f, -0.9589809775352478f, 0.30536898970603943f, -0.38288700580596924f, -0.2998040020465851f, -0.10305500030517578f, 0.5437430143356323f, -0.8571820259094238f, -0.7156140208244324f, -0.590142011642456f, -0.4733569920063019f, 0.48660698533058167f, -0.8009939789772034f, -0.44116199016571045f, 0.9696499705314636f, -0.526885986328125f, 0.33278900384902954f, -0.9340839982032776f, -0.7003949880599976f, -0.6917210221290588f, 0.03909660130739212f, -0.9715800285339355f, -0.46898600459098816f, -0.2731170058250427f, -0.7253810167312622f, -0.09492070227861404f, -0.22213299572467804f, -0.9294899702072144f, 0.33031100034713745f, 0.4759419858455658f, -0.5122079849243164f, 0.6517099738121033f, -0.4690130054950714f, -0.15784099698066711f, -0.6594370007514954f, 0.8903200030326843f, 0.772957980632782f, 0.9170519709587097f, 0.484142005443573f, 0.47887200117111206f, -0.732990026473999f, -0.09878560155630112f, -0.49810799956321716f, 0.928941011428833f, -0.0038760099560022354f, -0.28481999039649963f, -0.8693860173225403f, 0.4731830060482025f, 0.04265709966421127f, -0.4724529981613159f, 0.9334179759025574f, 0.21974200010299683f, 0.09349049627780914f, 0.8388440012931824f, 0.3428429961204529f, 0.8416380286216736f, -0.12846699357032776f, 0.846340000629425f, 0.029375499114394188f, -0.0743476003408432f, -0.5836250185966492f, 0.535269021987915f, -0.7701730132102966f, 0.3994449973106384f, -0.901951014995575f, 0.4826579988002777f, -0.9478179812431335f, -0.805741012096405f, -0.22982800006866455f, -0.4556800127029419f, -0.9607300162315369f, -0.9642599821090698f, 0.7652779817581177f, -0.2385070025920868f, -0.31962600350379944f, 0.580843985080719f, 0.2907629907131195f, 0.7186769843101501f, 7.536369957961142e-05f, -0.3526819944381714f, 0.7233890295028687f, -0.2847050130367279f, -0.9858080148696899f, 0.4944800138473511f, 0.29893800616264343f, 0.8639299869537354f, -0.25660499930381775f, -0.5903429985046387f, -0.19482100009918213f, -0.1803019940853119f, -0.40393000841140747f, 0.5800790190696716f, 0.017355099320411682f, 0.9071750044822693f, 0.36246299743652344f, 0.9900569915771484f, -0.10131099820137024f, -0.677711009979248f, -0.40760698914527893f, 0.22830699384212494f, 0.054701000452041626f, -0.8950219750404358f, 0.10864800214767456f, -0.984112024307251f, 0.7526000142097473f, 0.12541499733924866f, 0.43209001421928406f, -0.130731999874115f, -0.5522509813308716f, -0.15214300155639648f, -0.7455980181694031f, -0.33133700489997864f, -0.8268970251083374f, -0.023365600034594536f, -0.961974024772644f, 0.34260401129722595f, 0.7832210063934326f, -0.2713879942893982f, 0.2744179964065552f, -0.5439929962158203f, -0.6829429864883423f, 0.2830030024051666f, -0.03356960043311119f, -0.7412710189819336f, -0.5901830196380615f, -0.6708179712295532f, 0.4799860119819641f, -0.9688739776611328f, 0.5441039800643921f, -0.8072839975357056f, 0.8274980187416077f, -0.7966780066490173f, 0.8187829852104187f, -0.22782699763774872f, 0.9467470049858093f, -0.2924109995365143f, -0.47504299879074097f, 0.6730020046234131f, 0.9360139966011047f, 0.42535200715065f, -0.4949530065059662f, -0.8284270167350769f, -0.6999729871749878f, 0.7994660139083862f, 0.40765899419784546f, 0.9614840149879456f, -0.5953419804573059f, -0.08426489681005478f, -0.12809400260448456f, 0.27060601115226746f, 0.4721499979496002f, -0.8265290260314941f, -0.2596609890460968f, 0.04468340054154396f, 0.295771986246109f, -0.169855996966362f, -0.6358230113983154f, 0.2427770048379898f, 0.04962889850139618f, 0.690733015537262f, -0.6837199926376343f, -0.7082239985466003f, 0.677033007144928f, -0.7495139837265015f, 0.551705002784729f, -0.7023969888687134f, 0.8333470225334167f, 0.3871760070323944f, 0.44331198930740356f, 0.10875999927520752f, 0.34460899233818054f, -0.056916698813438416f}}},
12781 // int -> BOOL8 map
12782 .bool8Operands = {},
12783 // int -> QUANT8_SYMM_PER_CHANNEL map
12784 .quant8ChannelOperands = {},
12785 // int -> QUANT16_ASYMM map
12786 .quant16AsymmOperands = {},
12787 // int -> QUANT8_SYMM map
12788 .quant8SymmOperands = {},
12789 },
12790 //Output(s)
12791 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12792 // int -> Dimensions map
12793 .operandDimensions = {{0, {1, 3, 8, 8}}},
12794 // int -> FLOAT32 map
12795 .float32Operands = {},
12796 // int -> INT32 map
12797 .int32Operands = {},
12798 // int -> QUANT8_ASYMM map
12799 .quant8AsymmOperands = {},
12800 // int -> QUANT16_SYMM map
12801 .quant16SymmOperands = {},
12802 // int -> FLOAT16 map
12803 .float16Operands = {{0, {0.7857400178909302f, 0.014100300148129463f, 1.2410399913787842f, 0.9005590081214905f, 1.0089000463485718f, 0.2705579996109009f, -0.37148401141166687f, 0.15576599538326263f, 1.0670900344848633f, -0.7972450256347656f, 2.2660999298095703f, -1.3368200063705444f, 0.9434570074081421f, -0.34587499499320984f, 0.10474500060081482f, -0.45374199748039246f, -0.4894149899482727f, -2.102370023727417f, -0.7467849850654602f, 0.774278998374939f, 1.0375299453735352f, -1.003730058670044f, -0.06626229733228683f, 0.2808369994163513f, 3.047339916229248f, -0.980368971824646f, 1.649090051651001f, -0.5943750143051147f, -0.613448977470398f, 1.129770040512085f, 0.11876499652862549f, 1.3518199920654297f, 1.3804899454116821f, 1.037950038909912f, -1.6371999979019165f, 1.8485000133514404f, -0.437375009059906f, 0.08118639886379242f, 2.018120050430298f, -0.8402760028839111f, 0.609824001789093f, 2.023859977722168f, -0.5089920163154602f, 1.8527699708938599f, -1.132789969444275f, -0.5887519717216492f, 0.8847579956054688f, 0.7716289758682251f, -2.1926400661468506f, -1.6319700479507446f, -2.378619909286499f, 0.9498999714851379f, 1.588879942893982f, 0.5452510118484497f, -0.7903980016708374f, 0.4309230148792267f, 0.9795460104942322f, -1.6679799556732178f, 1.0029900074005127f, -2.312809944152832f, 0.5496289730072021f, 0.28399598598480225f, 1.1210500001907349f, -0.6126610040664673f, 0.07004660367965698f, -0.6210070252418518f, 0.5803980231285095f, -0.6832290291786194f, -0.07524880021810532f, 0.7568190097808838f, 0.1490049958229065f, -0.476502001285553f, -1.1653399467468262f, 0.8027359843254089f, -1.4554799795150757f, 1.152250051498413f, 0.8852109909057617f, -0.11470799893140793f, 0.828324019908905f, -0.2888289988040924f, 1.7488900423049927f, 0.6130220293998718f, 3.638159990310669f, -0.6139169931411743f, -0.17792299389839172f, 1.8385900259017944f, 0.21880599856376648f, 0.9029009938240051f, -1.5730199813842773f, -3.8530499935150146f, 2.3357300758361816f, 0.325747013092041f, 2.8507299423217773f, 1.13510000705719f, -0.19954699277877808f, -1.8545700311660767f, 2.383419990539551f, -0.3215709924697876f, 1.093019962310791f, -0.1589280068874359f, -1.5793999433517456f, 0.9120540022850037f, 2.6290700435638428f, -0.45585399866104126f, -0.11105000227689743f, 1.4687000513076782f, -3.026020050048828f, 2.9281699657440186f, -0.35563600063323975f, 2.0575900077819824f, -0.07121119648218155f, 0.9496340155601501f, 0.11452099680900574f, -0.267441987991333f, 2.5764598846435547f, -0.23144100606441498f, 0.8959310054779053f, 0.7469030022621155f, -1.1054999828338623f, 0.8182410001754761f, -2.487070083618164f, -1.0458500385284424f, -2.203389883041382f, 0.7555350065231323f, 0.7131279706954956f, -0.8145319819450378f, 0.9279980063438416f, -1.477560043334961f, -0.1102449968457222f, -0.9791039824485779f, -0.5129969716072083f, -1.0161999464035034f, 0.11096899956464767f, -0.10752999782562256f, 0.09738290309906006f, 0.2594810128211975f, 1.5269399881362915f, -0.9971089959144592f, 2.155060052871704f, -3.0932400226593018f, 0.9879440069198608f, 1.7107000350952148f, -2.4996399879455566f, -0.09486939758062363f, -0.37825700640678406f, -2.5225000381469727f, -1.9286999702453613f, -0.6500110030174255f, 0.8918150067329407f, -1.5923899412155151f, -1.0880000591278076f, -1.9012700319290161f, 1.1088099479675293f, -0.9558590054512024f, 0.31143999099731445f, -0.9525660276412964f, 1.9469200372695923f, -0.4496519863605499f, 2.872999906539917f, 1.223639965057373f, 0.8823210000991821f, -2.602020025253296f, 0.4617680013179779f, 4.288710117340088f, 1.5986900329589844f, 0.4521760046482086f, 1.5030399560928345f, -0.22491300106048584f, 3.3563499450683594f, -0.7083650231361389f, -0.7572500109672546f, -0.17299699783325195f, -0.3376689851284027f, 1.0650999546051025f, 3.81318998336792f, 0.0838966965675354f, 0.5435559749603271f, 1.1570099592208862f, 0.5312079787254333f, 1.5146100521087646f, -0.7530840039253235f, 0.012993999756872654f, 1.7778899669647217f, -0.7314119935035706f, -1.536579966545105f, -0.6679109930992126f, 0.13782599568367004f, 0.4953959882259369f, 0.7513689994812012f, 1.4866000413894653f, 0.5179380178451538f, -1.4242199659347534f}}},
12804 // int -> BOOL8 map
12805 .bool8Operands = {},
12806 // int -> QUANT8_SYMM_PER_CHANNEL map
12807 .quant8ChannelOperands = {},
12808 // int -> QUANT16_ASYMM map
12809 .quant16AsymmOperands = {},
12810 // int -> QUANT8_SYMM map
12811 .quant8SymmOperands = {},
12812 }
12813 },
12814 }, // End of an example
12815 };
12816 return examples_3_H3_W2_SAME_nchw_float16;
12817 };
12818
get_examples_3_H3_W2_SAME_dynamic_output_shape_nhwc()12819 std::vector<MixedTypedExample>& get_examples_3_H3_W2_SAME_dynamic_output_shape_nhwc() {
12820 static std::vector<MixedTypedExample> examples_3_H3_W2_SAME_dynamic_output_shape_nhwc = {
12821 // Begin of an example
12822 {
12823 .operands = {
12824 //Input(s)
12825 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12826 // int -> Dimensions map
12827 .operandDimensions = {{0, {1, 8, 8, 3}}},
12828 // int -> FLOAT32 map
12829 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
12830 // int -> INT32 map
12831 .int32Operands = {},
12832 // int -> QUANT8_ASYMM map
12833 .quant8AsymmOperands = {},
12834 // int -> QUANT16_SYMM map
12835 .quant16SymmOperands = {},
12836 // int -> FLOAT16 map
12837 .float16Operands = {},
12838 // int -> BOOL8 map
12839 .bool8Operands = {},
12840 // int -> QUANT8_SYMM_PER_CHANNEL map
12841 .quant8ChannelOperands = {},
12842 // int -> QUANT16_ASYMM map
12843 .quant16AsymmOperands = {},
12844 // int -> QUANT8_SYMM map
12845 .quant8SymmOperands = {},
12846 },
12847 //Output(s)
12848 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12849 // int -> Dimensions map
12850 .operandDimensions = {{0, {1, 8, 8, 3}}},
12851 // int -> FLOAT32 map
12852 .float32Operands = {{0, {-1.27853f, 1.74987f, -0.876718f, 0.989692f, 0.298548f, 0.522103f, -0.536896f, -0.179382f, -0.966914f, 1.33708f, 1.37042f, -0.495494f, 1.43859f, -1.548f, -0.430026f, -0.662793f, -0.0867897f, -0.900658f, -0.524396f, 0.255731f, -0.779081f, 0.12666f, 0.915651f, -0.444765f, -0.186842f, -1.87308f, 1.21135f, -0.385009f, 1.72032f, -1.56036f, -1.23059f, 1.23694f, 0.00200015f, 0.359522f, 1.60084f, 0.434006f, -0.282945f, 2.37292f, -1.28653f, 0.0847837f, -0.352093f, -2.39659f, 0.149246f, 0.920351f, -1.34346f, 0.952311f, -0.35811f, 0.403449f, 0.484796f, -1.19989f, -0.684298f, -1.41301f, 0.103177f, -0.307039f, 1.17741f, 2.58936f, -2.76237f, -1.21565f, -1.09619f, 1.17432f, 0.512143f, 0.771379f, 0.399879f, -0.0533093f, 0.290864f, 0.95563f, 1.16328f, 1.80768f, -1.52564f, -0.126476f, -0.185224f, -0.114779f, 1.2248f, 0.237127f, -0.213297f, -0.619941f, 0.497944f, -1.68688f, 1.59314f, -0.127337f, 0.111419f, 1.13719f, 1.68537f, -0.479644f, 1.18608f, -2.52744f, 1.34136f, 0.548297f, -2.0838f, 2.64585f, -0.993354f, 0.128238f, 1.26092f, 0.318668f, 0.893795f, -0.0600559f, -0.629126f, -0.949229f, 2.25828f, -1.961f, 0.00589599f, -0.187854f, -1.02403f, 0.396121f, 1.3704f, 3.99355f, 0.434221f, 0.274464f, -0.562438f, -0.914871f, 0.539129f, -0.928687f, 0.834954f, 0.844178f, -0.566053f, -0.957341f, 0.933336f, 1.13613f, -1.22109f, 1.4649f, -0.414666f, -0.452821f, -0.706006f, -1.72657f, -0.726574f, -0.0979362f, -0.478669f, 1.78703f, -0.639288f, 1.48565f, -0.179904f, 1.01003f, -0.317118f, -0.675387f, 1.90969f, -1.38343f, 0.697255f, -0.292255f, 1.81634f, 0.717801f, 0.862479f, -0.407478f, -0.343106f, -0.0353232f, -0.481893f, -0.135565f, -2.95941f, 0.247846f, 2.67757f, -2.23999f, -0.519673f, 0.254447f, 0.415283f, -1.01065f, 0.507911f, 0.979926f, -0.184304f, -0.000950437f, -0.734348f, -0.196685f, -0.713241f, 0.594972f, 0.0845042f, 2.48496f, 0.385019f, -0.201145f, 0.533332f, -0.904872f, -0.333518f, -0.581063f, -2.07065f, 0.118687f, -1.86708f, -0.601987f, 0.432037f, 1.73923f, 0.590007f, 0.419788f, 0.314198f, 2.12817f, 0.570793f, -1.15998f, -0.348587f, -1.10231f, -2.13091f, 0.134467f, -0.460382f, 0.138338f, 3.455f, 0.679068f, -0.190282f, -0.0307461f}}},
12853 // int -> INT32 map
12854 .int32Operands = {},
12855 // int -> QUANT8_ASYMM map
12856 .quant8AsymmOperands = {},
12857 // int -> QUANT16_SYMM map
12858 .quant16SymmOperands = {},
12859 // int -> FLOAT16 map
12860 .float16Operands = {},
12861 // int -> BOOL8 map
12862 .bool8Operands = {},
12863 // int -> QUANT8_SYMM_PER_CHANNEL map
12864 .quant8ChannelOperands = {},
12865 // int -> QUANT16_ASYMM map
12866 .quant16AsymmOperands = {},
12867 // int -> QUANT8_SYMM map
12868 .quant8SymmOperands = {},
12869 }
12870 },
12871 }, // End of an example
12872 // Begin of an example
12873 {
12874 .operands = {
12875 //Input(s)
12876 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12877 // int -> Dimensions map
12878 .operandDimensions = {{0, {1, 8, 8, 3}}},
12879 // int -> FLOAT32 map
12880 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
12881 // int -> INT32 map
12882 .int32Operands = {},
12883 // int -> QUANT8_ASYMM map
12884 .quant8AsymmOperands = {},
12885 // int -> QUANT16_SYMM map
12886 .quant16SymmOperands = {},
12887 // int -> FLOAT16 map
12888 .float16Operands = {},
12889 // int -> BOOL8 map
12890 .bool8Operands = {},
12891 // int -> QUANT8_SYMM_PER_CHANNEL map
12892 .quant8ChannelOperands = {},
12893 // int -> QUANT16_ASYMM map
12894 .quant16AsymmOperands = {},
12895 // int -> QUANT8_SYMM map
12896 .quant8SymmOperands = {},
12897 },
12898 //Output(s)
12899 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12900 // int -> Dimensions map
12901 .operandDimensions = {{0, {1, 8, 8, 3}}},
12902 // int -> FLOAT32 map
12903 .float32Operands = {{0, {0.78574f, 0.0700466f, -0.110245f, 0.0141003f, -0.621007f, -0.979104f, 1.24104f, 0.580398f, -0.512997f, 0.900559f, -0.683229f, -1.0162f, 1.0089f, -0.0752488f, 0.110969f, 0.270558f, 0.756819f, -0.10753f, -0.371484f, 0.149005f, 0.0973829f, 0.155766f, -0.476502f, 0.259481f, 1.06709f, -1.16534f, 1.52694f, -0.797245f, 0.802736f, -0.997109f, 2.2661f, -1.45548f, 2.15506f, -1.33682f, 1.15225f, -3.09324f, 0.943457f, 0.885211f, 0.987944f, -0.345875f, -0.114708f, 1.7107f, 0.104745f, 0.828324f, -2.49964f, -0.453742f, -0.288829f, -0.0948694f, -0.489415f, 1.74889f, -0.378257f, -2.10237f, 0.613022f, -2.5225f, -0.746785f, 3.63816f, -1.9287f, 0.774279f, -0.613917f, -0.650011f, 1.03753f, -0.177923f, 0.891815f, -1.00373f, 1.83859f, -1.59239f, -0.0662623f, 0.218806f, -1.088f, 0.280837f, 0.902901f, -1.90127f, 3.04734f, -1.57302f, 1.10881f, -0.980369f, -3.85305f, -0.955859f, 1.64909f, 2.33573f, 0.31144f, -0.594375f, 0.325747f, -0.952566f, -0.613449f, 2.85073f, 1.94692f, 1.12977f, 1.1351f, -0.449652f, 0.118765f, -0.199547f, 2.873f, 1.35182f, -1.85457f, 1.22364f, 1.38049f, 2.38342f, 0.882321f, 1.03795f, -0.321571f, -2.60202f, -1.6372f, 1.09302f, 0.461768f, 1.8485f, -0.158928f, 4.28871f, -0.437375f, -1.5794f, 1.59869f, 0.0811864f, 0.912054f, 0.452176f, 2.01812f, 2.62907f, 1.50304f, -0.840276f, -0.455854f, -0.224913f, 0.609824f, -0.11105f, 3.35635f, 2.02386f, 1.4687f, -0.708365f, -0.508992f, -3.02602f, -0.75725f, 1.85277f, 2.92817f, -0.172997f, -1.13279f, -0.355636f, -0.337669f, -0.588752f, 2.05759f, 1.0651f, 0.884758f, -0.0712112f, 3.81319f, 0.771629f, 0.949634f, 0.0838967f, -2.19264f, 0.114521f, 0.543556f, -1.63197f, -0.267442f, 1.15701f, -2.37862f, 2.57646f, 0.531208f, 0.9499f, -0.231441f, 1.51461f, 1.58888f, 0.895931f, -0.753084f, 0.545251f, 0.746903f, 0.012994f, -0.790398f, -1.1055f, 1.77789f, 0.430923f, 0.818241f, -0.731412f, 0.979546f, -2.48707f, -1.53658f, -1.66798f, -1.04585f, -0.667911f, 1.00299f, -2.20339f, 0.137826f, -2.31281f, 0.755535f, 0.495396f, 0.549629f, 0.713128f, 0.751369f, 0.283996f, -0.814532f, 1.4866f, 1.12105f, 0.927998f, 0.517938f, -0.612661f, -1.47756f, -1.42422f}}},
12904 // int -> INT32 map
12905 .int32Operands = {},
12906 // int -> QUANT8_ASYMM map
12907 .quant8AsymmOperands = {},
12908 // int -> QUANT16_SYMM map
12909 .quant16SymmOperands = {},
12910 // int -> FLOAT16 map
12911 .float16Operands = {},
12912 // int -> BOOL8 map
12913 .bool8Operands = {},
12914 // int -> QUANT8_SYMM_PER_CHANNEL map
12915 .quant8ChannelOperands = {},
12916 // int -> QUANT16_ASYMM map
12917 .quant16AsymmOperands = {},
12918 // int -> QUANT8_SYMM map
12919 .quant8SymmOperands = {},
12920 }
12921 },
12922 }, // End of an example
12923 };
12924 return examples_3_H3_W2_SAME_dynamic_output_shape_nhwc;
12925 };
12926
get_examples_3_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed()12927 std::vector<MixedTypedExample>& get_examples_3_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed() {
12928 static std::vector<MixedTypedExample> examples_3_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed = {
12929 // Begin of an example
12930 {
12931 .operands = {
12932 //Input(s)
12933 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12934 // int -> Dimensions map
12935 .operandDimensions = {{0, {1, 8, 8, 3}}},
12936 // int -> FLOAT32 map
12937 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
12938 // int -> INT32 map
12939 .int32Operands = {},
12940 // int -> QUANT8_ASYMM map
12941 .quant8AsymmOperands = {},
12942 // int -> QUANT16_SYMM map
12943 .quant16SymmOperands = {},
12944 // int -> FLOAT16 map
12945 .float16Operands = {},
12946 // int -> BOOL8 map
12947 .bool8Operands = {},
12948 // int -> QUANT8_SYMM_PER_CHANNEL map
12949 .quant8ChannelOperands = {},
12950 // int -> QUANT16_ASYMM map
12951 .quant16AsymmOperands = {},
12952 // int -> QUANT8_SYMM map
12953 .quant8SymmOperands = {},
12954 },
12955 //Output(s)
12956 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12957 // int -> Dimensions map
12958 .operandDimensions = {{0, {1, 8, 8, 3}}},
12959 // int -> FLOAT32 map
12960 .float32Operands = {{0, {-1.27853f, 1.74987f, -0.876718f, 0.989692f, 0.298548f, 0.522103f, -0.536896f, -0.179382f, -0.966914f, 1.33708f, 1.37042f, -0.495494f, 1.43859f, -1.548f, -0.430026f, -0.662793f, -0.0867897f, -0.900658f, -0.524396f, 0.255731f, -0.779081f, 0.12666f, 0.915651f, -0.444765f, -0.186842f, -1.87308f, 1.21135f, -0.385009f, 1.72032f, -1.56036f, -1.23059f, 1.23694f, 0.00200015f, 0.359522f, 1.60084f, 0.434006f, -0.282945f, 2.37292f, -1.28653f, 0.0847837f, -0.352093f, -2.39659f, 0.149246f, 0.920351f, -1.34346f, 0.952311f, -0.35811f, 0.403449f, 0.484796f, -1.19989f, -0.684298f, -1.41301f, 0.103177f, -0.307039f, 1.17741f, 2.58936f, -2.76237f, -1.21565f, -1.09619f, 1.17432f, 0.512143f, 0.771379f, 0.399879f, -0.0533093f, 0.290864f, 0.95563f, 1.16328f, 1.80768f, -1.52564f, -0.126476f, -0.185224f, -0.114779f, 1.2248f, 0.237127f, -0.213297f, -0.619941f, 0.497944f, -1.68688f, 1.59314f, -0.127337f, 0.111419f, 1.13719f, 1.68537f, -0.479644f, 1.18608f, -2.52744f, 1.34136f, 0.548297f, -2.0838f, 2.64585f, -0.993354f, 0.128238f, 1.26092f, 0.318668f, 0.893795f, -0.0600559f, -0.629126f, -0.949229f, 2.25828f, -1.961f, 0.00589599f, -0.187854f, -1.02403f, 0.396121f, 1.3704f, 3.99355f, 0.434221f, 0.274464f, -0.562438f, -0.914871f, 0.539129f, -0.928687f, 0.834954f, 0.844178f, -0.566053f, -0.957341f, 0.933336f, 1.13613f, -1.22109f, 1.4649f, -0.414666f, -0.452821f, -0.706006f, -1.72657f, -0.726574f, -0.0979362f, -0.478669f, 1.78703f, -0.639288f, 1.48565f, -0.179904f, 1.01003f, -0.317118f, -0.675387f, 1.90969f, -1.38343f, 0.697255f, -0.292255f, 1.81634f, 0.717801f, 0.862479f, -0.407478f, -0.343106f, -0.0353232f, -0.481893f, -0.135565f, -2.95941f, 0.247846f, 2.67757f, -2.23999f, -0.519673f, 0.254447f, 0.415283f, -1.01065f, 0.507911f, 0.979926f, -0.184304f, -0.000950437f, -0.734348f, -0.196685f, -0.713241f, 0.594972f, 0.0845042f, 2.48496f, 0.385019f, -0.201145f, 0.533332f, -0.904872f, -0.333518f, -0.581063f, -2.07065f, 0.118687f, -1.86708f, -0.601987f, 0.432037f, 1.73923f, 0.590007f, 0.419788f, 0.314198f, 2.12817f, 0.570793f, -1.15998f, -0.348587f, -1.10231f, -2.13091f, 0.134467f, -0.460382f, 0.138338f, 3.455f, 0.679068f, -0.190282f, -0.0307461f}}},
12961 // int -> INT32 map
12962 .int32Operands = {},
12963 // int -> QUANT8_ASYMM map
12964 .quant8AsymmOperands = {},
12965 // int -> QUANT16_SYMM map
12966 .quant16SymmOperands = {},
12967 // int -> FLOAT16 map
12968 .float16Operands = {},
12969 // int -> BOOL8 map
12970 .bool8Operands = {},
12971 // int -> QUANT8_SYMM_PER_CHANNEL map
12972 .quant8ChannelOperands = {},
12973 // int -> QUANT16_ASYMM map
12974 .quant16AsymmOperands = {},
12975 // int -> QUANT8_SYMM map
12976 .quant8SymmOperands = {},
12977 }
12978 },
12979 }, // End of an example
12980 // Begin of an example
12981 {
12982 .operands = {
12983 //Input(s)
12984 { // See tools/test_generator/include/TestHarness.h:MixedTyped
12985 // int -> Dimensions map
12986 .operandDimensions = {{0, {1, 8, 8, 3}}},
12987 // int -> FLOAT32 map
12988 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
12989 // int -> INT32 map
12990 .int32Operands = {},
12991 // int -> QUANT8_ASYMM map
12992 .quant8AsymmOperands = {},
12993 // int -> QUANT16_SYMM map
12994 .quant16SymmOperands = {},
12995 // int -> FLOAT16 map
12996 .float16Operands = {},
12997 // int -> BOOL8 map
12998 .bool8Operands = {},
12999 // int -> QUANT8_SYMM_PER_CHANNEL map
13000 .quant8ChannelOperands = {},
13001 // int -> QUANT16_ASYMM map
13002 .quant16AsymmOperands = {},
13003 // int -> QUANT8_SYMM map
13004 .quant8SymmOperands = {},
13005 },
13006 //Output(s)
13007 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13008 // int -> Dimensions map
13009 .operandDimensions = {{0, {1, 8, 8, 3}}},
13010 // int -> FLOAT32 map
13011 .float32Operands = {{0, {0.78574f, 0.0700466f, -0.110245f, 0.0141003f, -0.621007f, -0.979104f, 1.24104f, 0.580398f, -0.512997f, 0.900559f, -0.683229f, -1.0162f, 1.0089f, -0.0752488f, 0.110969f, 0.270558f, 0.756819f, -0.10753f, -0.371484f, 0.149005f, 0.0973829f, 0.155766f, -0.476502f, 0.259481f, 1.06709f, -1.16534f, 1.52694f, -0.797245f, 0.802736f, -0.997109f, 2.2661f, -1.45548f, 2.15506f, -1.33682f, 1.15225f, -3.09324f, 0.943457f, 0.885211f, 0.987944f, -0.345875f, -0.114708f, 1.7107f, 0.104745f, 0.828324f, -2.49964f, -0.453742f, -0.288829f, -0.0948694f, -0.489415f, 1.74889f, -0.378257f, -2.10237f, 0.613022f, -2.5225f, -0.746785f, 3.63816f, -1.9287f, 0.774279f, -0.613917f, -0.650011f, 1.03753f, -0.177923f, 0.891815f, -1.00373f, 1.83859f, -1.59239f, -0.0662623f, 0.218806f, -1.088f, 0.280837f, 0.902901f, -1.90127f, 3.04734f, -1.57302f, 1.10881f, -0.980369f, -3.85305f, -0.955859f, 1.64909f, 2.33573f, 0.31144f, -0.594375f, 0.325747f, -0.952566f, -0.613449f, 2.85073f, 1.94692f, 1.12977f, 1.1351f, -0.449652f, 0.118765f, -0.199547f, 2.873f, 1.35182f, -1.85457f, 1.22364f, 1.38049f, 2.38342f, 0.882321f, 1.03795f, -0.321571f, -2.60202f, -1.6372f, 1.09302f, 0.461768f, 1.8485f, -0.158928f, 4.28871f, -0.437375f, -1.5794f, 1.59869f, 0.0811864f, 0.912054f, 0.452176f, 2.01812f, 2.62907f, 1.50304f, -0.840276f, -0.455854f, -0.224913f, 0.609824f, -0.11105f, 3.35635f, 2.02386f, 1.4687f, -0.708365f, -0.508992f, -3.02602f, -0.75725f, 1.85277f, 2.92817f, -0.172997f, -1.13279f, -0.355636f, -0.337669f, -0.588752f, 2.05759f, 1.0651f, 0.884758f, -0.0712112f, 3.81319f, 0.771629f, 0.949634f, 0.0838967f, -2.19264f, 0.114521f, 0.543556f, -1.63197f, -0.267442f, 1.15701f, -2.37862f, 2.57646f, 0.531208f, 0.9499f, -0.231441f, 1.51461f, 1.58888f, 0.895931f, -0.753084f, 0.545251f, 0.746903f, 0.012994f, -0.790398f, -1.1055f, 1.77789f, 0.430923f, 0.818241f, -0.731412f, 0.979546f, -2.48707f, -1.53658f, -1.66798f, -1.04585f, -0.667911f, 1.00299f, -2.20339f, 0.137826f, -2.31281f, 0.755535f, 0.495396f, 0.549629f, 0.713128f, 0.751369f, 0.283996f, -0.814532f, 1.4866f, 1.12105f, 0.927998f, 0.517938f, -0.612661f, -1.47756f, -1.42422f}}},
13012 // int -> INT32 map
13013 .int32Operands = {},
13014 // int -> QUANT8_ASYMM map
13015 .quant8AsymmOperands = {},
13016 // int -> QUANT16_SYMM map
13017 .quant16SymmOperands = {},
13018 // int -> FLOAT16 map
13019 .float16Operands = {},
13020 // int -> BOOL8 map
13021 .bool8Operands = {},
13022 // int -> QUANT8_SYMM_PER_CHANNEL map
13023 .quant8ChannelOperands = {},
13024 // int -> QUANT16_ASYMM map
13025 .quant16AsymmOperands = {},
13026 // int -> QUANT8_SYMM map
13027 .quant8SymmOperands = {},
13028 }
13029 },
13030 }, // End of an example
13031 };
13032 return examples_3_H3_W2_SAME_dynamic_output_shape_nhwc_relaxed;
13033 };
13034
get_examples_3_H3_W2_SAME_dynamic_output_shape_nhwc_float16()13035 std::vector<MixedTypedExample>& get_examples_3_H3_W2_SAME_dynamic_output_shape_nhwc_float16() {
13036 static std::vector<MixedTypedExample> examples_3_H3_W2_SAME_dynamic_output_shape_nhwc_float16 = {
13037 // Begin of an example
13038 {
13039 .operands = {
13040 //Input(s)
13041 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13042 // int -> Dimensions map
13043 .operandDimensions = {{0, {1, 8, 8, 3}}},
13044 // int -> FLOAT32 map
13045 .float32Operands = {},
13046 // int -> INT32 map
13047 .int32Operands = {},
13048 // int -> QUANT8_ASYMM map
13049 .quant8AsymmOperands = {},
13050 // int -> QUANT16_SYMM map
13051 .quant16SymmOperands = {},
13052 // int -> FLOAT16 map
13053 .float16Operands = {{0, {-0.8699309825897217f, 0.6446279883384705f, -0.9183930158615112f, 0.153671994805336f, 0.8685619831085205f, -0.3581770062446594f, -0.13493099808692932f, -0.24756500124931335f, 0.2217400074005127f, -0.2591570019721985f, -0.2842960059642792f, -0.5380650162696838f, 0.7655590176582336f, 0.41986000537872314f, -0.556240975856781f, 0.6584939956665039f, 0.214355006814003f, -0.8501690030097961f, -0.25289300084114075f, -0.47893500328063965f, 0.5305259823799133f, -0.07006630301475525f, -0.9887290000915527f, -0.30306100845336914f, 0.150845006108284f, 0.8299149870872498f, 0.47634899616241455f, 0.4065369963645935f, -0.3553430140018463f, 0.7571449875831604f, -0.356361985206604f, 0.8004819750785828f, -0.7138609886169434f, 0.21048299968242645f, -0.6343029737472534f, 0.7182360291481018f, -0.7520380020141602f, 0.45754700899124146f, -0.5507689714431763f, -0.551177978515625f, 0.4467659890651703f, -0.22746199369430542f, 0.21634800732135773f, -0.8528059720993042f, -0.3514859974384308f, 0.5590599775314331f, -0.6684929728507996f, -0.3034929931163788f, -0.3637630045413971f, -0.16283699870109558f, 0.07010120153427124f, 0.7560970187187195f, -0.14226900041103363f, 0.3297240138053894f, -0.6563169956207275f, -0.9980859756469727f, -0.6529489755630493f, -0.4031600058078766f, -0.8936820030212402f, 0.43274399638175964f, 0.6123620271682739f, -0.8695880174636841f, -0.7132700085639954f, -0.39809200167655945f, -0.04235589876770973f, 0.4365760087966919f, -0.9252719879150391f, 0.1765490025281906f, 0.8229039907455444f, 0.0968329980969429f, -0.29680201411247253f, -0.4271950125694275f, 0.0316540002822876f, -0.25447899103164673f, 0.2449049949645996f, 0.09482540190219879f, 0.6437690258026123f, -0.9039099812507629f, 0.3526650071144104f, -0.9011790156364441f, 0.2661589980125427f, -0.96806800365448f, -0.615401029586792f, -0.38897499442100525f, 0.9390519857406616f, -0.11628899723291397f, 0.10752300173044205f, -0.058271098881959915f, 0.4351719915866852f, 0.33467501401901245f, 0.4597109854221344f, 0.7174360156059265f, 0.49662700295448303f, -0.6801750063896179f, -0.4150660037994385f, 0.33984801173210144f, 0.5060039758682251f, -0.3378080129623413f, -0.10721799731254578f, -0.1724960058927536f, 0.8706380128860474f, 0.9318720102310181f, -0.9538840055465698f, 0.9030420184135437f, 0.7600780129432678f, 0.20972700417041779f, -0.28538399934768677f, -0.45513999462127686f, 0.11319400370121002f, 0.07566110044717789f, 0.09244350343942642f, -0.47286298871040344f, 0.9606090188026428f, -0.16038499772548676f, -0.8394449949264526f, 0.45709699392318726f, 0.1633480042219162f, 0.3448669910430908f, -0.13161900639533997f, 0.6887149810791016f, -0.5408269762992859f, 0.5712590217590332f, -0.9558699727058411f, 0.506164014339447f, -0.1558389961719513f, 0.07896210253238678f, 0.756771981716156f, -0.6620690226554871f, 0.24290800094604492f, 0.4608210027217865f, 0.17787200212478638f, -0.2898389995098114f, -0.6406030058860779f, 0.702597975730896f, -0.5064060091972351f, -0.568261981010437f, -0.07137160003185272f, 0.4137920141220093f, 0.15967300534248352f, -0.3052079975605011f, 0.13381600379943848f, -0.16025400161743164f, 0.787322998046875f, -0.7532439827919006f, 0.600721001625061f, 0.2631860077381134f, -0.16238699853420258f, 0.4779619872570038f, -0.7029510140419006f, -0.7310360074043274f, -0.9394810199737549f, -0.5245190262794495f, 0.9340720176696777f, -0.5116369724273682f, -0.5034989714622498f, 0.10623600333929062f, -0.3236840069293976f, 0.5344439744949341f, -0.8437449932098389f, 0.36417099833488464f, 0.03703580051660538f, -0.16880099475383759f, -0.4045589864253998f, -0.8141779899597168f, 0.9174500107765198f, -0.3342759907245636f, 0.6692500114440918f, -0.8012009859085083f, 0.15651099383831024f, -0.4279490113258362f, 0.3791530132293701f, 0.8185970187187195f, -0.6499019861221313f, 0.4270870089530945f, -0.586014986038208f, -0.5597890019416809f, -0.8339229822158813f, 0.0892409011721611f, -0.6212509870529175f, 0.2138260006904602f, 0.46550899744033813f, 0.47040000557899475f, 0.38026100397109985f, 0.4130670130252838f, 0.1808219999074936f, 0.17286600172519684f, 0.5961400270462036f, 0.8255749940872192f, 0.6629160046577454f, -0.704380989074707f, -0.29763099551200867f, 0.6977779865264893f}}},
13054 // int -> BOOL8 map
13055 .bool8Operands = {},
13056 // int -> QUANT8_SYMM_PER_CHANNEL map
13057 .quant8ChannelOperands = {},
13058 // int -> QUANT16_ASYMM map
13059 .quant16AsymmOperands = {},
13060 // int -> QUANT8_SYMM map
13061 .quant8SymmOperands = {},
13062 },
13063 //Output(s)
13064 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13065 // int -> Dimensions map
13066 .operandDimensions = {{0, {1, 8, 8, 3}}},
13067 // int -> FLOAT32 map
13068 .float32Operands = {},
13069 // int -> INT32 map
13070 .int32Operands = {},
13071 // int -> QUANT8_ASYMM map
13072 .quant8AsymmOperands = {},
13073 // int -> QUANT16_SYMM map
13074 .quant16SymmOperands = {},
13075 // int -> FLOAT16 map
13076 .float16Operands = {{0, {-1.2785300016403198f, 1.7498699426651f, -0.8767179846763611f, 0.989691972732544f, 0.29854801297187805f, 0.5221030116081238f, -0.5368959903717041f, -0.17938199639320374f, -0.9669139981269836f, 1.3370800018310547f, 1.370419979095459f, -0.49549400806427f, 1.4385900497436523f, -1.5479999780654907f, -0.43002599477767944f, -0.662792980670929f, -0.08678969740867615f, -0.9006580114364624f, -0.5243960022926331f, 0.2557309865951538f, -0.7790809869766235f, 0.12666000425815582f, 0.9156510233879089f, -0.44476500153541565f, -0.18684199452400208f, -1.8730800151824951f, 1.2113499641418457f, -0.3850089907646179f, 1.7203199863433838f, -1.5603599548339844f, -1.2305899858474731f, 1.2369400262832642f, 0.0020001500379294157f, 0.3595220148563385f, 1.6008399724960327f, 0.434006005525589f, -0.28294500708580017f, 2.372920036315918f, -1.2865300178527832f, 0.08478370308876038f, -0.35209301114082336f, -2.396589994430542f, 0.1492460072040558f, 0.9203510284423828f, -1.343459963798523f, 0.9523109793663025f, -0.3581100106239319f, 0.40344899892807007f, 0.4847959876060486f, -1.1998900175094604f, -0.6842979788780212f, -1.4130100011825562f, 0.10317700356245041f, -0.3070389926433563f, 1.1774100065231323f, 2.589359998703003f, -2.7623701095581055f, -1.215649962425232f, -1.0961899757385254f, 1.1743199825286865f, 0.5121430158615112f, 0.7713789939880371f, 0.39987900853157043f, -0.05330929905176163f, 0.2908639907836914f, 0.9556300044059753f, 1.1632800102233887f, 1.8076800107955933f, -1.5256400108337402f, -0.1264760047197342f, -0.1852239966392517f, -0.11477900296449661f, 1.2247999906539917f, 0.23712700605392456f, -0.21329699456691742f, -0.619940996170044f, 0.4979439973831177f, -1.6868799924850464f, 1.5931400060653687f, -0.1273369938135147f, 0.11141899973154068f, 1.1371899843215942f, 1.6853699684143066f, -0.4796440005302429f, 1.186079978942871f, -2.527440071105957f, 1.3413599729537964f, 0.5482969880104065f, -2.0838000774383545f, 2.6458499431610107f, -0.9933540225028992f, 0.1282380074262619f, 1.2609200477600098f, 0.318668007850647f, 0.8937950134277344f, -0.06005590036511421f, -0.6291260123252869f, -0.9492290019989014f, 2.258280038833618f, -1.9609999656677246f, 0.0058959899470210075f, -0.18785400688648224f, -1.0240299701690674f, 0.39612099528312683f, 1.3703999519348145f, 3.9935500621795654f, 0.4342209994792938f, 0.2744640111923218f, -0.5624380111694336f, -0.9148709774017334f, 0.5391290187835693f, -0.9286869764328003f, 0.834954023361206f, 0.8441780209541321f, -0.5660529732704163f, -0.9573410153388977f, 0.9333360195159912f, 1.1361299753189087f, -1.2210899591445923f, 1.464900016784668f, -0.41466599702835083f, -0.4528209865093231f, -0.7060059905052185f, -1.7265700101852417f, -0.7265740036964417f, -0.09793619811534882f, -0.4786689877510071f, 1.7870299816131592f, -0.6392880082130432f, 1.4856499433517456f, -0.1799039989709854f, 1.0100300312042236f, -0.31711798906326294f, -0.6753870248794556f, 1.909690022468567f, -1.383430004119873f, 0.69725501537323f, -0.2922550141811371f, 1.8163399696350098f, 0.7178009748458862f, 0.8624789714813232f, -0.407478004693985f, -0.3431060016155243f, -0.03532319888472557f, -0.48189300298690796f, -0.13556499779224396f, -2.9594099521636963f, 0.24784600734710693f, 2.677570104598999f, -2.239989995956421f, -0.5196729898452759f, 0.25444701313972473f, 0.4152829945087433f, -1.0106500387191772f, 0.5079110264778137f, 0.9799259901046753f, -0.18430399894714355f, -0.0009504369809292257f, -0.7343479990959167f, -0.19668500125408173f, -0.7132409811019897f, 0.5949720144271851f, 0.08450420200824738f, 2.4849600791931152f, 0.3850190043449402f, -0.2011449933052063f, 0.5333319902420044f, -0.9048720002174377f, -0.33351799845695496f, -0.5810629725456238f, -2.070650100708008f, 0.11868699640035629f, -1.8670799732208252f, -0.6019870042800903f, 0.43203699588775635f, 1.7392300367355347f, 0.5900070071220398f, 0.4197880029678345f, 0.31419798731803894f, 2.1281700134277344f, 0.5707929730415344f, -1.159980058670044f, -0.3485870063304901f, -1.1023099422454834f, -2.1309099197387695f, 0.1344670057296753f, -0.46038201451301575f, 0.13833799958229065f, 3.4549999237060547f, 0.6790680289268494f, -0.19028200209140778f, -0.0307461004704237f}}},
13077 // int -> BOOL8 map
13078 .bool8Operands = {},
13079 // int -> QUANT8_SYMM_PER_CHANNEL map
13080 .quant8ChannelOperands = {},
13081 // int -> QUANT16_ASYMM map
13082 .quant16AsymmOperands = {},
13083 // int -> QUANT8_SYMM map
13084 .quant8SymmOperands = {},
13085 }
13086 },
13087 }, // End of an example
13088 // Begin of an example
13089 {
13090 .operands = {
13091 //Input(s)
13092 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13093 // int -> Dimensions map
13094 .operandDimensions = {{0, {1, 8, 8, 3}}},
13095 // int -> FLOAT32 map
13096 .float32Operands = {},
13097 // int -> INT32 map
13098 .int32Operands = {},
13099 // int -> QUANT8_ASYMM map
13100 .quant8AsymmOperands = {},
13101 // int -> QUANT16_SYMM map
13102 .quant16SymmOperands = {},
13103 // int -> FLOAT16 map
13104 .float16Operands = {{0, {-0.29533499479293823f, -0.0038760099560022354f, -0.5522509813308716f, 0.16608400642871857f, -0.28481999039649963f, -0.15214300155639648f, -0.719884991645813f, -0.8693860173225403f, -0.7455980181694031f, 0.823947012424469f, 0.4731830060482025f, -0.33133700489997864f, 0.18763099610805511f, 0.04265709966421127f, -0.8268970251083374f, -0.7550849914550781f, -0.4724529981613159f, -0.023365600034594536f, 0.04834359884262085f, 0.9334179759025574f, -0.961974024772644f, 0.012578300200402737f, 0.21974200010299683f, 0.34260401129722595f, -0.1516599953174591f, 0.09349049627780914f, 0.7832210063934326f, 0.12966400384902954f, 0.8388440012931824f, -0.2713879942893982f, 0.9245190024375916f, 0.3428429961204529f, 0.2744179964065552f, 0.3508169949054718f, 0.8416380286216736f, -0.5439929962158203f, -0.002833950100466609f, -0.12846699357032776f, -0.6829429864883423f, -0.31911700963974f, 0.846340000629425f, 0.2830030024051666f, 0.32864999771118164f, 0.029375499114394188f, -0.03356960043311119f, 0.5912659764289856f, -0.0743476003408432f, -0.7412710189819336f, 0.4620560109615326f, -0.5836250185966492f, -0.5901830196380615f, 0.6233999729156494f, 0.535269021987915f, -0.6708179712295532f, -0.9556419849395752f, -0.7701730132102966f, 0.4799860119819641f, 0.664376974105835f, 0.3994449973106384f, -0.9688739776611328f, -0.2762629985809326f, -0.901951014995575f, 0.5441039800643921f, -0.9589809775352478f, 0.4826579988002777f, -0.8072839975357056f, 0.30536898970603943f, -0.9478179812431335f, 0.8274980187416077f, -0.38288700580596924f, -0.805741012096405f, -0.7966780066490173f, -0.2998040020465851f, -0.22982800006866455f, 0.8187829852104187f, -0.10305500030517578f, -0.4556800127029419f, -0.22782699763774872f, 0.5437430143356323f, -0.9607300162315369f, 0.9467470049858093f, -0.8571820259094238f, -0.9642599821090698f, -0.2924109995365143f, -0.7156140208244324f, 0.7652779817581177f, -0.47504299879074097f, -0.590142011642456f, -0.2385070025920868f, 0.6730020046234131f, -0.4733569920063019f, -0.31962600350379944f, 0.9360139966011047f, 0.48660698533058167f, 0.580843985080719f, 0.42535200715065f, -0.8009939789772034f, 0.2907629907131195f, -0.4949530065059662f, -0.44116199016571045f, 0.7186769843101501f, -0.8284270167350769f, 0.9696499705314636f, 7.536369957961142e-05f, -0.6999729871749878f, -0.526885986328125f, -0.3526819944381714f, 0.7994660139083862f, 0.33278900384902954f, 0.7233890295028687f, 0.40765899419784546f, -0.9340839982032776f, -0.2847050130367279f, 0.9614840149879456f, -0.7003949880599976f, -0.9858080148696899f, -0.5953419804573059f, -0.6917210221290588f, 0.4944800138473511f, -0.08426489681005478f, 0.03909660130739212f, 0.29893800616264343f, -0.12809400260448456f, -0.9715800285339355f, 0.8639299869537354f, 0.27060601115226746f, -0.46898600459098816f, -0.25660499930381775f, 0.4721499979496002f, -0.2731170058250427f, -0.5903429985046387f, -0.8265290260314941f, -0.7253810167312622f, -0.19482100009918213f, -0.2596609890460968f, -0.09492070227861404f, -0.1803019940853119f, 0.04468340054154396f, -0.22213299572467804f, -0.40393000841140747f, 0.295771986246109f, -0.9294899702072144f, 0.5800790190696716f, -0.169855996966362f, 0.33031100034713745f, 0.017355099320411682f, -0.6358230113983154f, 0.4759419858455658f, 0.9071750044822693f, 0.2427770048379898f, -0.5122079849243164f, 0.36246299743652344f, 0.04962889850139618f, 0.6517099738121033f, 0.9900569915771484f, 0.690733015537262f, -0.4690130054950714f, -0.10131099820137024f, -0.6837199926376343f, -0.15784099698066711f, -0.677711009979248f, -0.7082239985466003f, -0.6594370007514954f, -0.40760698914527893f, 0.677033007144928f, 0.8903200030326843f, 0.22830699384212494f, -0.7495139837265015f, 0.772957980632782f, 0.054701000452041626f, 0.551705002784729f, 0.9170519709587097f, -0.8950219750404358f, -0.7023969888687134f, 0.484142005443573f, 0.10864800214767456f, 0.8333470225334167f, 0.47887200117111206f, -0.984112024307251f, 0.3871760070323944f, -0.732990026473999f, 0.7526000142097473f, 0.44331198930740356f, -0.09878560155630112f, 0.12541499733924866f, 0.10875999927520752f, -0.49810799956321716f, 0.43209001421928406f, 0.34460899233818054f, 0.928941011428833f, -0.130731999874115f, -0.056916698813438416f}}},
13105 // int -> BOOL8 map
13106 .bool8Operands = {},
13107 // int -> QUANT8_SYMM_PER_CHANNEL map
13108 .quant8ChannelOperands = {},
13109 // int -> QUANT16_ASYMM map
13110 .quant16AsymmOperands = {},
13111 // int -> QUANT8_SYMM map
13112 .quant8SymmOperands = {},
13113 },
13114 //Output(s)
13115 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13116 // int -> Dimensions map
13117 .operandDimensions = {{0, {1, 8, 8, 3}}},
13118 // int -> FLOAT32 map
13119 .float32Operands = {},
13120 // int -> INT32 map
13121 .int32Operands = {},
13122 // int -> QUANT8_ASYMM map
13123 .quant8AsymmOperands = {},
13124 // int -> QUANT16_SYMM map
13125 .quant16SymmOperands = {},
13126 // int -> FLOAT16 map
13127 .float16Operands = {{0, {0.7857400178909302f, 0.07004660367965698f, -0.1102449968457222f, 0.014100300148129463f, -0.6210070252418518f, -0.9791039824485779f, 1.2410399913787842f, 0.5803980231285095f, -0.5129969716072083f, 0.9005590081214905f, -0.6832290291786194f, -1.0161999464035034f, 1.0089000463485718f, -0.07524880021810532f, 0.11096899956464767f, 0.2705579996109009f, 0.7568190097808838f, -0.10752999782562256f, -0.37148401141166687f, 0.1490049958229065f, 0.09738290309906006f, 0.15576599538326263f, -0.476502001285553f, 0.2594810128211975f, 1.0670900344848633f, -1.1653399467468262f, 1.5269399881362915f, -0.7972450256347656f, 0.8027359843254089f, -0.9971089959144592f, 2.2660999298095703f, -1.4554799795150757f, 2.155060052871704f, -1.3368200063705444f, 1.152250051498413f, -3.0932400226593018f, 0.9434570074081421f, 0.8852109909057617f, 0.9879440069198608f, -0.34587499499320984f, -0.11470799893140793f, 1.7107000350952148f, 0.10474500060081482f, 0.828324019908905f, -2.4996399879455566f, -0.45374199748039246f, -0.2888289988040924f, -0.09486939758062363f, -0.4894149899482727f, 1.7488900423049927f, -0.37825700640678406f, -2.102370023727417f, 0.6130220293998718f, -2.5225000381469727f, -0.7467849850654602f, 3.638159990310669f, -1.9286999702453613f, 0.774278998374939f, -0.6139169931411743f, -0.6500110030174255f, 1.0375299453735352f, -0.17792299389839172f, 0.8918150067329407f, -1.003730058670044f, 1.8385900259017944f, -1.5923899412155151f, -0.06626229733228683f, 0.21880599856376648f, -1.0880000591278076f, 0.2808369994163513f, 0.9029009938240051f, -1.9012700319290161f, 3.047339916229248f, -1.5730199813842773f, 1.1088099479675293f, -0.980368971824646f, -3.8530499935150146f, -0.9558590054512024f, 1.649090051651001f, 2.3357300758361816f, 0.31143999099731445f, -0.5943750143051147f, 0.325747013092041f, -0.9525660276412964f, -0.613448977470398f, 2.8507299423217773f, 1.9469200372695923f, 1.129770040512085f, 1.13510000705719f, -0.4496519863605499f, 0.11876499652862549f, -0.19954699277877808f, 2.872999906539917f, 1.3518199920654297f, -1.8545700311660767f, 1.223639965057373f, 1.3804899454116821f, 2.383419990539551f, 0.8823210000991821f, 1.037950038909912f, -0.3215709924697876f, -2.602020025253296f, -1.6371999979019165f, 1.093019962310791f, 0.4617680013179779f, 1.8485000133514404f, -0.1589280068874359f, 4.288710117340088f, -0.437375009059906f, -1.5793999433517456f, 1.5986900329589844f, 0.08118639886379242f, 0.9120540022850037f, 0.4521760046482086f, 2.018120050430298f, 2.6290700435638428f, 1.5030399560928345f, -0.8402760028839111f, -0.45585399866104126f, -0.22491300106048584f, 0.609824001789093f, -0.11105000227689743f, 3.3563499450683594f, 2.023859977722168f, 1.4687000513076782f, -0.7083650231361389f, -0.5089920163154602f, -3.026020050048828f, -0.7572500109672546f, 1.8527699708938599f, 2.9281699657440186f, -0.17299699783325195f, -1.132789969444275f, -0.35563600063323975f, -0.3376689851284027f, -0.5887519717216492f, 2.0575900077819824f, 1.0650999546051025f, 0.8847579956054688f, -0.07121119648218155f, 3.81318998336792f, 0.7716289758682251f, 0.9496340155601501f, 0.0838966965675354f, -2.1926400661468506f, 0.11452099680900574f, 0.5435559749603271f, -1.6319700479507446f, -0.267441987991333f, 1.1570099592208862f, -2.378619909286499f, 2.5764598846435547f, 0.5312079787254333f, 0.9498999714851379f, -0.23144100606441498f, 1.5146100521087646f, 1.588879942893982f, 0.8959310054779053f, -0.7530840039253235f, 0.5452510118484497f, 0.7469030022621155f, 0.012993999756872654f, -0.7903980016708374f, -1.1054999828338623f, 1.7778899669647217f, 0.4309230148792267f, 0.8182410001754761f, -0.7314119935035706f, 0.9795460104942322f, -2.487070083618164f, -1.536579966545105f, -1.6679799556732178f, -1.0458500385284424f, -0.6679109930992126f, 1.0029900074005127f, -2.203389883041382f, 0.13782599568367004f, -2.312809944152832f, 0.7555350065231323f, 0.4953959882259369f, 0.5496289730072021f, 0.7131279706954956f, 0.7513689994812012f, 0.28399598598480225f, -0.8145319819450378f, 1.4866000413894653f, 1.1210500001907349f, 0.9279980063438416f, 0.5179380178451538f, -0.6126610040664673f, -1.477560043334961f, -1.4242199659347534f}}},
13128 // int -> BOOL8 map
13129 .bool8Operands = {},
13130 // int -> QUANT8_SYMM_PER_CHANNEL map
13131 .quant8ChannelOperands = {},
13132 // int -> QUANT16_ASYMM map
13133 .quant16AsymmOperands = {},
13134 // int -> QUANT8_SYMM map
13135 .quant8SymmOperands = {},
13136 }
13137 },
13138 }, // End of an example
13139 };
13140 return examples_3_H3_W2_SAME_dynamic_output_shape_nhwc_float16;
13141 };
13142
get_examples_3_H3_W2_SAME_dynamic_output_shape_nchw()13143 std::vector<MixedTypedExample>& get_examples_3_H3_W2_SAME_dynamic_output_shape_nchw() {
13144 static std::vector<MixedTypedExample> examples_3_H3_W2_SAME_dynamic_output_shape_nchw = {
13145 // Begin of an example
13146 {
13147 .operands = {
13148 //Input(s)
13149 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13150 // int -> Dimensions map
13151 .operandDimensions = {{0, {1, 3, 8, 8}}},
13152 // int -> FLOAT32 map
13153 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
13154 // int -> INT32 map
13155 .int32Operands = {},
13156 // int -> QUANT8_ASYMM map
13157 .quant8AsymmOperands = {},
13158 // int -> QUANT16_SYMM map
13159 .quant16SymmOperands = {},
13160 // int -> FLOAT16 map
13161 .float16Operands = {},
13162 // int -> BOOL8 map
13163 .bool8Operands = {},
13164 // int -> QUANT8_SYMM_PER_CHANNEL map
13165 .quant8ChannelOperands = {},
13166 // int -> QUANT16_ASYMM map
13167 .quant16AsymmOperands = {},
13168 // int -> QUANT8_SYMM map
13169 .quant8SymmOperands = {},
13170 },
13171 //Output(s)
13172 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13173 // int -> Dimensions map
13174 .operandDimensions = {{0, {1, 3, 8, 8}}},
13175 // int -> FLOAT32 map
13176 .float32Operands = {{0, {-1.27853f, 0.989692f, -0.536896f, 1.33708f, 1.43859f, -0.662793f, -0.524396f, 0.12666f, -0.186842f, -0.385009f, -1.23059f, 0.359522f, -0.282945f, 0.0847837f, 0.149246f, 0.952311f, 0.484796f, -1.41301f, 1.17741f, -1.21565f, 0.512143f, -0.0533093f, 1.16328f, -0.126476f, 1.2248f, -0.619941f, 1.59314f, 1.13719f, 1.18608f, 0.548297f, -0.993354f, 0.318668f, -0.629126f, -1.961f, -1.02403f, 3.99355f, -0.562438f, -0.928687f, -0.566053f, 1.13613f, -0.414666f, -1.72657f, -0.478669f, 1.48565f, -0.317118f, -1.38343f, 1.81634f, -0.407478f, -0.481893f, 0.247846f, -0.519673f, -1.01065f, -0.184304f, -0.196685f, 0.0845042f, -0.201145f, -0.333518f, 0.118687f, 0.432037f, 0.419788f, 0.570793f, -1.10231f, -0.460382f, 0.679068f, 1.74987f, 0.298548f, -0.179382f, 1.37042f, -1.548f, -0.0867897f, 0.255731f, 0.915651f, -1.87308f, 1.72032f, 1.23694f, 1.60084f, 2.37292f, -0.352093f, 0.920351f, -0.35811f, -1.19989f, 0.103177f, 2.58936f, -1.09619f, 0.771379f, 0.290864f, 1.80768f, -0.185224f, 0.237127f, 0.497944f, -0.127337f, 1.68537f, -2.52744f, -2.0838f, 0.128238f, 0.893795f, -0.949229f, 0.00589599f, 0.396121f, 0.434221f, -0.914871f, 0.834954f, -0.957341f, -1.22109f, -0.452821f, -0.726574f, 1.78703f, -0.179904f, -0.675387f, 0.697255f, 0.717801f, -0.343106f, -0.135565f, 2.67757f, 0.254447f, 0.507911f, -0.000950437f, -0.713241f, 2.48496f, 0.533332f, -0.581063f, -1.86708f, 1.73923f, 0.314198f, -1.15998f, -2.13091f, 0.138338f, -0.190282f, -0.876718f, 0.522103f, -0.966914f, -0.495494f, -0.430026f, -0.900658f, -0.779081f, -0.444765f, 1.21135f, -1.56036f, 0.00200015f, 0.434006f, -1.28653f, -2.39659f, -1.34346f, 0.403449f, -0.684298f, -0.307039f, -2.76237f, 1.17432f, 0.399879f, 0.95563f, -1.52564f, -0.114779f, -0.213297f, -1.68688f, 0.111419f, -0.479644f, 1.34136f, 2.64585f, 1.26092f, -0.0600559f, 2.25828f, -0.187854f, 1.3704f, 0.274464f, 0.539129f, 0.844178f, 0.933336f, 1.4649f, -0.706006f, -0.0979362f, -0.639288f, 1.01003f, 1.90969f, -0.292255f, 0.862479f, -0.0353232f, -2.95941f, -2.23999f, 0.415283f, 0.979926f, -0.734348f, 0.594972f, 0.385019f, -0.904872f, -2.07065f, -0.601987f, 0.590007f, 2.12817f, -0.348587f, 0.134467f, 3.455f, -0.0307461f}}},
13177 // int -> INT32 map
13178 .int32Operands = {},
13179 // int -> QUANT8_ASYMM map
13180 .quant8AsymmOperands = {},
13181 // int -> QUANT16_SYMM map
13182 .quant16SymmOperands = {},
13183 // int -> FLOAT16 map
13184 .float16Operands = {},
13185 // int -> BOOL8 map
13186 .bool8Operands = {},
13187 // int -> QUANT8_SYMM_PER_CHANNEL map
13188 .quant8ChannelOperands = {},
13189 // int -> QUANT16_ASYMM map
13190 .quant16AsymmOperands = {},
13191 // int -> QUANT8_SYMM map
13192 .quant8SymmOperands = {},
13193 }
13194 },
13195 }, // End of an example
13196 // Begin of an example
13197 {
13198 .operands = {
13199 //Input(s)
13200 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13201 // int -> Dimensions map
13202 .operandDimensions = {{0, {1, 3, 8, 8}}},
13203 // int -> FLOAT32 map
13204 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
13205 // int -> INT32 map
13206 .int32Operands = {},
13207 // int -> QUANT8_ASYMM map
13208 .quant8AsymmOperands = {},
13209 // int -> QUANT16_SYMM map
13210 .quant16SymmOperands = {},
13211 // int -> FLOAT16 map
13212 .float16Operands = {},
13213 // int -> BOOL8 map
13214 .bool8Operands = {},
13215 // int -> QUANT8_SYMM_PER_CHANNEL map
13216 .quant8ChannelOperands = {},
13217 // int -> QUANT16_ASYMM map
13218 .quant16AsymmOperands = {},
13219 // int -> QUANT8_SYMM map
13220 .quant8SymmOperands = {},
13221 },
13222 //Output(s)
13223 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13224 // int -> Dimensions map
13225 .operandDimensions = {{0, {1, 3, 8, 8}}},
13226 // int -> FLOAT32 map
13227 .float32Operands = {{0, {0.78574f, 0.0141003f, 1.24104f, 0.900559f, 1.0089f, 0.270558f, -0.371484f, 0.155766f, 1.06709f, -0.797245f, 2.2661f, -1.33682f, 0.943457f, -0.345875f, 0.104745f, -0.453742f, -0.489415f, -2.10237f, -0.746785f, 0.774279f, 1.03753f, -1.00373f, -0.0662623f, 0.280837f, 3.04734f, -0.980369f, 1.64909f, -0.594375f, -0.613449f, 1.12977f, 0.118765f, 1.35182f, 1.38049f, 1.03795f, -1.6372f, 1.8485f, -0.437375f, 0.0811864f, 2.01812f, -0.840276f, 0.609824f, 2.02386f, -0.508992f, 1.85277f, -1.13279f, -0.588752f, 0.884758f, 0.771629f, -2.19264f, -1.63197f, -2.37862f, 0.9499f, 1.58888f, 0.545251f, -0.790398f, 0.430923f, 0.979546f, -1.66798f, 1.00299f, -2.31281f, 0.549629f, 0.283996f, 1.12105f, -0.612661f, 0.0700466f, -0.621007f, 0.580398f, -0.683229f, -0.0752488f, 0.756819f, 0.149005f, -0.476502f, -1.16534f, 0.802736f, -1.45548f, 1.15225f, 0.885211f, -0.114708f, 0.828324f, -0.288829f, 1.74889f, 0.613022f, 3.63816f, -0.613917f, -0.177923f, 1.83859f, 0.218806f, 0.902901f, -1.57302f, -3.85305f, 2.33573f, 0.325747f, 2.85073f, 1.1351f, -0.199547f, -1.85457f, 2.38342f, -0.321571f, 1.09302f, -0.158928f, -1.5794f, 0.912054f, 2.62907f, -0.455854f, -0.11105f, 1.4687f, -3.02602f, 2.92817f, -0.355636f, 2.05759f, -0.0712112f, 0.949634f, 0.114521f, -0.267442f, 2.57646f, -0.231441f, 0.895931f, 0.746903f, -1.1055f, 0.818241f, -2.48707f, -1.04585f, -2.20339f, 0.755535f, 0.713128f, -0.814532f, 0.927998f, -1.47756f, -0.110245f, -0.979104f, -0.512997f, -1.0162f, 0.110969f, -0.10753f, 0.0973829f, 0.259481f, 1.52694f, -0.997109f, 2.15506f, -3.09324f, 0.987944f, 1.7107f, -2.49964f, -0.0948694f, -0.378257f, -2.5225f, -1.9287f, -0.650011f, 0.891815f, -1.59239f, -1.088f, -1.90127f, 1.10881f, -0.955859f, 0.31144f, -0.952566f, 1.94692f, -0.449652f, 2.873f, 1.22364f, 0.882321f, -2.60202f, 0.461768f, 4.28871f, 1.59869f, 0.452176f, 1.50304f, -0.224913f, 3.35635f, -0.708365f, -0.75725f, -0.172997f, -0.337669f, 1.0651f, 3.81319f, 0.0838967f, 0.543556f, 1.15701f, 0.531208f, 1.51461f, -0.753084f, 0.012994f, 1.77789f, -0.731412f, -1.53658f, -0.667911f, 0.137826f, 0.495396f, 0.751369f, 1.4866f, 0.517938f, -1.42422f}}},
13228 // int -> INT32 map
13229 .int32Operands = {},
13230 // int -> QUANT8_ASYMM map
13231 .quant8AsymmOperands = {},
13232 // int -> QUANT16_SYMM map
13233 .quant16SymmOperands = {},
13234 // int -> FLOAT16 map
13235 .float16Operands = {},
13236 // int -> BOOL8 map
13237 .bool8Operands = {},
13238 // int -> QUANT8_SYMM_PER_CHANNEL map
13239 .quant8ChannelOperands = {},
13240 // int -> QUANT16_ASYMM map
13241 .quant16AsymmOperands = {},
13242 // int -> QUANT8_SYMM map
13243 .quant8SymmOperands = {},
13244 }
13245 },
13246 }, // End of an example
13247 };
13248 return examples_3_H3_W2_SAME_dynamic_output_shape_nchw;
13249 };
13250
get_examples_3_H3_W2_SAME_dynamic_output_shape_nchw_relaxed()13251 std::vector<MixedTypedExample>& get_examples_3_H3_W2_SAME_dynamic_output_shape_nchw_relaxed() {
13252 static std::vector<MixedTypedExample> examples_3_H3_W2_SAME_dynamic_output_shape_nchw_relaxed = {
13253 // Begin of an example
13254 {
13255 .operands = {
13256 //Input(s)
13257 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13258 // int -> Dimensions map
13259 .operandDimensions = {{0, {1, 3, 8, 8}}},
13260 // int -> FLOAT32 map
13261 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
13262 // int -> INT32 map
13263 .int32Operands = {},
13264 // int -> QUANT8_ASYMM map
13265 .quant8AsymmOperands = {},
13266 // int -> QUANT16_SYMM map
13267 .quant16SymmOperands = {},
13268 // int -> FLOAT16 map
13269 .float16Operands = {},
13270 // int -> BOOL8 map
13271 .bool8Operands = {},
13272 // int -> QUANT8_SYMM_PER_CHANNEL map
13273 .quant8ChannelOperands = {},
13274 // int -> QUANT16_ASYMM map
13275 .quant16AsymmOperands = {},
13276 // int -> QUANT8_SYMM map
13277 .quant8SymmOperands = {},
13278 },
13279 //Output(s)
13280 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13281 // int -> Dimensions map
13282 .operandDimensions = {{0, {1, 3, 8, 8}}},
13283 // int -> FLOAT32 map
13284 .float32Operands = {{0, {-1.27853f, 0.989692f, -0.536896f, 1.33708f, 1.43859f, -0.662793f, -0.524396f, 0.12666f, -0.186842f, -0.385009f, -1.23059f, 0.359522f, -0.282945f, 0.0847837f, 0.149246f, 0.952311f, 0.484796f, -1.41301f, 1.17741f, -1.21565f, 0.512143f, -0.0533093f, 1.16328f, -0.126476f, 1.2248f, -0.619941f, 1.59314f, 1.13719f, 1.18608f, 0.548297f, -0.993354f, 0.318668f, -0.629126f, -1.961f, -1.02403f, 3.99355f, -0.562438f, -0.928687f, -0.566053f, 1.13613f, -0.414666f, -1.72657f, -0.478669f, 1.48565f, -0.317118f, -1.38343f, 1.81634f, -0.407478f, -0.481893f, 0.247846f, -0.519673f, -1.01065f, -0.184304f, -0.196685f, 0.0845042f, -0.201145f, -0.333518f, 0.118687f, 0.432037f, 0.419788f, 0.570793f, -1.10231f, -0.460382f, 0.679068f, 1.74987f, 0.298548f, -0.179382f, 1.37042f, -1.548f, -0.0867897f, 0.255731f, 0.915651f, -1.87308f, 1.72032f, 1.23694f, 1.60084f, 2.37292f, -0.352093f, 0.920351f, -0.35811f, -1.19989f, 0.103177f, 2.58936f, -1.09619f, 0.771379f, 0.290864f, 1.80768f, -0.185224f, 0.237127f, 0.497944f, -0.127337f, 1.68537f, -2.52744f, -2.0838f, 0.128238f, 0.893795f, -0.949229f, 0.00589599f, 0.396121f, 0.434221f, -0.914871f, 0.834954f, -0.957341f, -1.22109f, -0.452821f, -0.726574f, 1.78703f, -0.179904f, -0.675387f, 0.697255f, 0.717801f, -0.343106f, -0.135565f, 2.67757f, 0.254447f, 0.507911f, -0.000950437f, -0.713241f, 2.48496f, 0.533332f, -0.581063f, -1.86708f, 1.73923f, 0.314198f, -1.15998f, -2.13091f, 0.138338f, -0.190282f, -0.876718f, 0.522103f, -0.966914f, -0.495494f, -0.430026f, -0.900658f, -0.779081f, -0.444765f, 1.21135f, -1.56036f, 0.00200015f, 0.434006f, -1.28653f, -2.39659f, -1.34346f, 0.403449f, -0.684298f, -0.307039f, -2.76237f, 1.17432f, 0.399879f, 0.95563f, -1.52564f, -0.114779f, -0.213297f, -1.68688f, 0.111419f, -0.479644f, 1.34136f, 2.64585f, 1.26092f, -0.0600559f, 2.25828f, -0.187854f, 1.3704f, 0.274464f, 0.539129f, 0.844178f, 0.933336f, 1.4649f, -0.706006f, -0.0979362f, -0.639288f, 1.01003f, 1.90969f, -0.292255f, 0.862479f, -0.0353232f, -2.95941f, -2.23999f, 0.415283f, 0.979926f, -0.734348f, 0.594972f, 0.385019f, -0.904872f, -2.07065f, -0.601987f, 0.590007f, 2.12817f, -0.348587f, 0.134467f, 3.455f, -0.0307461f}}},
13285 // int -> INT32 map
13286 .int32Operands = {},
13287 // int -> QUANT8_ASYMM map
13288 .quant8AsymmOperands = {},
13289 // int -> QUANT16_SYMM map
13290 .quant16SymmOperands = {},
13291 // int -> FLOAT16 map
13292 .float16Operands = {},
13293 // int -> BOOL8 map
13294 .bool8Operands = {},
13295 // int -> QUANT8_SYMM_PER_CHANNEL map
13296 .quant8ChannelOperands = {},
13297 // int -> QUANT16_ASYMM map
13298 .quant16AsymmOperands = {},
13299 // int -> QUANT8_SYMM map
13300 .quant8SymmOperands = {},
13301 }
13302 },
13303 }, // End of an example
13304 // Begin of an example
13305 {
13306 .operands = {
13307 //Input(s)
13308 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13309 // int -> Dimensions map
13310 .operandDimensions = {{0, {1, 3, 8, 8}}},
13311 // int -> FLOAT32 map
13312 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
13313 // int -> INT32 map
13314 .int32Operands = {},
13315 // int -> QUANT8_ASYMM map
13316 .quant8AsymmOperands = {},
13317 // int -> QUANT16_SYMM map
13318 .quant16SymmOperands = {},
13319 // int -> FLOAT16 map
13320 .float16Operands = {},
13321 // int -> BOOL8 map
13322 .bool8Operands = {},
13323 // int -> QUANT8_SYMM_PER_CHANNEL map
13324 .quant8ChannelOperands = {},
13325 // int -> QUANT16_ASYMM map
13326 .quant16AsymmOperands = {},
13327 // int -> QUANT8_SYMM map
13328 .quant8SymmOperands = {},
13329 },
13330 //Output(s)
13331 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13332 // int -> Dimensions map
13333 .operandDimensions = {{0, {1, 3, 8, 8}}},
13334 // int -> FLOAT32 map
13335 .float32Operands = {{0, {0.78574f, 0.0141003f, 1.24104f, 0.900559f, 1.0089f, 0.270558f, -0.371484f, 0.155766f, 1.06709f, -0.797245f, 2.2661f, -1.33682f, 0.943457f, -0.345875f, 0.104745f, -0.453742f, -0.489415f, -2.10237f, -0.746785f, 0.774279f, 1.03753f, -1.00373f, -0.0662623f, 0.280837f, 3.04734f, -0.980369f, 1.64909f, -0.594375f, -0.613449f, 1.12977f, 0.118765f, 1.35182f, 1.38049f, 1.03795f, -1.6372f, 1.8485f, -0.437375f, 0.0811864f, 2.01812f, -0.840276f, 0.609824f, 2.02386f, -0.508992f, 1.85277f, -1.13279f, -0.588752f, 0.884758f, 0.771629f, -2.19264f, -1.63197f, -2.37862f, 0.9499f, 1.58888f, 0.545251f, -0.790398f, 0.430923f, 0.979546f, -1.66798f, 1.00299f, -2.31281f, 0.549629f, 0.283996f, 1.12105f, -0.612661f, 0.0700466f, -0.621007f, 0.580398f, -0.683229f, -0.0752488f, 0.756819f, 0.149005f, -0.476502f, -1.16534f, 0.802736f, -1.45548f, 1.15225f, 0.885211f, -0.114708f, 0.828324f, -0.288829f, 1.74889f, 0.613022f, 3.63816f, -0.613917f, -0.177923f, 1.83859f, 0.218806f, 0.902901f, -1.57302f, -3.85305f, 2.33573f, 0.325747f, 2.85073f, 1.1351f, -0.199547f, -1.85457f, 2.38342f, -0.321571f, 1.09302f, -0.158928f, -1.5794f, 0.912054f, 2.62907f, -0.455854f, -0.11105f, 1.4687f, -3.02602f, 2.92817f, -0.355636f, 2.05759f, -0.0712112f, 0.949634f, 0.114521f, -0.267442f, 2.57646f, -0.231441f, 0.895931f, 0.746903f, -1.1055f, 0.818241f, -2.48707f, -1.04585f, -2.20339f, 0.755535f, 0.713128f, -0.814532f, 0.927998f, -1.47756f, -0.110245f, -0.979104f, -0.512997f, -1.0162f, 0.110969f, -0.10753f, 0.0973829f, 0.259481f, 1.52694f, -0.997109f, 2.15506f, -3.09324f, 0.987944f, 1.7107f, -2.49964f, -0.0948694f, -0.378257f, -2.5225f, -1.9287f, -0.650011f, 0.891815f, -1.59239f, -1.088f, -1.90127f, 1.10881f, -0.955859f, 0.31144f, -0.952566f, 1.94692f, -0.449652f, 2.873f, 1.22364f, 0.882321f, -2.60202f, 0.461768f, 4.28871f, 1.59869f, 0.452176f, 1.50304f, -0.224913f, 3.35635f, -0.708365f, -0.75725f, -0.172997f, -0.337669f, 1.0651f, 3.81319f, 0.0838967f, 0.543556f, 1.15701f, 0.531208f, 1.51461f, -0.753084f, 0.012994f, 1.77789f, -0.731412f, -1.53658f, -0.667911f, 0.137826f, 0.495396f, 0.751369f, 1.4866f, 0.517938f, -1.42422f}}},
13336 // int -> INT32 map
13337 .int32Operands = {},
13338 // int -> QUANT8_ASYMM map
13339 .quant8AsymmOperands = {},
13340 // int -> QUANT16_SYMM map
13341 .quant16SymmOperands = {},
13342 // int -> FLOAT16 map
13343 .float16Operands = {},
13344 // int -> BOOL8 map
13345 .bool8Operands = {},
13346 // int -> QUANT8_SYMM_PER_CHANNEL map
13347 .quant8ChannelOperands = {},
13348 // int -> QUANT16_ASYMM map
13349 .quant16AsymmOperands = {},
13350 // int -> QUANT8_SYMM map
13351 .quant8SymmOperands = {},
13352 }
13353 },
13354 }, // End of an example
13355 };
13356 return examples_3_H3_W2_SAME_dynamic_output_shape_nchw_relaxed;
13357 };
13358
get_examples_3_H3_W2_SAME_dynamic_output_shape_nchw_float16()13359 std::vector<MixedTypedExample>& get_examples_3_H3_W2_SAME_dynamic_output_shape_nchw_float16() {
13360 static std::vector<MixedTypedExample> examples_3_H3_W2_SAME_dynamic_output_shape_nchw_float16 = {
13361 // Begin of an example
13362 {
13363 .operands = {
13364 //Input(s)
13365 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13366 // int -> Dimensions map
13367 .operandDimensions = {{0, {1, 3, 8, 8}}},
13368 // int -> FLOAT32 map
13369 .float32Operands = {},
13370 // int -> INT32 map
13371 .int32Operands = {},
13372 // int -> QUANT8_ASYMM map
13373 .quant8AsymmOperands = {},
13374 // int -> QUANT16_SYMM map
13375 .quant16SymmOperands = {},
13376 // int -> FLOAT16 map
13377 .float16Operands = {{0, {-0.8699309825897217f, 0.153671994805336f, -0.13493099808692932f, -0.2591570019721985f, 0.7655590176582336f, 0.6584939956665039f, -0.25289300084114075f, -0.07006630301475525f, 0.150845006108284f, 0.4065369963645935f, -0.356361985206604f, 0.21048299968242645f, -0.7520380020141602f, -0.551177978515625f, 0.21634800732135773f, 0.5590599775314331f, -0.3637630045413971f, 0.7560970187187195f, -0.6563169956207275f, -0.4031600058078766f, 0.6123620271682739f, -0.39809200167655945f, -0.9252719879150391f, 0.0968329980969429f, 0.0316540002822876f, 0.09482540190219879f, 0.3526650071144104f, -0.96806800365448f, 0.9390519857406616f, -0.058271098881959915f, 0.4597109854221344f, -0.6801750063896179f, 0.5060039758682251f, -0.1724960058927536f, -0.9538840055465698f, 0.20972700417041779f, 0.11319400370121002f, -0.47286298871040344f, -0.8394449949264526f, 0.3448669910430908f, -0.5408269762992859f, 0.506164014339447f, 0.756771981716156f, 0.4608210027217865f, -0.6406030058860779f, -0.568261981010437f, 0.15967300534248352f, -0.16025400161743164f, 0.600721001625061f, 0.4779619872570038f, -0.9394810199737549f, -0.5116369724273682f, -0.3236840069293976f, 0.36417099833488464f, -0.4045589864253998f, -0.3342759907245636f, 0.15651099383831024f, 0.8185970187187195f, -0.586014986038208f, 0.0892409011721611f, 0.46550899744033813f, 0.4130670130252838f, 0.5961400270462036f, -0.704380989074707f, 0.6446279883384705f, 0.8685619831085205f, -0.24756500124931335f, -0.2842960059642792f, 0.41986000537872314f, 0.214355006814003f, -0.47893500328063965f, -0.9887290000915527f, 0.8299149870872498f, -0.3553430140018463f, 0.8004819750785828f, -0.6343029737472534f, 0.45754700899124146f, 0.4467659890651703f, -0.8528059720993042f, -0.6684929728507996f, -0.16283699870109558f, -0.14226900041103363f, -0.9980859756469727f, -0.8936820030212402f, -0.8695880174636841f, -0.04235589876770973f, 0.1765490025281906f, -0.29680201411247253f, -0.25447899103164673f, 0.6437690258026123f, -0.9011790156364441f, -0.615401029586792f, -0.11628899723291397f, 0.4351719915866852f, 0.7174360156059265f, -0.4150660037994385f, -0.3378080129623413f, 0.8706380128860474f, 0.9030420184135437f, -0.28538399934768677f, 0.07566110044717789f, 0.9606090188026428f, 0.45709699392318726f, -0.13161900639533997f, 0.5712590217590332f, -0.1558389961719513f, -0.6620690226554871f, 0.17787200212478638f, 0.702597975730896f, -0.07137160003185272f, -0.3052079975605011f, 0.787322998046875f, 0.2631860077381134f, -0.7029510140419006f, -0.5245190262794495f, -0.5034989714622498f, 0.5344439744949341f, 0.03703580051660538f, -0.8141779899597168f, 0.6692500114440918f, -0.4279490113258362f, -0.6499019861221313f, -0.5597890019416809f, -0.6212509870529175f, 0.47040000557899475f, 0.1808219999074936f, 0.8255749940872192f, -0.29763099551200867f, -0.9183930158615112f, -0.3581770062446594f, 0.2217400074005127f, -0.5380650162696838f, -0.556240975856781f, -0.8501690030097961f, 0.5305259823799133f, -0.30306100845336914f, 0.47634899616241455f, 0.7571449875831604f, -0.7138609886169434f, 0.7182360291481018f, -0.5507689714431763f, -0.22746199369430542f, -0.3514859974384308f, -0.3034929931163788f, 0.07010120153427124f, 0.3297240138053894f, -0.6529489755630493f, 0.43274399638175964f, -0.7132700085639954f, 0.4365760087966919f, 0.8229039907455444f, -0.4271950125694275f, 0.2449049949645996f, -0.9039099812507629f, 0.2661589980125427f, -0.38897499442100525f, 0.10752300173044205f, 0.33467501401901245f, 0.49662700295448303f, 0.33984801173210144f, -0.10721799731254578f, 0.9318720102310181f, 0.7600780129432678f, -0.45513999462127686f, 0.09244350343942642f, -0.16038499772548676f, 0.1633480042219162f, 0.6887149810791016f, -0.9558699727058411f, 0.07896210253238678f, 0.24290800094604492f, -0.2898389995098114f, -0.5064060091972351f, 0.4137920141220093f, 0.13381600379943848f, -0.7532439827919006f, -0.16238699853420258f, -0.7310360074043274f, 0.9340720176696777f, 0.10623600333929062f, -0.8437449932098389f, -0.16880099475383759f, 0.9174500107765198f, -0.8012009859085083f, 0.3791530132293701f, 0.4270870089530945f, -0.8339229822158813f, 0.2138260006904602f, 0.38026100397109985f, 0.17286600172519684f, 0.6629160046577454f, 0.6977779865264893f}}},
13378 // int -> BOOL8 map
13379 .bool8Operands = {},
13380 // int -> QUANT8_SYMM_PER_CHANNEL map
13381 .quant8ChannelOperands = {},
13382 // int -> QUANT16_ASYMM map
13383 .quant16AsymmOperands = {},
13384 // int -> QUANT8_SYMM map
13385 .quant8SymmOperands = {},
13386 },
13387 //Output(s)
13388 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13389 // int -> Dimensions map
13390 .operandDimensions = {{0, {1, 3, 8, 8}}},
13391 // int -> FLOAT32 map
13392 .float32Operands = {},
13393 // int -> INT32 map
13394 .int32Operands = {},
13395 // int -> QUANT8_ASYMM map
13396 .quant8AsymmOperands = {},
13397 // int -> QUANT16_SYMM map
13398 .quant16SymmOperands = {},
13399 // int -> FLOAT16 map
13400 .float16Operands = {{0, {-1.2785300016403198f, 0.989691972732544f, -0.5368959903717041f, 1.3370800018310547f, 1.4385900497436523f, -0.662792980670929f, -0.5243960022926331f, 0.12666000425815582f, -0.18684199452400208f, -0.3850089907646179f, -1.2305899858474731f, 0.3595220148563385f, -0.28294500708580017f, 0.08478370308876038f, 0.1492460072040558f, 0.9523109793663025f, 0.4847959876060486f, -1.4130100011825562f, 1.1774100065231323f, -1.215649962425232f, 0.5121430158615112f, -0.05330929905176163f, 1.1632800102233887f, -0.1264760047197342f, 1.2247999906539917f, -0.619940996170044f, 1.5931400060653687f, 1.1371899843215942f, 1.186079978942871f, 0.5482969880104065f, -0.9933540225028992f, 0.318668007850647f, -0.6291260123252869f, -1.9609999656677246f, -1.0240299701690674f, 3.9935500621795654f, -0.5624380111694336f, -0.9286869764328003f, -0.5660529732704163f, 1.1361299753189087f, -0.41466599702835083f, -1.7265700101852417f, -0.4786689877510071f, 1.4856499433517456f, -0.31711798906326294f, -1.383430004119873f, 1.8163399696350098f, -0.407478004693985f, -0.48189300298690796f, 0.24784600734710693f, -0.5196729898452759f, -1.0106500387191772f, -0.18430399894714355f, -0.19668500125408173f, 0.08450420200824738f, -0.2011449933052063f, -0.33351799845695496f, 0.11868699640035629f, 0.43203699588775635f, 0.4197880029678345f, 0.5707929730415344f, -1.1023099422454834f, -0.46038201451301575f, 0.6790680289268494f, 1.7498699426651f, 0.29854801297187805f, -0.17938199639320374f, 1.370419979095459f, -1.5479999780654907f, -0.08678969740867615f, 0.2557309865951538f, 0.9156510233879089f, -1.8730800151824951f, 1.7203199863433838f, 1.2369400262832642f, 1.6008399724960327f, 2.372920036315918f, -0.35209301114082336f, 0.9203510284423828f, -0.3581100106239319f, -1.1998900175094604f, 0.10317700356245041f, 2.589359998703003f, -1.0961899757385254f, 0.7713789939880371f, 0.2908639907836914f, 1.8076800107955933f, -0.1852239966392517f, 0.23712700605392456f, 0.4979439973831177f, -0.1273369938135147f, 1.6853699684143066f, -2.527440071105957f, -2.0838000774383545f, 0.1282380074262619f, 0.8937950134277344f, -0.9492290019989014f, 0.0058959899470210075f, 0.39612099528312683f, 0.4342209994792938f, -0.9148709774017334f, 0.834954023361206f, -0.9573410153388977f, -1.2210899591445923f, -0.4528209865093231f, -0.7265740036964417f, 1.7870299816131592f, -0.1799039989709854f, -0.6753870248794556f, 0.69725501537323f, 0.7178009748458862f, -0.3431060016155243f, -0.13556499779224396f, 2.677570104598999f, 0.25444701313972473f, 0.5079110264778137f, -0.0009504369809292257f, -0.7132409811019897f, 2.4849600791931152f, 0.5333319902420044f, -0.5810629725456238f, -1.8670799732208252f, 1.7392300367355347f, 0.31419798731803894f, -1.159980058670044f, -2.1309099197387695f, 0.13833799958229065f, -0.19028200209140778f, -0.8767179846763611f, 0.5221030116081238f, -0.9669139981269836f, -0.49549400806427f, -0.43002599477767944f, -0.9006580114364624f, -0.7790809869766235f, -0.44476500153541565f, 1.2113499641418457f, -1.5603599548339844f, 0.0020001500379294157f, 0.434006005525589f, -1.2865300178527832f, -2.396589994430542f, -1.343459963798523f, 0.40344899892807007f, -0.6842979788780212f, -0.3070389926433563f, -2.7623701095581055f, 1.1743199825286865f, 0.39987900853157043f, 0.9556300044059753f, -1.5256400108337402f, -0.11477900296449661f, -0.21329699456691742f, -1.6868799924850464f, 0.11141899973154068f, -0.4796440005302429f, 1.3413599729537964f, 2.6458499431610107f, 1.2609200477600098f, -0.06005590036511421f, 2.258280038833618f, -0.18785400688648224f, 1.3703999519348145f, 0.2744640111923218f, 0.5391290187835693f, 0.8441780209541321f, 0.9333360195159912f, 1.464900016784668f, -0.7060059905052185f, -0.09793619811534882f, -0.6392880082130432f, 1.0100300312042236f, 1.909690022468567f, -0.2922550141811371f, 0.8624789714813232f, -0.03532319888472557f, -2.9594099521636963f, -2.239989995956421f, 0.4152829945087433f, 0.9799259901046753f, -0.7343479990959167f, 0.5949720144271851f, 0.3850190043449402f, -0.9048720002174377f, -2.070650100708008f, -0.6019870042800903f, 0.5900070071220398f, 2.1281700134277344f, -0.3485870063304901f, 0.1344670057296753f, 3.4549999237060547f, -0.0307461004704237f}}},
13401 // int -> BOOL8 map
13402 .bool8Operands = {},
13403 // int -> QUANT8_SYMM_PER_CHANNEL map
13404 .quant8ChannelOperands = {},
13405 // int -> QUANT16_ASYMM map
13406 .quant16AsymmOperands = {},
13407 // int -> QUANT8_SYMM map
13408 .quant8SymmOperands = {},
13409 }
13410 },
13411 }, // End of an example
13412 // Begin of an example
13413 {
13414 .operands = {
13415 //Input(s)
13416 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13417 // int -> Dimensions map
13418 .operandDimensions = {{0, {1, 3, 8, 8}}},
13419 // int -> FLOAT32 map
13420 .float32Operands = {},
13421 // int -> INT32 map
13422 .int32Operands = {},
13423 // int -> QUANT8_ASYMM map
13424 .quant8AsymmOperands = {},
13425 // int -> QUANT16_SYMM map
13426 .quant16SymmOperands = {},
13427 // int -> FLOAT16 map
13428 .float16Operands = {{0, {-0.29533499479293823f, 0.16608400642871857f, -0.719884991645813f, 0.823947012424469f, 0.18763099610805511f, -0.7550849914550781f, 0.04834359884262085f, 0.012578300200402737f, -0.1516599953174591f, 0.12966400384902954f, 0.9245190024375916f, 0.3508169949054718f, -0.002833950100466609f, -0.31911700963974f, 0.32864999771118164f, 0.5912659764289856f, 0.4620560109615326f, 0.6233999729156494f, -0.9556419849395752f, 0.664376974105835f, -0.2762629985809326f, -0.9589809775352478f, 0.30536898970603943f, -0.38288700580596924f, -0.2998040020465851f, -0.10305500030517578f, 0.5437430143356323f, -0.8571820259094238f, -0.7156140208244324f, -0.590142011642456f, -0.4733569920063019f, 0.48660698533058167f, -0.8009939789772034f, -0.44116199016571045f, 0.9696499705314636f, -0.526885986328125f, 0.33278900384902954f, -0.9340839982032776f, -0.7003949880599976f, -0.6917210221290588f, 0.03909660130739212f, -0.9715800285339355f, -0.46898600459098816f, -0.2731170058250427f, -0.7253810167312622f, -0.09492070227861404f, -0.22213299572467804f, -0.9294899702072144f, 0.33031100034713745f, 0.4759419858455658f, -0.5122079849243164f, 0.6517099738121033f, -0.4690130054950714f, -0.15784099698066711f, -0.6594370007514954f, 0.8903200030326843f, 0.772957980632782f, 0.9170519709587097f, 0.484142005443573f, 0.47887200117111206f, -0.732990026473999f, -0.09878560155630112f, -0.49810799956321716f, 0.928941011428833f, -0.0038760099560022354f, -0.28481999039649963f, -0.8693860173225403f, 0.4731830060482025f, 0.04265709966421127f, -0.4724529981613159f, 0.9334179759025574f, 0.21974200010299683f, 0.09349049627780914f, 0.8388440012931824f, 0.3428429961204529f, 0.8416380286216736f, -0.12846699357032776f, 0.846340000629425f, 0.029375499114394188f, -0.0743476003408432f, -0.5836250185966492f, 0.535269021987915f, -0.7701730132102966f, 0.3994449973106384f, -0.901951014995575f, 0.4826579988002777f, -0.9478179812431335f, -0.805741012096405f, -0.22982800006866455f, -0.4556800127029419f, -0.9607300162315369f, -0.9642599821090698f, 0.7652779817581177f, -0.2385070025920868f, -0.31962600350379944f, 0.580843985080719f, 0.2907629907131195f, 0.7186769843101501f, 7.536369957961142e-05f, -0.3526819944381714f, 0.7233890295028687f, -0.2847050130367279f, -0.9858080148696899f, 0.4944800138473511f, 0.29893800616264343f, 0.8639299869537354f, -0.25660499930381775f, -0.5903429985046387f, -0.19482100009918213f, -0.1803019940853119f, -0.40393000841140747f, 0.5800790190696716f, 0.017355099320411682f, 0.9071750044822693f, 0.36246299743652344f, 0.9900569915771484f, -0.10131099820137024f, -0.677711009979248f, -0.40760698914527893f, 0.22830699384212494f, 0.054701000452041626f, -0.8950219750404358f, 0.10864800214767456f, -0.984112024307251f, 0.7526000142097473f, 0.12541499733924866f, 0.43209001421928406f, -0.130731999874115f, -0.5522509813308716f, -0.15214300155639648f, -0.7455980181694031f, -0.33133700489997864f, -0.8268970251083374f, -0.023365600034594536f, -0.961974024772644f, 0.34260401129722595f, 0.7832210063934326f, -0.2713879942893982f, 0.2744179964065552f, -0.5439929962158203f, -0.6829429864883423f, 0.2830030024051666f, -0.03356960043311119f, -0.7412710189819336f, -0.5901830196380615f, -0.6708179712295532f, 0.4799860119819641f, -0.9688739776611328f, 0.5441039800643921f, -0.8072839975357056f, 0.8274980187416077f, -0.7966780066490173f, 0.8187829852104187f, -0.22782699763774872f, 0.9467470049858093f, -0.2924109995365143f, -0.47504299879074097f, 0.6730020046234131f, 0.9360139966011047f, 0.42535200715065f, -0.4949530065059662f, -0.8284270167350769f, -0.6999729871749878f, 0.7994660139083862f, 0.40765899419784546f, 0.9614840149879456f, -0.5953419804573059f, -0.08426489681005478f, -0.12809400260448456f, 0.27060601115226746f, 0.4721499979496002f, -0.8265290260314941f, -0.2596609890460968f, 0.04468340054154396f, 0.295771986246109f, -0.169855996966362f, -0.6358230113983154f, 0.2427770048379898f, 0.04962889850139618f, 0.690733015537262f, -0.6837199926376343f, -0.7082239985466003f, 0.677033007144928f, -0.7495139837265015f, 0.551705002784729f, -0.7023969888687134f, 0.8333470225334167f, 0.3871760070323944f, 0.44331198930740356f, 0.10875999927520752f, 0.34460899233818054f, -0.056916698813438416f}}},
13429 // int -> BOOL8 map
13430 .bool8Operands = {},
13431 // int -> QUANT8_SYMM_PER_CHANNEL map
13432 .quant8ChannelOperands = {},
13433 // int -> QUANT16_ASYMM map
13434 .quant16AsymmOperands = {},
13435 // int -> QUANT8_SYMM map
13436 .quant8SymmOperands = {},
13437 },
13438 //Output(s)
13439 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13440 // int -> Dimensions map
13441 .operandDimensions = {{0, {1, 3, 8, 8}}},
13442 // int -> FLOAT32 map
13443 .float32Operands = {},
13444 // int -> INT32 map
13445 .int32Operands = {},
13446 // int -> QUANT8_ASYMM map
13447 .quant8AsymmOperands = {},
13448 // int -> QUANT16_SYMM map
13449 .quant16SymmOperands = {},
13450 // int -> FLOAT16 map
13451 .float16Operands = {{0, {0.7857400178909302f, 0.014100300148129463f, 1.2410399913787842f, 0.9005590081214905f, 1.0089000463485718f, 0.2705579996109009f, -0.37148401141166687f, 0.15576599538326263f, 1.0670900344848633f, -0.7972450256347656f, 2.2660999298095703f, -1.3368200063705444f, 0.9434570074081421f, -0.34587499499320984f, 0.10474500060081482f, -0.45374199748039246f, -0.4894149899482727f, -2.102370023727417f, -0.7467849850654602f, 0.774278998374939f, 1.0375299453735352f, -1.003730058670044f, -0.06626229733228683f, 0.2808369994163513f, 3.047339916229248f, -0.980368971824646f, 1.649090051651001f, -0.5943750143051147f, -0.613448977470398f, 1.129770040512085f, 0.11876499652862549f, 1.3518199920654297f, 1.3804899454116821f, 1.037950038909912f, -1.6371999979019165f, 1.8485000133514404f, -0.437375009059906f, 0.08118639886379242f, 2.018120050430298f, -0.8402760028839111f, 0.609824001789093f, 2.023859977722168f, -0.5089920163154602f, 1.8527699708938599f, -1.132789969444275f, -0.5887519717216492f, 0.8847579956054688f, 0.7716289758682251f, -2.1926400661468506f, -1.6319700479507446f, -2.378619909286499f, 0.9498999714851379f, 1.588879942893982f, 0.5452510118484497f, -0.7903980016708374f, 0.4309230148792267f, 0.9795460104942322f, -1.6679799556732178f, 1.0029900074005127f, -2.312809944152832f, 0.5496289730072021f, 0.28399598598480225f, 1.1210500001907349f, -0.6126610040664673f, 0.07004660367965698f, -0.6210070252418518f, 0.5803980231285095f, -0.6832290291786194f, -0.07524880021810532f, 0.7568190097808838f, 0.1490049958229065f, -0.476502001285553f, -1.1653399467468262f, 0.8027359843254089f, -1.4554799795150757f, 1.152250051498413f, 0.8852109909057617f, -0.11470799893140793f, 0.828324019908905f, -0.2888289988040924f, 1.7488900423049927f, 0.6130220293998718f, 3.638159990310669f, -0.6139169931411743f, -0.17792299389839172f, 1.8385900259017944f, 0.21880599856376648f, 0.9029009938240051f, -1.5730199813842773f, -3.8530499935150146f, 2.3357300758361816f, 0.325747013092041f, 2.8507299423217773f, 1.13510000705719f, -0.19954699277877808f, -1.8545700311660767f, 2.383419990539551f, -0.3215709924697876f, 1.093019962310791f, -0.1589280068874359f, -1.5793999433517456f, 0.9120540022850037f, 2.6290700435638428f, -0.45585399866104126f, -0.11105000227689743f, 1.4687000513076782f, -3.026020050048828f, 2.9281699657440186f, -0.35563600063323975f, 2.0575900077819824f, -0.07121119648218155f, 0.9496340155601501f, 0.11452099680900574f, -0.267441987991333f, 2.5764598846435547f, -0.23144100606441498f, 0.8959310054779053f, 0.7469030022621155f, -1.1054999828338623f, 0.8182410001754761f, -2.487070083618164f, -1.0458500385284424f, -2.203389883041382f, 0.7555350065231323f, 0.7131279706954956f, -0.8145319819450378f, 0.9279980063438416f, -1.477560043334961f, -0.1102449968457222f, -0.9791039824485779f, -0.5129969716072083f, -1.0161999464035034f, 0.11096899956464767f, -0.10752999782562256f, 0.09738290309906006f, 0.2594810128211975f, 1.5269399881362915f, -0.9971089959144592f, 2.155060052871704f, -3.0932400226593018f, 0.9879440069198608f, 1.7107000350952148f, -2.4996399879455566f, -0.09486939758062363f, -0.37825700640678406f, -2.5225000381469727f, -1.9286999702453613f, -0.6500110030174255f, 0.8918150067329407f, -1.5923899412155151f, -1.0880000591278076f, -1.9012700319290161f, 1.1088099479675293f, -0.9558590054512024f, 0.31143999099731445f, -0.9525660276412964f, 1.9469200372695923f, -0.4496519863605499f, 2.872999906539917f, 1.223639965057373f, 0.8823210000991821f, -2.602020025253296f, 0.4617680013179779f, 4.288710117340088f, 1.5986900329589844f, 0.4521760046482086f, 1.5030399560928345f, -0.22491300106048584f, 3.3563499450683594f, -0.7083650231361389f, -0.7572500109672546f, -0.17299699783325195f, -0.3376689851284027f, 1.0650999546051025f, 3.81318998336792f, 0.0838966965675354f, 0.5435559749603271f, 1.1570099592208862f, 0.5312079787254333f, 1.5146100521087646f, -0.7530840039253235f, 0.012993999756872654f, 1.7778899669647217f, -0.7314119935035706f, -1.536579966545105f, -0.6679109930992126f, 0.13782599568367004f, 0.4953959882259369f, 0.7513689994812012f, 1.4866000413894653f, 0.5179380178451538f, -1.4242199659347534f}}},
13452 // int -> BOOL8 map
13453 .bool8Operands = {},
13454 // int -> QUANT8_SYMM_PER_CHANNEL map
13455 .quant8ChannelOperands = {},
13456 // int -> QUANT16_ASYMM map
13457 .quant16AsymmOperands = {},
13458 // int -> QUANT8_SYMM map
13459 .quant8SymmOperands = {},
13460 }
13461 },
13462 }, // End of an example
13463 };
13464 return examples_3_H3_W2_SAME_dynamic_output_shape_nchw_float16;
13465 };
13466
get_examples_3_H3_W2_VALID_nhwc()13467 std::vector<MixedTypedExample>& get_examples_3_H3_W2_VALID_nhwc() {
13468 static std::vector<MixedTypedExample> examples_3_H3_W2_VALID_nhwc = {
13469 // Begin of an example
13470 {
13471 .operands = {
13472 //Input(s)
13473 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13474 // int -> Dimensions map
13475 .operandDimensions = {{0, {1, 8, 8, 3}}},
13476 // int -> FLOAT32 map
13477 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
13478 // int -> INT32 map
13479 .int32Operands = {},
13480 // int -> QUANT8_ASYMM map
13481 .quant8AsymmOperands = {},
13482 // int -> QUANT16_SYMM map
13483 .quant16SymmOperands = {},
13484 // int -> FLOAT16 map
13485 .float16Operands = {},
13486 // int -> BOOL8 map
13487 .bool8Operands = {},
13488 // int -> QUANT8_SYMM_PER_CHANNEL map
13489 .quant8ChannelOperands = {},
13490 // int -> QUANT16_ASYMM map
13491 .quant16AsymmOperands = {},
13492 // int -> QUANT8_SYMM map
13493 .quant8SymmOperands = {},
13494 },
13495 //Output(s)
13496 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13497 // int -> Dimensions map
13498 .operandDimensions = {{0, {1, 6, 7, 3}}},
13499 // int -> FLOAT32 map
13500 .float32Operands = {{0, {-0.186842f, -1.87308f, 1.21135f, -0.385009f, 1.72032f, -1.56036f, -1.23059f, 1.23694f, 0.00200015f, 0.359522f, 1.60084f, 0.434006f, -0.282945f, 2.37292f, -1.28653f, 0.0847837f, -0.352093f, -2.39659f, 0.149246f, 0.920351f, -1.34346f, 0.484796f, -1.19989f, -0.684298f, -1.41301f, 0.103177f, -0.307039f, 1.17741f, 2.58936f, -2.76237f, -1.21565f, -1.09619f, 1.17432f, 0.512143f, 0.771379f, 0.399879f, -0.0533093f, 0.290864f, 0.95563f, 1.16328f, 1.80768f, -1.52564f, 1.2248f, 0.237127f, -0.213297f, -0.619941f, 0.497944f, -1.68688f, 1.59314f, -0.127337f, 0.111419f, 1.13719f, 1.68537f, -0.479644f, 1.18608f, -2.52744f, 1.34136f, 0.548297f, -2.0838f, 2.64585f, -0.993354f, 0.128238f, 1.26092f, -0.629126f, -0.949229f, 2.25828f, -1.961f, 0.00589599f, -0.187854f, -1.02403f, 0.396121f, 1.3704f, 3.99355f, 0.434221f, 0.274464f, -0.562438f, -0.914871f, 0.539129f, -0.928687f, 0.834954f, 0.844178f, -0.566053f, -0.957341f, 0.933336f, -0.414666f, -0.452821f, -0.706006f, -1.72657f, -0.726574f, -0.0979362f, -0.478669f, 1.78703f, -0.639288f, 1.48565f, -0.179904f, 1.01003f, -0.317118f, -0.675387f, 1.90969f, -1.38343f, 0.697255f, -0.292255f, 1.81634f, 0.717801f, 0.862479f, -0.481893f, -0.135565f, -2.95941f, 0.247846f, 2.67757f, -2.23999f, -0.519673f, 0.254447f, 0.415283f, -1.01065f, 0.507911f, 0.979926f, -0.184304f, -0.000950437f, -0.734348f, -0.196685f, -0.713241f, 0.594972f, 0.0845044f, 2.48496f, 0.385019f}}},
13501 // int -> INT32 map
13502 .int32Operands = {},
13503 // int -> QUANT8_ASYMM map
13504 .quant8AsymmOperands = {},
13505 // int -> QUANT16_SYMM map
13506 .quant16SymmOperands = {},
13507 // int -> FLOAT16 map
13508 .float16Operands = {},
13509 // int -> BOOL8 map
13510 .bool8Operands = {},
13511 // int -> QUANT8_SYMM_PER_CHANNEL map
13512 .quant8ChannelOperands = {},
13513 // int -> QUANT16_ASYMM map
13514 .quant16AsymmOperands = {},
13515 // int -> QUANT8_SYMM map
13516 .quant8SymmOperands = {},
13517 }
13518 },
13519 }, // End of an example
13520 // Begin of an example
13521 {
13522 .operands = {
13523 //Input(s)
13524 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13525 // int -> Dimensions map
13526 .operandDimensions = {{0, {1, 8, 8, 3}}},
13527 // int -> FLOAT32 map
13528 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
13529 // int -> INT32 map
13530 .int32Operands = {},
13531 // int -> QUANT8_ASYMM map
13532 .quant8AsymmOperands = {},
13533 // int -> QUANT16_SYMM map
13534 .quant16SymmOperands = {},
13535 // int -> FLOAT16 map
13536 .float16Operands = {},
13537 // int -> BOOL8 map
13538 .bool8Operands = {},
13539 // int -> QUANT8_SYMM_PER_CHANNEL map
13540 .quant8ChannelOperands = {},
13541 // int -> QUANT16_ASYMM map
13542 .quant16AsymmOperands = {},
13543 // int -> QUANT8_SYMM map
13544 .quant8SymmOperands = {},
13545 },
13546 //Output(s)
13547 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13548 // int -> Dimensions map
13549 .operandDimensions = {{0, {1, 6, 7, 3}}},
13550 // int -> FLOAT32 map
13551 .float32Operands = {{0, {1.06709f, -1.16534f, 1.52694f, -0.797245f, 0.802736f, -0.997109f, 2.2661f, -1.45548f, 2.15506f, -1.33682f, 1.15225f, -3.09324f, 0.943457f, 0.885211f, 0.987944f, -0.345875f, -0.114708f, 1.7107f, 0.104745f, 0.828324f, -2.49964f, -0.489415f, 1.74889f, -0.378257f, -2.10237f, 0.613022f, -2.5225f, -0.746785f, 3.63816f, -1.9287f, 0.774279f, -0.613917f, -0.650011f, 1.03753f, -0.177923f, 0.891815f, -1.00373f, 1.83859f, -1.59239f, -0.0662623f, 0.218806f, -1.088f, 3.04734f, -1.57302f, 1.10881f, -0.980369f, -3.85305f, -0.955859f, 1.64909f, 2.33573f, 0.31144f, -0.594375f, 0.325747f, -0.952566f, -0.613449f, 2.85073f, 1.94692f, 1.12977f, 1.1351f, -0.449652f, 0.118765f, -0.199547f, 2.873f, 1.38049f, 2.38342f, 0.882321f, 1.03795f, -0.321571f, -2.60202f, -1.6372f, 1.09302f, 0.461768f, 1.8485f, -0.158928f, 4.28871f, -0.437375f, -1.5794f, 1.59869f, 0.0811864f, 0.912054f, 0.452176f, 2.01812f, 2.62907f, 1.50304f, 0.609824f, -0.11105f, 3.35635f, 2.02386f, 1.4687f, -0.708365f, -0.508992f, -3.02602f, -0.75725f, 1.85277f, 2.92817f, -0.172997f, -1.13279f, -0.355636f, -0.337669f, -0.588752f, 2.05759f, 1.0651f, 0.884758f, -0.0712112f, 3.81319f, -2.19264f, 0.114521f, 0.543556f, -1.63197f, -0.267442f, 1.15701f, -2.37862f, 2.57646f, 0.531208f, 0.9499f, -0.231441f, 1.51461f, 1.58888f, 0.895931f, -0.753084f, 0.545251f, 0.746904f, 0.0129939f, -0.790398f, -1.1055f, 1.77789f}}},
13552 // int -> INT32 map
13553 .int32Operands = {},
13554 // int -> QUANT8_ASYMM map
13555 .quant8AsymmOperands = {},
13556 // int -> QUANT16_SYMM map
13557 .quant16SymmOperands = {},
13558 // int -> FLOAT16 map
13559 .float16Operands = {},
13560 // int -> BOOL8 map
13561 .bool8Operands = {},
13562 // int -> QUANT8_SYMM_PER_CHANNEL map
13563 .quant8ChannelOperands = {},
13564 // int -> QUANT16_ASYMM map
13565 .quant16AsymmOperands = {},
13566 // int -> QUANT8_SYMM map
13567 .quant8SymmOperands = {},
13568 }
13569 },
13570 }, // End of an example
13571 };
13572 return examples_3_H3_W2_VALID_nhwc;
13573 };
13574
get_examples_3_H3_W2_VALID_nhwc_relaxed()13575 std::vector<MixedTypedExample>& get_examples_3_H3_W2_VALID_nhwc_relaxed() {
13576 static std::vector<MixedTypedExample> examples_3_H3_W2_VALID_nhwc_relaxed = {
13577 // Begin of an example
13578 {
13579 .operands = {
13580 //Input(s)
13581 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13582 // int -> Dimensions map
13583 .operandDimensions = {{0, {1, 8, 8, 3}}},
13584 // int -> FLOAT32 map
13585 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
13586 // int -> INT32 map
13587 .int32Operands = {},
13588 // int -> QUANT8_ASYMM map
13589 .quant8AsymmOperands = {},
13590 // int -> QUANT16_SYMM map
13591 .quant16SymmOperands = {},
13592 // int -> FLOAT16 map
13593 .float16Operands = {},
13594 // int -> BOOL8 map
13595 .bool8Operands = {},
13596 // int -> QUANT8_SYMM_PER_CHANNEL map
13597 .quant8ChannelOperands = {},
13598 // int -> QUANT16_ASYMM map
13599 .quant16AsymmOperands = {},
13600 // int -> QUANT8_SYMM map
13601 .quant8SymmOperands = {},
13602 },
13603 //Output(s)
13604 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13605 // int -> Dimensions map
13606 .operandDimensions = {{0, {1, 6, 7, 3}}},
13607 // int -> FLOAT32 map
13608 .float32Operands = {{0, {-0.186842f, -1.87308f, 1.21135f, -0.385009f, 1.72032f, -1.56036f, -1.23059f, 1.23694f, 0.00200015f, 0.359522f, 1.60084f, 0.434006f, -0.282945f, 2.37292f, -1.28653f, 0.0847837f, -0.352093f, -2.39659f, 0.149246f, 0.920351f, -1.34346f, 0.484796f, -1.19989f, -0.684298f, -1.41301f, 0.103177f, -0.307039f, 1.17741f, 2.58936f, -2.76237f, -1.21565f, -1.09619f, 1.17432f, 0.512143f, 0.771379f, 0.399879f, -0.0533093f, 0.290864f, 0.95563f, 1.16328f, 1.80768f, -1.52564f, 1.2248f, 0.237127f, -0.213297f, -0.619941f, 0.497944f, -1.68688f, 1.59314f, -0.127337f, 0.111419f, 1.13719f, 1.68537f, -0.479644f, 1.18608f, -2.52744f, 1.34136f, 0.548297f, -2.0838f, 2.64585f, -0.993354f, 0.128238f, 1.26092f, -0.629126f, -0.949229f, 2.25828f, -1.961f, 0.00589599f, -0.187854f, -1.02403f, 0.396121f, 1.3704f, 3.99355f, 0.434221f, 0.274464f, -0.562438f, -0.914871f, 0.539129f, -0.928687f, 0.834954f, 0.844178f, -0.566053f, -0.957341f, 0.933336f, -0.414666f, -0.452821f, -0.706006f, -1.72657f, -0.726574f, -0.0979362f, -0.478669f, 1.78703f, -0.639288f, 1.48565f, -0.179904f, 1.01003f, -0.317118f, -0.675387f, 1.90969f, -1.38343f, 0.697255f, -0.292255f, 1.81634f, 0.717801f, 0.862479f, -0.481893f, -0.135565f, -2.95941f, 0.247846f, 2.67757f, -2.23999f, -0.519673f, 0.254447f, 0.415283f, -1.01065f, 0.507911f, 0.979926f, -0.184304f, -0.000950437f, -0.734348f, -0.196685f, -0.713241f, 0.594972f, 0.0845044f, 2.48496f, 0.385019f}}},
13609 // int -> INT32 map
13610 .int32Operands = {},
13611 // int -> QUANT8_ASYMM map
13612 .quant8AsymmOperands = {},
13613 // int -> QUANT16_SYMM map
13614 .quant16SymmOperands = {},
13615 // int -> FLOAT16 map
13616 .float16Operands = {},
13617 // int -> BOOL8 map
13618 .bool8Operands = {},
13619 // int -> QUANT8_SYMM_PER_CHANNEL map
13620 .quant8ChannelOperands = {},
13621 // int -> QUANT16_ASYMM map
13622 .quant16AsymmOperands = {},
13623 // int -> QUANT8_SYMM map
13624 .quant8SymmOperands = {},
13625 }
13626 },
13627 }, // End of an example
13628 // Begin of an example
13629 {
13630 .operands = {
13631 //Input(s)
13632 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13633 // int -> Dimensions map
13634 .operandDimensions = {{0, {1, 8, 8, 3}}},
13635 // int -> FLOAT32 map
13636 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
13637 // int -> INT32 map
13638 .int32Operands = {},
13639 // int -> QUANT8_ASYMM map
13640 .quant8AsymmOperands = {},
13641 // int -> QUANT16_SYMM map
13642 .quant16SymmOperands = {},
13643 // int -> FLOAT16 map
13644 .float16Operands = {},
13645 // int -> BOOL8 map
13646 .bool8Operands = {},
13647 // int -> QUANT8_SYMM_PER_CHANNEL map
13648 .quant8ChannelOperands = {},
13649 // int -> QUANT16_ASYMM map
13650 .quant16AsymmOperands = {},
13651 // int -> QUANT8_SYMM map
13652 .quant8SymmOperands = {},
13653 },
13654 //Output(s)
13655 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13656 // int -> Dimensions map
13657 .operandDimensions = {{0, {1, 6, 7, 3}}},
13658 // int -> FLOAT32 map
13659 .float32Operands = {{0, {1.06709f, -1.16534f, 1.52694f, -0.797245f, 0.802736f, -0.997109f, 2.2661f, -1.45548f, 2.15506f, -1.33682f, 1.15225f, -3.09324f, 0.943457f, 0.885211f, 0.987944f, -0.345875f, -0.114708f, 1.7107f, 0.104745f, 0.828324f, -2.49964f, -0.489415f, 1.74889f, -0.378257f, -2.10237f, 0.613022f, -2.5225f, -0.746785f, 3.63816f, -1.9287f, 0.774279f, -0.613917f, -0.650011f, 1.03753f, -0.177923f, 0.891815f, -1.00373f, 1.83859f, -1.59239f, -0.0662623f, 0.218806f, -1.088f, 3.04734f, -1.57302f, 1.10881f, -0.980369f, -3.85305f, -0.955859f, 1.64909f, 2.33573f, 0.31144f, -0.594375f, 0.325747f, -0.952566f, -0.613449f, 2.85073f, 1.94692f, 1.12977f, 1.1351f, -0.449652f, 0.118765f, -0.199547f, 2.873f, 1.38049f, 2.38342f, 0.882321f, 1.03795f, -0.321571f, -2.60202f, -1.6372f, 1.09302f, 0.461768f, 1.8485f, -0.158928f, 4.28871f, -0.437375f, -1.5794f, 1.59869f, 0.0811864f, 0.912054f, 0.452176f, 2.01812f, 2.62907f, 1.50304f, 0.609824f, -0.11105f, 3.35635f, 2.02386f, 1.4687f, -0.708365f, -0.508992f, -3.02602f, -0.75725f, 1.85277f, 2.92817f, -0.172997f, -1.13279f, -0.355636f, -0.337669f, -0.588752f, 2.05759f, 1.0651f, 0.884758f, -0.0712112f, 3.81319f, -2.19264f, 0.114521f, 0.543556f, -1.63197f, -0.267442f, 1.15701f, -2.37862f, 2.57646f, 0.531208f, 0.9499f, -0.231441f, 1.51461f, 1.58888f, 0.895931f, -0.753084f, 0.545251f, 0.746904f, 0.0129939f, -0.790398f, -1.1055f, 1.77789f}}},
13660 // int -> INT32 map
13661 .int32Operands = {},
13662 // int -> QUANT8_ASYMM map
13663 .quant8AsymmOperands = {},
13664 // int -> QUANT16_SYMM map
13665 .quant16SymmOperands = {},
13666 // int -> FLOAT16 map
13667 .float16Operands = {},
13668 // int -> BOOL8 map
13669 .bool8Operands = {},
13670 // int -> QUANT8_SYMM_PER_CHANNEL map
13671 .quant8ChannelOperands = {},
13672 // int -> QUANT16_ASYMM map
13673 .quant16AsymmOperands = {},
13674 // int -> QUANT8_SYMM map
13675 .quant8SymmOperands = {},
13676 }
13677 },
13678 }, // End of an example
13679 };
13680 return examples_3_H3_W2_VALID_nhwc_relaxed;
13681 };
13682
get_examples_3_H3_W2_VALID_nhwc_float16()13683 std::vector<MixedTypedExample>& get_examples_3_H3_W2_VALID_nhwc_float16() {
13684 static std::vector<MixedTypedExample> examples_3_H3_W2_VALID_nhwc_float16 = {
13685 // Begin of an example
13686 {
13687 .operands = {
13688 //Input(s)
13689 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13690 // int -> Dimensions map
13691 .operandDimensions = {{0, {1, 8, 8, 3}}},
13692 // int -> FLOAT32 map
13693 .float32Operands = {},
13694 // int -> INT32 map
13695 .int32Operands = {},
13696 // int -> QUANT8_ASYMM map
13697 .quant8AsymmOperands = {},
13698 // int -> QUANT16_SYMM map
13699 .quant16SymmOperands = {},
13700 // int -> FLOAT16 map
13701 .float16Operands = {{0, {-0.8699309825897217f, 0.6446279883384705f, -0.9183930158615112f, 0.153671994805336f, 0.8685619831085205f, -0.3581770062446594f, -0.13493099808692932f, -0.24756500124931335f, 0.2217400074005127f, -0.2591570019721985f, -0.2842960059642792f, -0.5380650162696838f, 0.7655590176582336f, 0.41986000537872314f, -0.556240975856781f, 0.6584939956665039f, 0.214355006814003f, -0.8501690030097961f, -0.25289300084114075f, -0.47893500328063965f, 0.5305259823799133f, -0.07006630301475525f, -0.9887290000915527f, -0.30306100845336914f, 0.150845006108284f, 0.8299149870872498f, 0.47634899616241455f, 0.4065369963645935f, -0.3553430140018463f, 0.7571449875831604f, -0.356361985206604f, 0.8004819750785828f, -0.7138609886169434f, 0.21048299968242645f, -0.6343029737472534f, 0.7182360291481018f, -0.7520380020141602f, 0.45754700899124146f, -0.5507689714431763f, -0.551177978515625f, 0.4467659890651703f, -0.22746199369430542f, 0.21634800732135773f, -0.8528059720993042f, -0.3514859974384308f, 0.5590599775314331f, -0.6684929728507996f, -0.3034929931163788f, -0.3637630045413971f, -0.16283699870109558f, 0.07010120153427124f, 0.7560970187187195f, -0.14226900041103363f, 0.3297240138053894f, -0.6563169956207275f, -0.9980859756469727f, -0.6529489755630493f, -0.4031600058078766f, -0.8936820030212402f, 0.43274399638175964f, 0.6123620271682739f, -0.8695880174636841f, -0.7132700085639954f, -0.39809200167655945f, -0.04235589876770973f, 0.4365760087966919f, -0.9252719879150391f, 0.1765490025281906f, 0.8229039907455444f, 0.0968329980969429f, -0.29680201411247253f, -0.4271950125694275f, 0.0316540002822876f, -0.25447899103164673f, 0.2449049949645996f, 0.09482540190219879f, 0.6437690258026123f, -0.9039099812507629f, 0.3526650071144104f, -0.9011790156364441f, 0.2661589980125427f, -0.96806800365448f, -0.615401029586792f, -0.38897499442100525f, 0.9390519857406616f, -0.11628899723291397f, 0.10752300173044205f, -0.058271098881959915f, 0.4351719915866852f, 0.33467501401901245f, 0.4597109854221344f, 0.7174360156059265f, 0.49662700295448303f, -0.6801750063896179f, -0.4150660037994385f, 0.33984801173210144f, 0.5060039758682251f, -0.3378080129623413f, -0.10721799731254578f, -0.1724960058927536f, 0.8706380128860474f, 0.9318720102310181f, -0.9538840055465698f, 0.9030420184135437f, 0.7600780129432678f, 0.20972700417041779f, -0.28538399934768677f, -0.45513999462127686f, 0.11319400370121002f, 0.07566110044717789f, 0.09244350343942642f, -0.47286298871040344f, 0.9606090188026428f, -0.16038499772548676f, -0.8394449949264526f, 0.45709699392318726f, 0.1633480042219162f, 0.3448669910430908f, -0.13161900639533997f, 0.6887149810791016f, -0.5408269762992859f, 0.5712590217590332f, -0.9558699727058411f, 0.506164014339447f, -0.1558389961719513f, 0.07896210253238678f, 0.756771981716156f, -0.6620690226554871f, 0.24290800094604492f, 0.4608210027217865f, 0.17787200212478638f, -0.2898389995098114f, -0.6406030058860779f, 0.702597975730896f, -0.5064060091972351f, -0.568261981010437f, -0.07137160003185272f, 0.4137920141220093f, 0.15967300534248352f, -0.3052079975605011f, 0.13381600379943848f, -0.16025400161743164f, 0.787322998046875f, -0.7532439827919006f, 0.600721001625061f, 0.2631860077381134f, -0.16238699853420258f, 0.4779619872570038f, -0.7029510140419006f, -0.7310360074043274f, -0.9394810199737549f, -0.5245190262794495f, 0.9340720176696777f, -0.5116369724273682f, -0.5034989714622498f, 0.10623600333929062f, -0.3236840069293976f, 0.5344439744949341f, -0.8437449932098389f, 0.36417099833488464f, 0.03703580051660538f, -0.16880099475383759f, -0.4045589864253998f, -0.8141779899597168f, 0.9174500107765198f, -0.3342759907245636f, 0.6692500114440918f, -0.8012009859085083f, 0.15651099383831024f, -0.4279490113258362f, 0.3791530132293701f, 0.8185970187187195f, -0.6499019861221313f, 0.4270870089530945f, -0.586014986038208f, -0.5597890019416809f, -0.8339229822158813f, 0.0892409011721611f, -0.6212509870529175f, 0.2138260006904602f, 0.46550899744033813f, 0.47040000557899475f, 0.38026100397109985f, 0.4130670130252838f, 0.1808219999074936f, 0.17286600172519684f, 0.5961400270462036f, 0.8255749940872192f, 0.6629160046577454f, -0.704380989074707f, -0.29763099551200867f, 0.6977779865264893f}}},
13702 // int -> BOOL8 map
13703 .bool8Operands = {},
13704 // int -> QUANT8_SYMM_PER_CHANNEL map
13705 .quant8ChannelOperands = {},
13706 // int -> QUANT16_ASYMM map
13707 .quant16AsymmOperands = {},
13708 // int -> QUANT8_SYMM map
13709 .quant8SymmOperands = {},
13710 },
13711 //Output(s)
13712 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13713 // int -> Dimensions map
13714 .operandDimensions = {{0, {1, 6, 7, 3}}},
13715 // int -> FLOAT32 map
13716 .float32Operands = {},
13717 // int -> INT32 map
13718 .int32Operands = {},
13719 // int -> QUANT8_ASYMM map
13720 .quant8AsymmOperands = {},
13721 // int -> QUANT16_SYMM map
13722 .quant16SymmOperands = {},
13723 // int -> FLOAT16 map
13724 .float16Operands = {{0, {-0.18684199452400208f, -1.8730800151824951f, 1.2113499641418457f, -0.3850089907646179f, 1.7203199863433838f, -1.5603599548339844f, -1.2305899858474731f, 1.2369400262832642f, 0.0020001500379294157f, 0.3595220148563385f, 1.6008399724960327f, 0.434006005525589f, -0.28294500708580017f, 2.372920036315918f, -1.2865300178527832f, 0.08478370308876038f, -0.35209301114082336f, -2.396589994430542f, 0.1492460072040558f, 0.9203510284423828f, -1.343459963798523f, 0.4847959876060486f, -1.1998900175094604f, -0.6842979788780212f, -1.4130100011825562f, 0.10317700356245041f, -0.3070389926433563f, 1.1774100065231323f, 2.589359998703003f, -2.7623701095581055f, -1.215649962425232f, -1.0961899757385254f, 1.1743199825286865f, 0.5121430158615112f, 0.7713789939880371f, 0.39987900853157043f, -0.05330929905176163f, 0.2908639907836914f, 0.9556300044059753f, 1.1632800102233887f, 1.8076800107955933f, -1.5256400108337402f, 1.2247999906539917f, 0.23712700605392456f, -0.21329699456691742f, -0.619940996170044f, 0.4979439973831177f, -1.6868799924850464f, 1.5931400060653687f, -0.1273369938135147f, 0.11141899973154068f, 1.1371899843215942f, 1.6853699684143066f, -0.4796440005302429f, 1.186079978942871f, -2.527440071105957f, 1.3413599729537964f, 0.5482969880104065f, -2.0838000774383545f, 2.6458499431610107f, -0.9933540225028992f, 0.1282380074262619f, 1.2609200477600098f, -0.6291260123252869f, -0.9492290019989014f, 2.258280038833618f, -1.9609999656677246f, 0.0058959899470210075f, -0.18785400688648224f, -1.0240299701690674f, 0.39612099528312683f, 1.3703999519348145f, 3.9935500621795654f, 0.4342209994792938f, 0.2744640111923218f, -0.5624380111694336f, -0.9148709774017334f, 0.5391290187835693f, -0.9286869764328003f, 0.834954023361206f, 0.8441780209541321f, -0.5660529732704163f, -0.9573410153388977f, 0.9333360195159912f, -0.41466599702835083f, -0.4528209865093231f, -0.7060059905052185f, -1.7265700101852417f, -0.7265740036964417f, -0.09793619811534882f, -0.4786689877510071f, 1.7870299816131592f, -0.6392880082130432f, 1.4856499433517456f, -0.1799039989709854f, 1.0100300312042236f, -0.31711798906326294f, -0.6753870248794556f, 1.909690022468567f, -1.383430004119873f, 0.69725501537323f, -0.2922550141811371f, 1.8163399696350098f, 0.7178009748458862f, 0.8624789714813232f, -0.48189300298690796f, -0.13556499779224396f, -2.9594099521636963f, 0.24784600734710693f, 2.677570104598999f, -2.239989995956421f, -0.5196729898452759f, 0.25444701313972473f, 0.4152829945087433f, -1.0106500387191772f, 0.5079110264778137f, 0.9799259901046753f, -0.18430399894714355f, -0.0009504369809292257f, -0.7343479990959167f, -0.19668500125408173f, -0.7132409811019897f, 0.5949720144271851f, 0.08450440317392349f, 2.4849600791931152f, 0.3850190043449402f}}},
13725 // int -> BOOL8 map
13726 .bool8Operands = {},
13727 // int -> QUANT8_SYMM_PER_CHANNEL map
13728 .quant8ChannelOperands = {},
13729 // int -> QUANT16_ASYMM map
13730 .quant16AsymmOperands = {},
13731 // int -> QUANT8_SYMM map
13732 .quant8SymmOperands = {},
13733 }
13734 },
13735 }, // End of an example
13736 // Begin of an example
13737 {
13738 .operands = {
13739 //Input(s)
13740 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13741 // int -> Dimensions map
13742 .operandDimensions = {{0, {1, 8, 8, 3}}},
13743 // int -> FLOAT32 map
13744 .float32Operands = {},
13745 // int -> INT32 map
13746 .int32Operands = {},
13747 // int -> QUANT8_ASYMM map
13748 .quant8AsymmOperands = {},
13749 // int -> QUANT16_SYMM map
13750 .quant16SymmOperands = {},
13751 // int -> FLOAT16 map
13752 .float16Operands = {{0, {-0.29533499479293823f, -0.0038760099560022354f, -0.5522509813308716f, 0.16608400642871857f, -0.28481999039649963f, -0.15214300155639648f, -0.719884991645813f, -0.8693860173225403f, -0.7455980181694031f, 0.823947012424469f, 0.4731830060482025f, -0.33133700489997864f, 0.18763099610805511f, 0.04265709966421127f, -0.8268970251083374f, -0.7550849914550781f, -0.4724529981613159f, -0.023365600034594536f, 0.04834359884262085f, 0.9334179759025574f, -0.961974024772644f, 0.012578300200402737f, 0.21974200010299683f, 0.34260401129722595f, -0.1516599953174591f, 0.09349049627780914f, 0.7832210063934326f, 0.12966400384902954f, 0.8388440012931824f, -0.2713879942893982f, 0.9245190024375916f, 0.3428429961204529f, 0.2744179964065552f, 0.3508169949054718f, 0.8416380286216736f, -0.5439929962158203f, -0.002833950100466609f, -0.12846699357032776f, -0.6829429864883423f, -0.31911700963974f, 0.846340000629425f, 0.2830030024051666f, 0.32864999771118164f, 0.029375499114394188f, -0.03356960043311119f, 0.5912659764289856f, -0.0743476003408432f, -0.7412710189819336f, 0.4620560109615326f, -0.5836250185966492f, -0.5901830196380615f, 0.6233999729156494f, 0.535269021987915f, -0.6708179712295532f, -0.9556419849395752f, -0.7701730132102966f, 0.4799860119819641f, 0.664376974105835f, 0.3994449973106384f, -0.9688739776611328f, -0.2762629985809326f, -0.901951014995575f, 0.5441039800643921f, -0.9589809775352478f, 0.4826579988002777f, -0.8072839975357056f, 0.30536898970603943f, -0.9478179812431335f, 0.8274980187416077f, -0.38288700580596924f, -0.805741012096405f, -0.7966780066490173f, -0.2998040020465851f, -0.22982800006866455f, 0.8187829852104187f, -0.10305500030517578f, -0.4556800127029419f, -0.22782699763774872f, 0.5437430143356323f, -0.9607300162315369f, 0.9467470049858093f, -0.8571820259094238f, -0.9642599821090698f, -0.2924109995365143f, -0.7156140208244324f, 0.7652779817581177f, -0.47504299879074097f, -0.590142011642456f, -0.2385070025920868f, 0.6730020046234131f, -0.4733569920063019f, -0.31962600350379944f, 0.9360139966011047f, 0.48660698533058167f, 0.580843985080719f, 0.42535200715065f, -0.8009939789772034f, 0.2907629907131195f, -0.4949530065059662f, -0.44116199016571045f, 0.7186769843101501f, -0.8284270167350769f, 0.9696499705314636f, 7.536369957961142e-05f, -0.6999729871749878f, -0.526885986328125f, -0.3526819944381714f, 0.7994660139083862f, 0.33278900384902954f, 0.7233890295028687f, 0.40765899419784546f, -0.9340839982032776f, -0.2847050130367279f, 0.9614840149879456f, -0.7003949880599976f, -0.9858080148696899f, -0.5953419804573059f, -0.6917210221290588f, 0.4944800138473511f, -0.08426489681005478f, 0.03909660130739212f, 0.29893800616264343f, -0.12809400260448456f, -0.9715800285339355f, 0.8639299869537354f, 0.27060601115226746f, -0.46898600459098816f, -0.25660499930381775f, 0.4721499979496002f, -0.2731170058250427f, -0.5903429985046387f, -0.8265290260314941f, -0.7253810167312622f, -0.19482100009918213f, -0.2596609890460968f, -0.09492070227861404f, -0.1803019940853119f, 0.04468340054154396f, -0.22213299572467804f, -0.40393000841140747f, 0.295771986246109f, -0.9294899702072144f, 0.5800790190696716f, -0.169855996966362f, 0.33031100034713745f, 0.017355099320411682f, -0.6358230113983154f, 0.4759419858455658f, 0.9071750044822693f, 0.2427770048379898f, -0.5122079849243164f, 0.36246299743652344f, 0.04962889850139618f, 0.6517099738121033f, 0.9900569915771484f, 0.690733015537262f, -0.4690130054950714f, -0.10131099820137024f, -0.6837199926376343f, -0.15784099698066711f, -0.677711009979248f, -0.7082239985466003f, -0.6594370007514954f, -0.40760698914527893f, 0.677033007144928f, 0.8903200030326843f, 0.22830699384212494f, -0.7495139837265015f, 0.772957980632782f, 0.054701000452041626f, 0.551705002784729f, 0.9170519709587097f, -0.8950219750404358f, -0.7023969888687134f, 0.484142005443573f, 0.10864800214767456f, 0.8333470225334167f, 0.47887200117111206f, -0.984112024307251f, 0.3871760070323944f, -0.732990026473999f, 0.7526000142097473f, 0.44331198930740356f, -0.09878560155630112f, 0.12541499733924866f, 0.10875999927520752f, -0.49810799956321716f, 0.43209001421928406f, 0.34460899233818054f, 0.928941011428833f, -0.130731999874115f, -0.056916698813438416f}}},
13753 // int -> BOOL8 map
13754 .bool8Operands = {},
13755 // int -> QUANT8_SYMM_PER_CHANNEL map
13756 .quant8ChannelOperands = {},
13757 // int -> QUANT16_ASYMM map
13758 .quant16AsymmOperands = {},
13759 // int -> QUANT8_SYMM map
13760 .quant8SymmOperands = {},
13761 },
13762 //Output(s)
13763 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13764 // int -> Dimensions map
13765 .operandDimensions = {{0, {1, 6, 7, 3}}},
13766 // int -> FLOAT32 map
13767 .float32Operands = {},
13768 // int -> INT32 map
13769 .int32Operands = {},
13770 // int -> QUANT8_ASYMM map
13771 .quant8AsymmOperands = {},
13772 // int -> QUANT16_SYMM map
13773 .quant16SymmOperands = {},
13774 // int -> FLOAT16 map
13775 .float16Operands = {{0, {1.0670900344848633f, -1.1653399467468262f, 1.5269399881362915f, -0.7972450256347656f, 0.8027359843254089f, -0.9971089959144592f, 2.2660999298095703f, -1.4554799795150757f, 2.155060052871704f, -1.3368200063705444f, 1.152250051498413f, -3.0932400226593018f, 0.9434570074081421f, 0.8852109909057617f, 0.9879440069198608f, -0.34587499499320984f, -0.11470799893140793f, 1.7107000350952148f, 0.10474500060081482f, 0.828324019908905f, -2.4996399879455566f, -0.4894149899482727f, 1.7488900423049927f, -0.37825700640678406f, -2.102370023727417f, 0.6130220293998718f, -2.5225000381469727f, -0.7467849850654602f, 3.638159990310669f, -1.9286999702453613f, 0.774278998374939f, -0.6139169931411743f, -0.6500110030174255f, 1.0375299453735352f, -0.17792299389839172f, 0.8918150067329407f, -1.003730058670044f, 1.8385900259017944f, -1.5923899412155151f, -0.06626229733228683f, 0.21880599856376648f, -1.0880000591278076f, 3.047339916229248f, -1.5730199813842773f, 1.1088099479675293f, -0.980368971824646f, -3.8530499935150146f, -0.9558590054512024f, 1.649090051651001f, 2.3357300758361816f, 0.31143999099731445f, -0.5943750143051147f, 0.325747013092041f, -0.9525660276412964f, -0.613448977470398f, 2.8507299423217773f, 1.9469200372695923f, 1.129770040512085f, 1.13510000705719f, -0.4496519863605499f, 0.11876499652862549f, -0.19954699277877808f, 2.872999906539917f, 1.3804899454116821f, 2.383419990539551f, 0.8823210000991821f, 1.037950038909912f, -0.3215709924697876f, -2.602020025253296f, -1.6371999979019165f, 1.093019962310791f, 0.4617680013179779f, 1.8485000133514404f, -0.1589280068874359f, 4.288710117340088f, -0.437375009059906f, -1.5793999433517456f, 1.5986900329589844f, 0.08118639886379242f, 0.9120540022850037f, 0.4521760046482086f, 2.018120050430298f, 2.6290700435638428f, 1.5030399560928345f, 0.609824001789093f, -0.11105000227689743f, 3.3563499450683594f, 2.023859977722168f, 1.4687000513076782f, -0.7083650231361389f, -0.5089920163154602f, -3.026020050048828f, -0.7572500109672546f, 1.8527699708938599f, 2.9281699657440186f, -0.17299699783325195f, -1.132789969444275f, -0.35563600063323975f, -0.3376689851284027f, -0.5887519717216492f, 2.0575900077819824f, 1.0650999546051025f, 0.8847579956054688f, -0.07121119648218155f, 3.81318998336792f, -2.1926400661468506f, 0.11452099680900574f, 0.5435559749603271f, -1.6319700479507446f, -0.267441987991333f, 1.1570099592208862f, -2.378619909286499f, 2.5764598846435547f, 0.5312079787254333f, 0.9498999714851379f, -0.23144100606441498f, 1.5146100521087646f, 1.588879942893982f, 0.8959310054779053f, -0.7530840039253235f, 0.5452510118484497f, 0.7469040155410767f, 0.01299390010535717f, -0.7903980016708374f, -1.1054999828338623f, 1.7778899669647217f}}},
13776 // int -> BOOL8 map
13777 .bool8Operands = {},
13778 // int -> QUANT8_SYMM_PER_CHANNEL map
13779 .quant8ChannelOperands = {},
13780 // int -> QUANT16_ASYMM map
13781 .quant16AsymmOperands = {},
13782 // int -> QUANT8_SYMM map
13783 .quant8SymmOperands = {},
13784 }
13785 },
13786 }, // End of an example
13787 };
13788 return examples_3_H3_W2_VALID_nhwc_float16;
13789 };
13790
get_examples_3_H3_W2_VALID_nchw()13791 std::vector<MixedTypedExample>& get_examples_3_H3_W2_VALID_nchw() {
13792 static std::vector<MixedTypedExample> examples_3_H3_W2_VALID_nchw = {
13793 // Begin of an example
13794 {
13795 .operands = {
13796 //Input(s)
13797 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13798 // int -> Dimensions map
13799 .operandDimensions = {{0, {1, 3, 8, 8}}},
13800 // int -> FLOAT32 map
13801 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
13802 // int -> INT32 map
13803 .int32Operands = {},
13804 // int -> QUANT8_ASYMM map
13805 .quant8AsymmOperands = {},
13806 // int -> QUANT16_SYMM map
13807 .quant16SymmOperands = {},
13808 // int -> FLOAT16 map
13809 .float16Operands = {},
13810 // int -> BOOL8 map
13811 .bool8Operands = {},
13812 // int -> QUANT8_SYMM_PER_CHANNEL map
13813 .quant8ChannelOperands = {},
13814 // int -> QUANT16_ASYMM map
13815 .quant16AsymmOperands = {},
13816 // int -> QUANT8_SYMM map
13817 .quant8SymmOperands = {},
13818 },
13819 //Output(s)
13820 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13821 // int -> Dimensions map
13822 .operandDimensions = {{0, {1, 3, 6, 7}}},
13823 // int -> FLOAT32 map
13824 .float32Operands = {{0, {-0.186842f, -0.385009f, -1.23059f, 0.359522f, -0.282945f, 0.0847837f, 0.149246f, 0.484796f, -1.41301f, 1.17741f, -1.21565f, 0.512143f, -0.0533093f, 1.16328f, 1.2248f, -0.619941f, 1.59314f, 1.13719f, 1.18608f, 0.548297f, -0.993354f, -0.629126f, -1.961f, -1.02403f, 3.99355f, -0.562438f, -0.928687f, -0.566053f, -0.414666f, -1.72657f, -0.478669f, 1.48565f, -0.317118f, -1.38343f, 1.81634f, -0.481893f, 0.247846f, -0.519673f, -1.01065f, -0.184304f, -0.196685f, 0.0845044f, -1.87308f, 1.72032f, 1.23694f, 1.60084f, 2.37292f, -0.352093f, 0.920351f, -1.19989f, 0.103177f, 2.58936f, -1.09619f, 0.771379f, 0.290864f, 1.80768f, 0.237127f, 0.497944f, -0.127337f, 1.68537f, -2.52744f, -2.0838f, 0.128238f, -0.949229f, 0.00589599f, 0.396121f, 0.434221f, -0.914871f, 0.834954f, -0.957341f, -0.452821f, -0.726574f, 1.78703f, -0.179904f, -0.675387f, 0.697255f, 0.717801f, -0.135565f, 2.67757f, 0.254447f, 0.507911f, -0.000950437f, -0.713241f, 2.48496f, 1.21135f, -1.56036f, 0.00200015f, 0.434006f, -1.28653f, -2.39659f, -1.34346f, -0.684298f, -0.307039f, -2.76237f, 1.17432f, 0.399879f, 0.95563f, -1.52564f, -0.213297f, -1.68688f, 0.111419f, -0.479644f, 1.34136f, 2.64585f, 1.26092f, 2.25828f, -0.187854f, 1.3704f, 0.274464f, 0.539129f, 0.844178f, 0.933336f, -0.706006f, -0.0979362f, -0.639288f, 1.01003f, 1.90969f, -0.292255f, 0.862479f, -2.95941f, -2.23999f, 0.415283f, 0.979926f, -0.734348f, 0.594972f, 0.385019f}}},
13825 // int -> INT32 map
13826 .int32Operands = {},
13827 // int -> QUANT8_ASYMM map
13828 .quant8AsymmOperands = {},
13829 // int -> QUANT16_SYMM map
13830 .quant16SymmOperands = {},
13831 // int -> FLOAT16 map
13832 .float16Operands = {},
13833 // int -> BOOL8 map
13834 .bool8Operands = {},
13835 // int -> QUANT8_SYMM_PER_CHANNEL map
13836 .quant8ChannelOperands = {},
13837 // int -> QUANT16_ASYMM map
13838 .quant16AsymmOperands = {},
13839 // int -> QUANT8_SYMM map
13840 .quant8SymmOperands = {},
13841 }
13842 },
13843 }, // End of an example
13844 // Begin of an example
13845 {
13846 .operands = {
13847 //Input(s)
13848 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13849 // int -> Dimensions map
13850 .operandDimensions = {{0, {1, 3, 8, 8}}},
13851 // int -> FLOAT32 map
13852 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
13853 // int -> INT32 map
13854 .int32Operands = {},
13855 // int -> QUANT8_ASYMM map
13856 .quant8AsymmOperands = {},
13857 // int -> QUANT16_SYMM map
13858 .quant16SymmOperands = {},
13859 // int -> FLOAT16 map
13860 .float16Operands = {},
13861 // int -> BOOL8 map
13862 .bool8Operands = {},
13863 // int -> QUANT8_SYMM_PER_CHANNEL map
13864 .quant8ChannelOperands = {},
13865 // int -> QUANT16_ASYMM map
13866 .quant16AsymmOperands = {},
13867 // int -> QUANT8_SYMM map
13868 .quant8SymmOperands = {},
13869 },
13870 //Output(s)
13871 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13872 // int -> Dimensions map
13873 .operandDimensions = {{0, {1, 3, 6, 7}}},
13874 // int -> FLOAT32 map
13875 .float32Operands = {{0, {1.06709f, -0.797245f, 2.2661f, -1.33682f, 0.943457f, -0.345875f, 0.104745f, -0.489415f, -2.10237f, -0.746785f, 0.774279f, 1.03753f, -1.00373f, -0.0662623f, 3.04734f, -0.980369f, 1.64909f, -0.594375f, -0.613449f, 1.12977f, 0.118765f, 1.38049f, 1.03795f, -1.6372f, 1.8485f, -0.437375f, 0.0811864f, 2.01812f, 0.609824f, 2.02386f, -0.508992f, 1.85277f, -1.13279f, -0.588752f, 0.884758f, -2.19264f, -1.63197f, -2.37862f, 0.9499f, 1.58888f, 0.545251f, -0.790398f, -1.16534f, 0.802736f, -1.45548f, 1.15225f, 0.885211f, -0.114708f, 0.828324f, 1.74889f, 0.613022f, 3.63816f, -0.613917f, -0.177923f, 1.83859f, 0.218806f, -1.57302f, -3.85305f, 2.33573f, 0.325747f, 2.85073f, 1.1351f, -0.199547f, 2.38342f, -0.321571f, 1.09302f, -0.158928f, -1.5794f, 0.912054f, 2.62907f, -0.11105f, 1.4687f, -3.02602f, 2.92817f, -0.355636f, 2.05759f, -0.0712112f, 0.114521f, -0.267442f, 2.57646f, -0.231441f, 0.895931f, 0.746904f, -1.1055f, 1.52694f, -0.997109f, 2.15506f, -3.09324f, 0.987944f, 1.7107f, -2.49964f, -0.378257f, -2.5225f, -1.9287f, -0.650011f, 0.891815f, -1.59239f, -1.088f, 1.10881f, -0.955859f, 0.31144f, -0.952566f, 1.94692f, -0.449652f, 2.873f, 0.882321f, -2.60202f, 0.461768f, 4.28871f, 1.59869f, 0.452176f, 1.50304f, 3.35635f, -0.708365f, -0.75725f, -0.172997f, -0.337669f, 1.0651f, 3.81319f, 0.543556f, 1.15701f, 0.531208f, 1.51461f, -0.753084f, 0.0129939f, 1.77789f}}},
13876 // int -> INT32 map
13877 .int32Operands = {},
13878 // int -> QUANT8_ASYMM map
13879 .quant8AsymmOperands = {},
13880 // int -> QUANT16_SYMM map
13881 .quant16SymmOperands = {},
13882 // int -> FLOAT16 map
13883 .float16Operands = {},
13884 // int -> BOOL8 map
13885 .bool8Operands = {},
13886 // int -> QUANT8_SYMM_PER_CHANNEL map
13887 .quant8ChannelOperands = {},
13888 // int -> QUANT16_ASYMM map
13889 .quant16AsymmOperands = {},
13890 // int -> QUANT8_SYMM map
13891 .quant8SymmOperands = {},
13892 }
13893 },
13894 }, // End of an example
13895 };
13896 return examples_3_H3_W2_VALID_nchw;
13897 };
13898
get_examples_3_H3_W2_VALID_nchw_relaxed()13899 std::vector<MixedTypedExample>& get_examples_3_H3_W2_VALID_nchw_relaxed() {
13900 static std::vector<MixedTypedExample> examples_3_H3_W2_VALID_nchw_relaxed = {
13901 // Begin of an example
13902 {
13903 .operands = {
13904 //Input(s)
13905 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13906 // int -> Dimensions map
13907 .operandDimensions = {{0, {1, 3, 8, 8}}},
13908 // int -> FLOAT32 map
13909 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
13910 // int -> INT32 map
13911 .int32Operands = {},
13912 // int -> QUANT8_ASYMM map
13913 .quant8AsymmOperands = {},
13914 // int -> QUANT16_SYMM map
13915 .quant16SymmOperands = {},
13916 // int -> FLOAT16 map
13917 .float16Operands = {},
13918 // int -> BOOL8 map
13919 .bool8Operands = {},
13920 // int -> QUANT8_SYMM_PER_CHANNEL map
13921 .quant8ChannelOperands = {},
13922 // int -> QUANT16_ASYMM map
13923 .quant16AsymmOperands = {},
13924 // int -> QUANT8_SYMM map
13925 .quant8SymmOperands = {},
13926 },
13927 //Output(s)
13928 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13929 // int -> Dimensions map
13930 .operandDimensions = {{0, {1, 3, 6, 7}}},
13931 // int -> FLOAT32 map
13932 .float32Operands = {{0, {-0.186842f, -0.385009f, -1.23059f, 0.359522f, -0.282945f, 0.0847837f, 0.149246f, 0.484796f, -1.41301f, 1.17741f, -1.21565f, 0.512143f, -0.0533093f, 1.16328f, 1.2248f, -0.619941f, 1.59314f, 1.13719f, 1.18608f, 0.548297f, -0.993354f, -0.629126f, -1.961f, -1.02403f, 3.99355f, -0.562438f, -0.928687f, -0.566053f, -0.414666f, -1.72657f, -0.478669f, 1.48565f, -0.317118f, -1.38343f, 1.81634f, -0.481893f, 0.247846f, -0.519673f, -1.01065f, -0.184304f, -0.196685f, 0.0845044f, -1.87308f, 1.72032f, 1.23694f, 1.60084f, 2.37292f, -0.352093f, 0.920351f, -1.19989f, 0.103177f, 2.58936f, -1.09619f, 0.771379f, 0.290864f, 1.80768f, 0.237127f, 0.497944f, -0.127337f, 1.68537f, -2.52744f, -2.0838f, 0.128238f, -0.949229f, 0.00589599f, 0.396121f, 0.434221f, -0.914871f, 0.834954f, -0.957341f, -0.452821f, -0.726574f, 1.78703f, -0.179904f, -0.675387f, 0.697255f, 0.717801f, -0.135565f, 2.67757f, 0.254447f, 0.507911f, -0.000950437f, -0.713241f, 2.48496f, 1.21135f, -1.56036f, 0.00200015f, 0.434006f, -1.28653f, -2.39659f, -1.34346f, -0.684298f, -0.307039f, -2.76237f, 1.17432f, 0.399879f, 0.95563f, -1.52564f, -0.213297f, -1.68688f, 0.111419f, -0.479644f, 1.34136f, 2.64585f, 1.26092f, 2.25828f, -0.187854f, 1.3704f, 0.274464f, 0.539129f, 0.844178f, 0.933336f, -0.706006f, -0.0979362f, -0.639288f, 1.01003f, 1.90969f, -0.292255f, 0.862479f, -2.95941f, -2.23999f, 0.415283f, 0.979926f, -0.734348f, 0.594972f, 0.385019f}}},
13933 // int -> INT32 map
13934 .int32Operands = {},
13935 // int -> QUANT8_ASYMM map
13936 .quant8AsymmOperands = {},
13937 // int -> QUANT16_SYMM map
13938 .quant16SymmOperands = {},
13939 // int -> FLOAT16 map
13940 .float16Operands = {},
13941 // int -> BOOL8 map
13942 .bool8Operands = {},
13943 // int -> QUANT8_SYMM_PER_CHANNEL map
13944 .quant8ChannelOperands = {},
13945 // int -> QUANT16_ASYMM map
13946 .quant16AsymmOperands = {},
13947 // int -> QUANT8_SYMM map
13948 .quant8SymmOperands = {},
13949 }
13950 },
13951 }, // End of an example
13952 // Begin of an example
13953 {
13954 .operands = {
13955 //Input(s)
13956 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13957 // int -> Dimensions map
13958 .operandDimensions = {{0, {1, 3, 8, 8}}},
13959 // int -> FLOAT32 map
13960 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
13961 // int -> INT32 map
13962 .int32Operands = {},
13963 // int -> QUANT8_ASYMM map
13964 .quant8AsymmOperands = {},
13965 // int -> QUANT16_SYMM map
13966 .quant16SymmOperands = {},
13967 // int -> FLOAT16 map
13968 .float16Operands = {},
13969 // int -> BOOL8 map
13970 .bool8Operands = {},
13971 // int -> QUANT8_SYMM_PER_CHANNEL map
13972 .quant8ChannelOperands = {},
13973 // int -> QUANT16_ASYMM map
13974 .quant16AsymmOperands = {},
13975 // int -> QUANT8_SYMM map
13976 .quant8SymmOperands = {},
13977 },
13978 //Output(s)
13979 { // See tools/test_generator/include/TestHarness.h:MixedTyped
13980 // int -> Dimensions map
13981 .operandDimensions = {{0, {1, 3, 6, 7}}},
13982 // int -> FLOAT32 map
13983 .float32Operands = {{0, {1.06709f, -0.797245f, 2.2661f, -1.33682f, 0.943457f, -0.345875f, 0.104745f, -0.489415f, -2.10237f, -0.746785f, 0.774279f, 1.03753f, -1.00373f, -0.0662623f, 3.04734f, -0.980369f, 1.64909f, -0.594375f, -0.613449f, 1.12977f, 0.118765f, 1.38049f, 1.03795f, -1.6372f, 1.8485f, -0.437375f, 0.0811864f, 2.01812f, 0.609824f, 2.02386f, -0.508992f, 1.85277f, -1.13279f, -0.588752f, 0.884758f, -2.19264f, -1.63197f, -2.37862f, 0.9499f, 1.58888f, 0.545251f, -0.790398f, -1.16534f, 0.802736f, -1.45548f, 1.15225f, 0.885211f, -0.114708f, 0.828324f, 1.74889f, 0.613022f, 3.63816f, -0.613917f, -0.177923f, 1.83859f, 0.218806f, -1.57302f, -3.85305f, 2.33573f, 0.325747f, 2.85073f, 1.1351f, -0.199547f, 2.38342f, -0.321571f, 1.09302f, -0.158928f, -1.5794f, 0.912054f, 2.62907f, -0.11105f, 1.4687f, -3.02602f, 2.92817f, -0.355636f, 2.05759f, -0.0712112f, 0.114521f, -0.267442f, 2.57646f, -0.231441f, 0.895931f, 0.746904f, -1.1055f, 1.52694f, -0.997109f, 2.15506f, -3.09324f, 0.987944f, 1.7107f, -2.49964f, -0.378257f, -2.5225f, -1.9287f, -0.650011f, 0.891815f, -1.59239f, -1.088f, 1.10881f, -0.955859f, 0.31144f, -0.952566f, 1.94692f, -0.449652f, 2.873f, 0.882321f, -2.60202f, 0.461768f, 4.28871f, 1.59869f, 0.452176f, 1.50304f, 3.35635f, -0.708365f, -0.75725f, -0.172997f, -0.337669f, 1.0651f, 3.81319f, 0.543556f, 1.15701f, 0.531208f, 1.51461f, -0.753084f, 0.0129939f, 1.77789f}}},
13984 // int -> INT32 map
13985 .int32Operands = {},
13986 // int -> QUANT8_ASYMM map
13987 .quant8AsymmOperands = {},
13988 // int -> QUANT16_SYMM map
13989 .quant16SymmOperands = {},
13990 // int -> FLOAT16 map
13991 .float16Operands = {},
13992 // int -> BOOL8 map
13993 .bool8Operands = {},
13994 // int -> QUANT8_SYMM_PER_CHANNEL map
13995 .quant8ChannelOperands = {},
13996 // int -> QUANT16_ASYMM map
13997 .quant16AsymmOperands = {},
13998 // int -> QUANT8_SYMM map
13999 .quant8SymmOperands = {},
14000 }
14001 },
14002 }, // End of an example
14003 };
14004 return examples_3_H3_W2_VALID_nchw_relaxed;
14005 };
14006
get_examples_3_H3_W2_VALID_nchw_float16()14007 std::vector<MixedTypedExample>& get_examples_3_H3_W2_VALID_nchw_float16() {
14008 static std::vector<MixedTypedExample> examples_3_H3_W2_VALID_nchw_float16 = {
14009 // Begin of an example
14010 {
14011 .operands = {
14012 //Input(s)
14013 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14014 // int -> Dimensions map
14015 .operandDimensions = {{0, {1, 3, 8, 8}}},
14016 // int -> FLOAT32 map
14017 .float32Operands = {},
14018 // int -> INT32 map
14019 .int32Operands = {},
14020 // int -> QUANT8_ASYMM map
14021 .quant8AsymmOperands = {},
14022 // int -> QUANT16_SYMM map
14023 .quant16SymmOperands = {},
14024 // int -> FLOAT16 map
14025 .float16Operands = {{0, {-0.8699309825897217f, 0.153671994805336f, -0.13493099808692932f, -0.2591570019721985f, 0.7655590176582336f, 0.6584939956665039f, -0.25289300084114075f, -0.07006630301475525f, 0.150845006108284f, 0.4065369963645935f, -0.356361985206604f, 0.21048299968242645f, -0.7520380020141602f, -0.551177978515625f, 0.21634800732135773f, 0.5590599775314331f, -0.3637630045413971f, 0.7560970187187195f, -0.6563169956207275f, -0.4031600058078766f, 0.6123620271682739f, -0.39809200167655945f, -0.9252719879150391f, 0.0968329980969429f, 0.0316540002822876f, 0.09482540190219879f, 0.3526650071144104f, -0.96806800365448f, 0.9390519857406616f, -0.058271098881959915f, 0.4597109854221344f, -0.6801750063896179f, 0.5060039758682251f, -0.1724960058927536f, -0.9538840055465698f, 0.20972700417041779f, 0.11319400370121002f, -0.47286298871040344f, -0.8394449949264526f, 0.3448669910430908f, -0.5408269762992859f, 0.506164014339447f, 0.756771981716156f, 0.4608210027217865f, -0.6406030058860779f, -0.568261981010437f, 0.15967300534248352f, -0.16025400161743164f, 0.600721001625061f, 0.4779619872570038f, -0.9394810199737549f, -0.5116369724273682f, -0.3236840069293976f, 0.36417099833488464f, -0.4045589864253998f, -0.3342759907245636f, 0.15651099383831024f, 0.8185970187187195f, -0.586014986038208f, 0.0892409011721611f, 0.46550899744033813f, 0.4130670130252838f, 0.5961400270462036f, -0.704380989074707f, 0.6446279883384705f, 0.8685619831085205f, -0.24756500124931335f, -0.2842960059642792f, 0.41986000537872314f, 0.214355006814003f, -0.47893500328063965f, -0.9887290000915527f, 0.8299149870872498f, -0.3553430140018463f, 0.8004819750785828f, -0.6343029737472534f, 0.45754700899124146f, 0.4467659890651703f, -0.8528059720993042f, -0.6684929728507996f, -0.16283699870109558f, -0.14226900041103363f, -0.9980859756469727f, -0.8936820030212402f, -0.8695880174636841f, -0.04235589876770973f, 0.1765490025281906f, -0.29680201411247253f, -0.25447899103164673f, 0.6437690258026123f, -0.9011790156364441f, -0.615401029586792f, -0.11628899723291397f, 0.4351719915866852f, 0.7174360156059265f, -0.4150660037994385f, -0.3378080129623413f, 0.8706380128860474f, 0.9030420184135437f, -0.28538399934768677f, 0.07566110044717789f, 0.9606090188026428f, 0.45709699392318726f, -0.13161900639533997f, 0.5712590217590332f, -0.1558389961719513f, -0.6620690226554871f, 0.17787200212478638f, 0.702597975730896f, -0.07137160003185272f, -0.3052079975605011f, 0.787322998046875f, 0.2631860077381134f, -0.7029510140419006f, -0.5245190262794495f, -0.5034989714622498f, 0.5344439744949341f, 0.03703580051660538f, -0.8141779899597168f, 0.6692500114440918f, -0.4279490113258362f, -0.6499019861221313f, -0.5597890019416809f, -0.6212509870529175f, 0.47040000557899475f, 0.1808219999074936f, 0.8255749940872192f, -0.29763099551200867f, -0.9183930158615112f, -0.3581770062446594f, 0.2217400074005127f, -0.5380650162696838f, -0.556240975856781f, -0.8501690030097961f, 0.5305259823799133f, -0.30306100845336914f, 0.47634899616241455f, 0.7571449875831604f, -0.7138609886169434f, 0.7182360291481018f, -0.5507689714431763f, -0.22746199369430542f, -0.3514859974384308f, -0.3034929931163788f, 0.07010120153427124f, 0.3297240138053894f, -0.6529489755630493f, 0.43274399638175964f, -0.7132700085639954f, 0.4365760087966919f, 0.8229039907455444f, -0.4271950125694275f, 0.2449049949645996f, -0.9039099812507629f, 0.2661589980125427f, -0.38897499442100525f, 0.10752300173044205f, 0.33467501401901245f, 0.49662700295448303f, 0.33984801173210144f, -0.10721799731254578f, 0.9318720102310181f, 0.7600780129432678f, -0.45513999462127686f, 0.09244350343942642f, -0.16038499772548676f, 0.1633480042219162f, 0.6887149810791016f, -0.9558699727058411f, 0.07896210253238678f, 0.24290800094604492f, -0.2898389995098114f, -0.5064060091972351f, 0.4137920141220093f, 0.13381600379943848f, -0.7532439827919006f, -0.16238699853420258f, -0.7310360074043274f, 0.9340720176696777f, 0.10623600333929062f, -0.8437449932098389f, -0.16880099475383759f, 0.9174500107765198f, -0.8012009859085083f, 0.3791530132293701f, 0.4270870089530945f, -0.8339229822158813f, 0.2138260006904602f, 0.38026100397109985f, 0.17286600172519684f, 0.6629160046577454f, 0.6977779865264893f}}},
14026 // int -> BOOL8 map
14027 .bool8Operands = {},
14028 // int -> QUANT8_SYMM_PER_CHANNEL map
14029 .quant8ChannelOperands = {},
14030 // int -> QUANT16_ASYMM map
14031 .quant16AsymmOperands = {},
14032 // int -> QUANT8_SYMM map
14033 .quant8SymmOperands = {},
14034 },
14035 //Output(s)
14036 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14037 // int -> Dimensions map
14038 .operandDimensions = {{0, {1, 3, 6, 7}}},
14039 // int -> FLOAT32 map
14040 .float32Operands = {},
14041 // int -> INT32 map
14042 .int32Operands = {},
14043 // int -> QUANT8_ASYMM map
14044 .quant8AsymmOperands = {},
14045 // int -> QUANT16_SYMM map
14046 .quant16SymmOperands = {},
14047 // int -> FLOAT16 map
14048 .float16Operands = {{0, {-0.18684199452400208f, -0.3850089907646179f, -1.2305899858474731f, 0.3595220148563385f, -0.28294500708580017f, 0.08478370308876038f, 0.1492460072040558f, 0.4847959876060486f, -1.4130100011825562f, 1.1774100065231323f, -1.215649962425232f, 0.5121430158615112f, -0.05330929905176163f, 1.1632800102233887f, 1.2247999906539917f, -0.619940996170044f, 1.5931400060653687f, 1.1371899843215942f, 1.186079978942871f, 0.5482969880104065f, -0.9933540225028992f, -0.6291260123252869f, -1.9609999656677246f, -1.0240299701690674f, 3.9935500621795654f, -0.5624380111694336f, -0.9286869764328003f, -0.5660529732704163f, -0.41466599702835083f, -1.7265700101852417f, -0.4786689877510071f, 1.4856499433517456f, -0.31711798906326294f, -1.383430004119873f, 1.8163399696350098f, -0.48189300298690796f, 0.24784600734710693f, -0.5196729898452759f, -1.0106500387191772f, -0.18430399894714355f, -0.19668500125408173f, 0.08450440317392349f, -1.8730800151824951f, 1.7203199863433838f, 1.2369400262832642f, 1.6008399724960327f, 2.372920036315918f, -0.35209301114082336f, 0.9203510284423828f, -1.1998900175094604f, 0.10317700356245041f, 2.589359998703003f, -1.0961899757385254f, 0.7713789939880371f, 0.2908639907836914f, 1.8076800107955933f, 0.23712700605392456f, 0.4979439973831177f, -0.1273369938135147f, 1.6853699684143066f, -2.527440071105957f, -2.0838000774383545f, 0.1282380074262619f, -0.9492290019989014f, 0.0058959899470210075f, 0.39612099528312683f, 0.4342209994792938f, -0.9148709774017334f, 0.834954023361206f, -0.9573410153388977f, -0.4528209865093231f, -0.7265740036964417f, 1.7870299816131592f, -0.1799039989709854f, -0.6753870248794556f, 0.69725501537323f, 0.7178009748458862f, -0.13556499779224396f, 2.677570104598999f, 0.25444701313972473f, 0.5079110264778137f, -0.0009504369809292257f, -0.7132409811019897f, 2.4849600791931152f, 1.2113499641418457f, -1.5603599548339844f, 0.0020001500379294157f, 0.434006005525589f, -1.2865300178527832f, -2.396589994430542f, -1.343459963798523f, -0.6842979788780212f, -0.3070389926433563f, -2.7623701095581055f, 1.1743199825286865f, 0.39987900853157043f, 0.9556300044059753f, -1.5256400108337402f, -0.21329699456691742f, -1.6868799924850464f, 0.11141899973154068f, -0.4796440005302429f, 1.3413599729537964f, 2.6458499431610107f, 1.2609200477600098f, 2.258280038833618f, -0.18785400688648224f, 1.3703999519348145f, 0.2744640111923218f, 0.5391290187835693f, 0.8441780209541321f, 0.9333360195159912f, -0.7060059905052185f, -0.09793619811534882f, -0.6392880082130432f, 1.0100300312042236f, 1.909690022468567f, -0.2922550141811371f, 0.8624789714813232f, -2.9594099521636963f, -2.239989995956421f, 0.4152829945087433f, 0.9799259901046753f, -0.7343479990959167f, 0.5949720144271851f, 0.3850190043449402f}}},
14049 // int -> BOOL8 map
14050 .bool8Operands = {},
14051 // int -> QUANT8_SYMM_PER_CHANNEL map
14052 .quant8ChannelOperands = {},
14053 // int -> QUANT16_ASYMM map
14054 .quant16AsymmOperands = {},
14055 // int -> QUANT8_SYMM map
14056 .quant8SymmOperands = {},
14057 }
14058 },
14059 }, // End of an example
14060 // Begin of an example
14061 {
14062 .operands = {
14063 //Input(s)
14064 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14065 // int -> Dimensions map
14066 .operandDimensions = {{0, {1, 3, 8, 8}}},
14067 // int -> FLOAT32 map
14068 .float32Operands = {},
14069 // int -> INT32 map
14070 .int32Operands = {},
14071 // int -> QUANT8_ASYMM map
14072 .quant8AsymmOperands = {},
14073 // int -> QUANT16_SYMM map
14074 .quant16SymmOperands = {},
14075 // int -> FLOAT16 map
14076 .float16Operands = {{0, {-0.29533499479293823f, 0.16608400642871857f, -0.719884991645813f, 0.823947012424469f, 0.18763099610805511f, -0.7550849914550781f, 0.04834359884262085f, 0.012578300200402737f, -0.1516599953174591f, 0.12966400384902954f, 0.9245190024375916f, 0.3508169949054718f, -0.002833950100466609f, -0.31911700963974f, 0.32864999771118164f, 0.5912659764289856f, 0.4620560109615326f, 0.6233999729156494f, -0.9556419849395752f, 0.664376974105835f, -0.2762629985809326f, -0.9589809775352478f, 0.30536898970603943f, -0.38288700580596924f, -0.2998040020465851f, -0.10305500030517578f, 0.5437430143356323f, -0.8571820259094238f, -0.7156140208244324f, -0.590142011642456f, -0.4733569920063019f, 0.48660698533058167f, -0.8009939789772034f, -0.44116199016571045f, 0.9696499705314636f, -0.526885986328125f, 0.33278900384902954f, -0.9340839982032776f, -0.7003949880599976f, -0.6917210221290588f, 0.03909660130739212f, -0.9715800285339355f, -0.46898600459098816f, -0.2731170058250427f, -0.7253810167312622f, -0.09492070227861404f, -0.22213299572467804f, -0.9294899702072144f, 0.33031100034713745f, 0.4759419858455658f, -0.5122079849243164f, 0.6517099738121033f, -0.4690130054950714f, -0.15784099698066711f, -0.6594370007514954f, 0.8903200030326843f, 0.772957980632782f, 0.9170519709587097f, 0.484142005443573f, 0.47887200117111206f, -0.732990026473999f, -0.09878560155630112f, -0.49810799956321716f, 0.928941011428833f, -0.0038760099560022354f, -0.28481999039649963f, -0.8693860173225403f, 0.4731830060482025f, 0.04265709966421127f, -0.4724529981613159f, 0.9334179759025574f, 0.21974200010299683f, 0.09349049627780914f, 0.8388440012931824f, 0.3428429961204529f, 0.8416380286216736f, -0.12846699357032776f, 0.846340000629425f, 0.029375499114394188f, -0.0743476003408432f, -0.5836250185966492f, 0.535269021987915f, -0.7701730132102966f, 0.3994449973106384f, -0.901951014995575f, 0.4826579988002777f, -0.9478179812431335f, -0.805741012096405f, -0.22982800006866455f, -0.4556800127029419f, -0.9607300162315369f, -0.9642599821090698f, 0.7652779817581177f, -0.2385070025920868f, -0.31962600350379944f, 0.580843985080719f, 0.2907629907131195f, 0.7186769843101501f, 7.536369957961142e-05f, -0.3526819944381714f, 0.7233890295028687f, -0.2847050130367279f, -0.9858080148696899f, 0.4944800138473511f, 0.29893800616264343f, 0.8639299869537354f, -0.25660499930381775f, -0.5903429985046387f, -0.19482100009918213f, -0.1803019940853119f, -0.40393000841140747f, 0.5800790190696716f, 0.017355099320411682f, 0.9071750044822693f, 0.36246299743652344f, 0.9900569915771484f, -0.10131099820137024f, -0.677711009979248f, -0.40760698914527893f, 0.22830699384212494f, 0.054701000452041626f, -0.8950219750404358f, 0.10864800214767456f, -0.984112024307251f, 0.7526000142097473f, 0.12541499733924866f, 0.43209001421928406f, -0.130731999874115f, -0.5522509813308716f, -0.15214300155639648f, -0.7455980181694031f, -0.33133700489997864f, -0.8268970251083374f, -0.023365600034594536f, -0.961974024772644f, 0.34260401129722595f, 0.7832210063934326f, -0.2713879942893982f, 0.2744179964065552f, -0.5439929962158203f, -0.6829429864883423f, 0.2830030024051666f, -0.03356960043311119f, -0.7412710189819336f, -0.5901830196380615f, -0.6708179712295532f, 0.4799860119819641f, -0.9688739776611328f, 0.5441039800643921f, -0.8072839975357056f, 0.8274980187416077f, -0.7966780066490173f, 0.8187829852104187f, -0.22782699763774872f, 0.9467470049858093f, -0.2924109995365143f, -0.47504299879074097f, 0.6730020046234131f, 0.9360139966011047f, 0.42535200715065f, -0.4949530065059662f, -0.8284270167350769f, -0.6999729871749878f, 0.7994660139083862f, 0.40765899419784546f, 0.9614840149879456f, -0.5953419804573059f, -0.08426489681005478f, -0.12809400260448456f, 0.27060601115226746f, 0.4721499979496002f, -0.8265290260314941f, -0.2596609890460968f, 0.04468340054154396f, 0.295771986246109f, -0.169855996966362f, -0.6358230113983154f, 0.2427770048379898f, 0.04962889850139618f, 0.690733015537262f, -0.6837199926376343f, -0.7082239985466003f, 0.677033007144928f, -0.7495139837265015f, 0.551705002784729f, -0.7023969888687134f, 0.8333470225334167f, 0.3871760070323944f, 0.44331198930740356f, 0.10875999927520752f, 0.34460899233818054f, -0.056916698813438416f}}},
14077 // int -> BOOL8 map
14078 .bool8Operands = {},
14079 // int -> QUANT8_SYMM_PER_CHANNEL map
14080 .quant8ChannelOperands = {},
14081 // int -> QUANT16_ASYMM map
14082 .quant16AsymmOperands = {},
14083 // int -> QUANT8_SYMM map
14084 .quant8SymmOperands = {},
14085 },
14086 //Output(s)
14087 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14088 // int -> Dimensions map
14089 .operandDimensions = {{0, {1, 3, 6, 7}}},
14090 // int -> FLOAT32 map
14091 .float32Operands = {},
14092 // int -> INT32 map
14093 .int32Operands = {},
14094 // int -> QUANT8_ASYMM map
14095 .quant8AsymmOperands = {},
14096 // int -> QUANT16_SYMM map
14097 .quant16SymmOperands = {},
14098 // int -> FLOAT16 map
14099 .float16Operands = {{0, {1.0670900344848633f, -0.7972450256347656f, 2.2660999298095703f, -1.3368200063705444f, 0.9434570074081421f, -0.34587499499320984f, 0.10474500060081482f, -0.4894149899482727f, -2.102370023727417f, -0.7467849850654602f, 0.774278998374939f, 1.0375299453735352f, -1.003730058670044f, -0.06626229733228683f, 3.047339916229248f, -0.980368971824646f, 1.649090051651001f, -0.5943750143051147f, -0.613448977470398f, 1.129770040512085f, 0.11876499652862549f, 1.3804899454116821f, 1.037950038909912f, -1.6371999979019165f, 1.8485000133514404f, -0.437375009059906f, 0.08118639886379242f, 2.018120050430298f, 0.609824001789093f, 2.023859977722168f, -0.5089920163154602f, 1.8527699708938599f, -1.132789969444275f, -0.5887519717216492f, 0.8847579956054688f, -2.1926400661468506f, -1.6319700479507446f, -2.378619909286499f, 0.9498999714851379f, 1.588879942893982f, 0.5452510118484497f, -0.7903980016708374f, -1.1653399467468262f, 0.8027359843254089f, -1.4554799795150757f, 1.152250051498413f, 0.8852109909057617f, -0.11470799893140793f, 0.828324019908905f, 1.7488900423049927f, 0.6130220293998718f, 3.638159990310669f, -0.6139169931411743f, -0.17792299389839172f, 1.8385900259017944f, 0.21880599856376648f, -1.5730199813842773f, -3.8530499935150146f, 2.3357300758361816f, 0.325747013092041f, 2.8507299423217773f, 1.13510000705719f, -0.19954699277877808f, 2.383419990539551f, -0.3215709924697876f, 1.093019962310791f, -0.1589280068874359f, -1.5793999433517456f, 0.9120540022850037f, 2.6290700435638428f, -0.11105000227689743f, 1.4687000513076782f, -3.026020050048828f, 2.9281699657440186f, -0.35563600063323975f, 2.0575900077819824f, -0.07121119648218155f, 0.11452099680900574f, -0.267441987991333f, 2.5764598846435547f, -0.23144100606441498f, 0.8959310054779053f, 0.7469040155410767f, -1.1054999828338623f, 1.5269399881362915f, -0.9971089959144592f, 2.155060052871704f, -3.0932400226593018f, 0.9879440069198608f, 1.7107000350952148f, -2.4996399879455566f, -0.37825700640678406f, -2.5225000381469727f, -1.9286999702453613f, -0.6500110030174255f, 0.8918150067329407f, -1.5923899412155151f, -1.0880000591278076f, 1.1088099479675293f, -0.9558590054512024f, 0.31143999099731445f, -0.9525660276412964f, 1.9469200372695923f, -0.4496519863605499f, 2.872999906539917f, 0.8823210000991821f, -2.602020025253296f, 0.4617680013179779f, 4.288710117340088f, 1.5986900329589844f, 0.4521760046482086f, 1.5030399560928345f, 3.3563499450683594f, -0.7083650231361389f, -0.7572500109672546f, -0.17299699783325195f, -0.3376689851284027f, 1.0650999546051025f, 3.81318998336792f, 0.5435559749603271f, 1.1570099592208862f, 0.5312079787254333f, 1.5146100521087646f, -0.7530840039253235f, 0.01299390010535717f, 1.7778899669647217f}}},
14100 // int -> BOOL8 map
14101 .bool8Operands = {},
14102 // int -> QUANT8_SYMM_PER_CHANNEL map
14103 .quant8ChannelOperands = {},
14104 // int -> QUANT16_ASYMM map
14105 .quant16AsymmOperands = {},
14106 // int -> QUANT8_SYMM map
14107 .quant8SymmOperands = {},
14108 }
14109 },
14110 }, // End of an example
14111 };
14112 return examples_3_H3_W2_VALID_nchw_float16;
14113 };
14114
get_examples_3_H3_W2_VALID_dynamic_output_shape_nhwc()14115 std::vector<MixedTypedExample>& get_examples_3_H3_W2_VALID_dynamic_output_shape_nhwc() {
14116 static std::vector<MixedTypedExample> examples_3_H3_W2_VALID_dynamic_output_shape_nhwc = {
14117 // Begin of an example
14118 {
14119 .operands = {
14120 //Input(s)
14121 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14122 // int -> Dimensions map
14123 .operandDimensions = {{0, {1, 8, 8, 3}}},
14124 // int -> FLOAT32 map
14125 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
14126 // int -> INT32 map
14127 .int32Operands = {},
14128 // int -> QUANT8_ASYMM map
14129 .quant8AsymmOperands = {},
14130 // int -> QUANT16_SYMM map
14131 .quant16SymmOperands = {},
14132 // int -> FLOAT16 map
14133 .float16Operands = {},
14134 // int -> BOOL8 map
14135 .bool8Operands = {},
14136 // int -> QUANT8_SYMM_PER_CHANNEL map
14137 .quant8ChannelOperands = {},
14138 // int -> QUANT16_ASYMM map
14139 .quant16AsymmOperands = {},
14140 // int -> QUANT8_SYMM map
14141 .quant8SymmOperands = {},
14142 },
14143 //Output(s)
14144 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14145 // int -> Dimensions map
14146 .operandDimensions = {{0, {1, 6, 7, 3}}},
14147 // int -> FLOAT32 map
14148 .float32Operands = {{0, {-0.186842f, -1.87308f, 1.21135f, -0.385009f, 1.72032f, -1.56036f, -1.23059f, 1.23694f, 0.00200015f, 0.359522f, 1.60084f, 0.434006f, -0.282945f, 2.37292f, -1.28653f, 0.0847837f, -0.352093f, -2.39659f, 0.149246f, 0.920351f, -1.34346f, 0.484796f, -1.19989f, -0.684298f, -1.41301f, 0.103177f, -0.307039f, 1.17741f, 2.58936f, -2.76237f, -1.21565f, -1.09619f, 1.17432f, 0.512143f, 0.771379f, 0.399879f, -0.0533093f, 0.290864f, 0.95563f, 1.16328f, 1.80768f, -1.52564f, 1.2248f, 0.237127f, -0.213297f, -0.619941f, 0.497944f, -1.68688f, 1.59314f, -0.127337f, 0.111419f, 1.13719f, 1.68537f, -0.479644f, 1.18608f, -2.52744f, 1.34136f, 0.548297f, -2.0838f, 2.64585f, -0.993354f, 0.128238f, 1.26092f, -0.629126f, -0.949229f, 2.25828f, -1.961f, 0.00589599f, -0.187854f, -1.02403f, 0.396121f, 1.3704f, 3.99355f, 0.434221f, 0.274464f, -0.562438f, -0.914871f, 0.539129f, -0.928687f, 0.834954f, 0.844178f, -0.566053f, -0.957341f, 0.933336f, -0.414666f, -0.452821f, -0.706006f, -1.72657f, -0.726574f, -0.0979362f, -0.478669f, 1.78703f, -0.639288f, 1.48565f, -0.179904f, 1.01003f, -0.317118f, -0.675387f, 1.90969f, -1.38343f, 0.697255f, -0.292255f, 1.81634f, 0.717801f, 0.862479f, -0.481893f, -0.135565f, -2.95941f, 0.247846f, 2.67757f, -2.23999f, -0.519673f, 0.254447f, 0.415283f, -1.01065f, 0.507911f, 0.979926f, -0.184304f, -0.000950437f, -0.734348f, -0.196685f, -0.713241f, 0.594972f, 0.0845044f, 2.48496f, 0.385019f}}},
14149 // int -> INT32 map
14150 .int32Operands = {},
14151 // int -> QUANT8_ASYMM map
14152 .quant8AsymmOperands = {},
14153 // int -> QUANT16_SYMM map
14154 .quant16SymmOperands = {},
14155 // int -> FLOAT16 map
14156 .float16Operands = {},
14157 // int -> BOOL8 map
14158 .bool8Operands = {},
14159 // int -> QUANT8_SYMM_PER_CHANNEL map
14160 .quant8ChannelOperands = {},
14161 // int -> QUANT16_ASYMM map
14162 .quant16AsymmOperands = {},
14163 // int -> QUANT8_SYMM map
14164 .quant8SymmOperands = {},
14165 }
14166 },
14167 }, // End of an example
14168 // Begin of an example
14169 {
14170 .operands = {
14171 //Input(s)
14172 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14173 // int -> Dimensions map
14174 .operandDimensions = {{0, {1, 8, 8, 3}}},
14175 // int -> FLOAT32 map
14176 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
14177 // int -> INT32 map
14178 .int32Operands = {},
14179 // int -> QUANT8_ASYMM map
14180 .quant8AsymmOperands = {},
14181 // int -> QUANT16_SYMM map
14182 .quant16SymmOperands = {},
14183 // int -> FLOAT16 map
14184 .float16Operands = {},
14185 // int -> BOOL8 map
14186 .bool8Operands = {},
14187 // int -> QUANT8_SYMM_PER_CHANNEL map
14188 .quant8ChannelOperands = {},
14189 // int -> QUANT16_ASYMM map
14190 .quant16AsymmOperands = {},
14191 // int -> QUANT8_SYMM map
14192 .quant8SymmOperands = {},
14193 },
14194 //Output(s)
14195 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14196 // int -> Dimensions map
14197 .operandDimensions = {{0, {1, 6, 7, 3}}},
14198 // int -> FLOAT32 map
14199 .float32Operands = {{0, {1.06709f, -1.16534f, 1.52694f, -0.797245f, 0.802736f, -0.997109f, 2.2661f, -1.45548f, 2.15506f, -1.33682f, 1.15225f, -3.09324f, 0.943457f, 0.885211f, 0.987944f, -0.345875f, -0.114708f, 1.7107f, 0.104745f, 0.828324f, -2.49964f, -0.489415f, 1.74889f, -0.378257f, -2.10237f, 0.613022f, -2.5225f, -0.746785f, 3.63816f, -1.9287f, 0.774279f, -0.613917f, -0.650011f, 1.03753f, -0.177923f, 0.891815f, -1.00373f, 1.83859f, -1.59239f, -0.0662623f, 0.218806f, -1.088f, 3.04734f, -1.57302f, 1.10881f, -0.980369f, -3.85305f, -0.955859f, 1.64909f, 2.33573f, 0.31144f, -0.594375f, 0.325747f, -0.952566f, -0.613449f, 2.85073f, 1.94692f, 1.12977f, 1.1351f, -0.449652f, 0.118765f, -0.199547f, 2.873f, 1.38049f, 2.38342f, 0.882321f, 1.03795f, -0.321571f, -2.60202f, -1.6372f, 1.09302f, 0.461768f, 1.8485f, -0.158928f, 4.28871f, -0.437375f, -1.5794f, 1.59869f, 0.0811864f, 0.912054f, 0.452176f, 2.01812f, 2.62907f, 1.50304f, 0.609824f, -0.11105f, 3.35635f, 2.02386f, 1.4687f, -0.708365f, -0.508992f, -3.02602f, -0.75725f, 1.85277f, 2.92817f, -0.172997f, -1.13279f, -0.355636f, -0.337669f, -0.588752f, 2.05759f, 1.0651f, 0.884758f, -0.0712112f, 3.81319f, -2.19264f, 0.114521f, 0.543556f, -1.63197f, -0.267442f, 1.15701f, -2.37862f, 2.57646f, 0.531208f, 0.9499f, -0.231441f, 1.51461f, 1.58888f, 0.895931f, -0.753084f, 0.545251f, 0.746904f, 0.0129939f, -0.790398f, -1.1055f, 1.77789f}}},
14200 // int -> INT32 map
14201 .int32Operands = {},
14202 // int -> QUANT8_ASYMM map
14203 .quant8AsymmOperands = {},
14204 // int -> QUANT16_SYMM map
14205 .quant16SymmOperands = {},
14206 // int -> FLOAT16 map
14207 .float16Operands = {},
14208 // int -> BOOL8 map
14209 .bool8Operands = {},
14210 // int -> QUANT8_SYMM_PER_CHANNEL map
14211 .quant8ChannelOperands = {},
14212 // int -> QUANT16_ASYMM map
14213 .quant16AsymmOperands = {},
14214 // int -> QUANT8_SYMM map
14215 .quant8SymmOperands = {},
14216 }
14217 },
14218 }, // End of an example
14219 };
14220 return examples_3_H3_W2_VALID_dynamic_output_shape_nhwc;
14221 };
14222
get_examples_3_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed()14223 std::vector<MixedTypedExample>& get_examples_3_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed() {
14224 static std::vector<MixedTypedExample> examples_3_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed = {
14225 // Begin of an example
14226 {
14227 .operands = {
14228 //Input(s)
14229 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14230 // int -> Dimensions map
14231 .operandDimensions = {{0, {1, 8, 8, 3}}},
14232 // int -> FLOAT32 map
14233 .float32Operands = {{0, {-0.869931f, 0.644628f, -0.918393f, 0.153672f, 0.868562f, -0.358177f, -0.134931f, -0.247565f, 0.22174f, -0.259157f, -0.284296f, -0.538065f, 0.765559f, 0.41986f, -0.556241f, 0.658494f, 0.214355f, -0.850169f, -0.252893f, -0.478935f, 0.530526f, -0.0700663f, -0.988729f, -0.303061f, 0.150845f, 0.829915f, 0.476349f, 0.406537f, -0.355343f, 0.757145f, -0.356362f, 0.800482f, -0.713861f, 0.210483f, -0.634303f, 0.718236f, -0.752038f, 0.457547f, -0.550769f, -0.551178f, 0.446766f, -0.227462f, 0.216348f, -0.852806f, -0.351486f, 0.55906f, -0.668493f, -0.303493f, -0.363763f, -0.162837f, 0.0701012f, 0.756097f, -0.142269f, 0.329724f, -0.656317f, -0.998086f, -0.652949f, -0.40316f, -0.893682f, 0.432744f, 0.612362f, -0.869588f, -0.71327f, -0.398092f, -0.0423559f, 0.436576f, -0.925272f, 0.176549f, 0.822904f, 0.096833f, -0.296802f, -0.427195f, 0.031654f, -0.254479f, 0.244905f, 0.0948254f, 0.643769f, -0.90391f, 0.352665f, -0.901179f, 0.266159f, -0.968068f, -0.615401f, -0.388975f, 0.939052f, -0.116289f, 0.107523f, -0.0582711f, 0.435172f, 0.334675f, 0.459711f, 0.717436f, 0.496627f, -0.680175f, -0.415066f, 0.339848f, 0.506004f, -0.337808f, -0.107218f, -0.172496f, 0.870638f, 0.931872f, -0.953884f, 0.903042f, 0.760078f, 0.209727f, -0.285384f, -0.45514f, 0.113194f, 0.0756611f, 0.0924435f, -0.472863f, 0.960609f, -0.160385f, -0.839445f, 0.457097f, 0.163348f, 0.344867f, -0.131619f, 0.688715f, -0.540827f, 0.571259f, -0.95587f, 0.506164f, -0.155839f, 0.0789621f, 0.756772f, -0.662069f, 0.242908f, 0.460821f, 0.177872f, -0.289839f, -0.640603f, 0.702598f, -0.506406f, -0.568262f, -0.0713716f, 0.413792f, 0.159673f, -0.305208f, 0.133816f, -0.160254f, 0.787323f, -0.753244f, 0.600721f, 0.263186f, -0.162387f, 0.477962f, -0.702951f, -0.731036f, -0.939481f, -0.524519f, 0.934072f, -0.511637f, -0.503499f, 0.106236f, -0.323684f, 0.534444f, -0.843745f, 0.364171f, 0.0370358f, -0.168801f, -0.404559f, -0.814178f, 0.91745f, -0.334276f, 0.66925f, -0.801201f, 0.156511f, -0.427949f, 0.379153f, 0.818597f, -0.649902f, 0.427087f, -0.586015f, -0.559789f, -0.833923f, 0.0892409f, -0.621251f, 0.213826f, 0.465509f, 0.4704f, 0.380261f, 0.413067f, 0.180822f, 0.172866f, 0.59614f, 0.825575f, 0.662916f, -0.704381f, -0.297631f, 0.697778f}}},
14234 // int -> INT32 map
14235 .int32Operands = {},
14236 // int -> QUANT8_ASYMM map
14237 .quant8AsymmOperands = {},
14238 // int -> QUANT16_SYMM map
14239 .quant16SymmOperands = {},
14240 // int -> FLOAT16 map
14241 .float16Operands = {},
14242 // int -> BOOL8 map
14243 .bool8Operands = {},
14244 // int -> QUANT8_SYMM_PER_CHANNEL map
14245 .quant8ChannelOperands = {},
14246 // int -> QUANT16_ASYMM map
14247 .quant16AsymmOperands = {},
14248 // int -> QUANT8_SYMM map
14249 .quant8SymmOperands = {},
14250 },
14251 //Output(s)
14252 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14253 // int -> Dimensions map
14254 .operandDimensions = {{0, {1, 6, 7, 3}}},
14255 // int -> FLOAT32 map
14256 .float32Operands = {{0, {-0.186842f, -1.87308f, 1.21135f, -0.385009f, 1.72032f, -1.56036f, -1.23059f, 1.23694f, 0.00200015f, 0.359522f, 1.60084f, 0.434006f, -0.282945f, 2.37292f, -1.28653f, 0.0847837f, -0.352093f, -2.39659f, 0.149246f, 0.920351f, -1.34346f, 0.484796f, -1.19989f, -0.684298f, -1.41301f, 0.103177f, -0.307039f, 1.17741f, 2.58936f, -2.76237f, -1.21565f, -1.09619f, 1.17432f, 0.512143f, 0.771379f, 0.399879f, -0.0533093f, 0.290864f, 0.95563f, 1.16328f, 1.80768f, -1.52564f, 1.2248f, 0.237127f, -0.213297f, -0.619941f, 0.497944f, -1.68688f, 1.59314f, -0.127337f, 0.111419f, 1.13719f, 1.68537f, -0.479644f, 1.18608f, -2.52744f, 1.34136f, 0.548297f, -2.0838f, 2.64585f, -0.993354f, 0.128238f, 1.26092f, -0.629126f, -0.949229f, 2.25828f, -1.961f, 0.00589599f, -0.187854f, -1.02403f, 0.396121f, 1.3704f, 3.99355f, 0.434221f, 0.274464f, -0.562438f, -0.914871f, 0.539129f, -0.928687f, 0.834954f, 0.844178f, -0.566053f, -0.957341f, 0.933336f, -0.414666f, -0.452821f, -0.706006f, -1.72657f, -0.726574f, -0.0979362f, -0.478669f, 1.78703f, -0.639288f, 1.48565f, -0.179904f, 1.01003f, -0.317118f, -0.675387f, 1.90969f, -1.38343f, 0.697255f, -0.292255f, 1.81634f, 0.717801f, 0.862479f, -0.481893f, -0.135565f, -2.95941f, 0.247846f, 2.67757f, -2.23999f, -0.519673f, 0.254447f, 0.415283f, -1.01065f, 0.507911f, 0.979926f, -0.184304f, -0.000950437f, -0.734348f, -0.196685f, -0.713241f, 0.594972f, 0.0845044f, 2.48496f, 0.385019f}}},
14257 // int -> INT32 map
14258 .int32Operands = {},
14259 // int -> QUANT8_ASYMM map
14260 .quant8AsymmOperands = {},
14261 // int -> QUANT16_SYMM map
14262 .quant16SymmOperands = {},
14263 // int -> FLOAT16 map
14264 .float16Operands = {},
14265 // int -> BOOL8 map
14266 .bool8Operands = {},
14267 // int -> QUANT8_SYMM_PER_CHANNEL map
14268 .quant8ChannelOperands = {},
14269 // int -> QUANT16_ASYMM map
14270 .quant16AsymmOperands = {},
14271 // int -> QUANT8_SYMM map
14272 .quant8SymmOperands = {},
14273 }
14274 },
14275 }, // End of an example
14276 // Begin of an example
14277 {
14278 .operands = {
14279 //Input(s)
14280 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14281 // int -> Dimensions map
14282 .operandDimensions = {{0, {1, 8, 8, 3}}},
14283 // int -> FLOAT32 map
14284 .float32Operands = {{0, {-0.295335f, -0.00387601f, -0.552251f, 0.166084f, -0.28482f, -0.152143f, -0.719885f, -0.869386f, -0.745598f, 0.823947f, 0.473183f, -0.331337f, 0.187631f, 0.0426571f, -0.826897f, -0.755085f, -0.472453f, -0.0233656f, 0.0483436f, 0.933418f, -0.961974f, 0.0125783f, 0.219742f, 0.342604f, -0.15166f, 0.0934905f, 0.783221f, 0.129664f, 0.838844f, -0.271388f, 0.924519f, 0.342843f, 0.274418f, 0.350817f, 0.841638f, -0.543993f, -0.00283395f, -0.128467f, -0.682943f, -0.319117f, 0.84634f, 0.283003f, 0.32865f, 0.0293755f, -0.0335696f, 0.591266f, -0.0743476f, -0.741271f, 0.462056f, -0.583625f, -0.590183f, 0.6234f, 0.535269f, -0.670818f, -0.955642f, -0.770173f, 0.479986f, 0.664377f, 0.399445f, -0.968874f, -0.276263f, -0.901951f, 0.544104f, -0.958981f, 0.482658f, -0.807284f, 0.305369f, -0.947818f, 0.827498f, -0.382887f, -0.805741f, -0.796678f, -0.299804f, -0.229828f, 0.818783f, -0.103055f, -0.45568f, -0.227827f, 0.543743f, -0.96073f, 0.946747f, -0.857182f, -0.96426f, -0.292411f, -0.715614f, 0.765278f, -0.475043f, -0.590142f, -0.238507f, 0.673002f, -0.473357f, -0.319626f, 0.936014f, 0.486607f, 0.580844f, 0.425352f, -0.800994f, 0.290763f, -0.494953f, -0.441162f, 0.718677f, -0.828427f, 0.96965f, 7.53637e-05f, -0.699973f, -0.526886f, -0.352682f, 0.799466f, 0.332789f, 0.723389f, 0.407659f, -0.934084f, -0.284705f, 0.961484f, -0.700395f, -0.985808f, -0.595342f, -0.691721f, 0.49448f, -0.0842649f, 0.0390966f, 0.298938f, -0.128094f, -0.97158f, 0.86393f, 0.270606f, -0.468986f, -0.256605f, 0.47215f, -0.273117f, -0.590343f, -0.826529f, -0.725381f, -0.194821f, -0.259661f, -0.0949207f, -0.180302f, 0.0446834f, -0.222133f, -0.40393f, 0.295772f, -0.92949f, 0.580079f, -0.169856f, 0.330311f, 0.0173551f, -0.635823f, 0.475942f, 0.907175f, 0.242777f, -0.512208f, 0.362463f, 0.0496289f, 0.65171f, 0.990057f, 0.690733f, -0.469013f, -0.101311f, -0.68372f, -0.157841f, -0.677711f, -0.708224f, -0.659437f, -0.407607f, 0.677033f, 0.89032f, 0.228307f, -0.749514f, 0.772958f, 0.054701f, 0.551705f, 0.917052f, -0.895022f, -0.702397f, 0.484142f, 0.108648f, 0.833347f, 0.478872f, -0.984112f, 0.387176f, -0.73299f, 0.7526f, 0.443312f, -0.0987856f, 0.125415f, 0.10876f, -0.498108f, 0.43209f, 0.344609f, 0.928941f, -0.130732f, -0.0569167f}}},
14285 // int -> INT32 map
14286 .int32Operands = {},
14287 // int -> QUANT8_ASYMM map
14288 .quant8AsymmOperands = {},
14289 // int -> QUANT16_SYMM map
14290 .quant16SymmOperands = {},
14291 // int -> FLOAT16 map
14292 .float16Operands = {},
14293 // int -> BOOL8 map
14294 .bool8Operands = {},
14295 // int -> QUANT8_SYMM_PER_CHANNEL map
14296 .quant8ChannelOperands = {},
14297 // int -> QUANT16_ASYMM map
14298 .quant16AsymmOperands = {},
14299 // int -> QUANT8_SYMM map
14300 .quant8SymmOperands = {},
14301 },
14302 //Output(s)
14303 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14304 // int -> Dimensions map
14305 .operandDimensions = {{0, {1, 6, 7, 3}}},
14306 // int -> FLOAT32 map
14307 .float32Operands = {{0, {1.06709f, -1.16534f, 1.52694f, -0.797245f, 0.802736f, -0.997109f, 2.2661f, -1.45548f, 2.15506f, -1.33682f, 1.15225f, -3.09324f, 0.943457f, 0.885211f, 0.987944f, -0.345875f, -0.114708f, 1.7107f, 0.104745f, 0.828324f, -2.49964f, -0.489415f, 1.74889f, -0.378257f, -2.10237f, 0.613022f, -2.5225f, -0.746785f, 3.63816f, -1.9287f, 0.774279f, -0.613917f, -0.650011f, 1.03753f, -0.177923f, 0.891815f, -1.00373f, 1.83859f, -1.59239f, -0.0662623f, 0.218806f, -1.088f, 3.04734f, -1.57302f, 1.10881f, -0.980369f, -3.85305f, -0.955859f, 1.64909f, 2.33573f, 0.31144f, -0.594375f, 0.325747f, -0.952566f, -0.613449f, 2.85073f, 1.94692f, 1.12977f, 1.1351f, -0.449652f, 0.118765f, -0.199547f, 2.873f, 1.38049f, 2.38342f, 0.882321f, 1.03795f, -0.321571f, -2.60202f, -1.6372f, 1.09302f, 0.461768f, 1.8485f, -0.158928f, 4.28871f, -0.437375f, -1.5794f, 1.59869f, 0.0811864f, 0.912054f, 0.452176f, 2.01812f, 2.62907f, 1.50304f, 0.609824f, -0.11105f, 3.35635f, 2.02386f, 1.4687f, -0.708365f, -0.508992f, -3.02602f, -0.75725f, 1.85277f, 2.92817f, -0.172997f, -1.13279f, -0.355636f, -0.337669f, -0.588752f, 2.05759f, 1.0651f, 0.884758f, -0.0712112f, 3.81319f, -2.19264f, 0.114521f, 0.543556f, -1.63197f, -0.267442f, 1.15701f, -2.37862f, 2.57646f, 0.531208f, 0.9499f, -0.231441f, 1.51461f, 1.58888f, 0.895931f, -0.753084f, 0.545251f, 0.746904f, 0.0129939f, -0.790398f, -1.1055f, 1.77789f}}},
14308 // int -> INT32 map
14309 .int32Operands = {},
14310 // int -> QUANT8_ASYMM map
14311 .quant8AsymmOperands = {},
14312 // int -> QUANT16_SYMM map
14313 .quant16SymmOperands = {},
14314 // int -> FLOAT16 map
14315 .float16Operands = {},
14316 // int -> BOOL8 map
14317 .bool8Operands = {},
14318 // int -> QUANT8_SYMM_PER_CHANNEL map
14319 .quant8ChannelOperands = {},
14320 // int -> QUANT16_ASYMM map
14321 .quant16AsymmOperands = {},
14322 // int -> QUANT8_SYMM map
14323 .quant8SymmOperands = {},
14324 }
14325 },
14326 }, // End of an example
14327 };
14328 return examples_3_H3_W2_VALID_dynamic_output_shape_nhwc_relaxed;
14329 };
14330
get_examples_3_H3_W2_VALID_dynamic_output_shape_nhwc_float16()14331 std::vector<MixedTypedExample>& get_examples_3_H3_W2_VALID_dynamic_output_shape_nhwc_float16() {
14332 static std::vector<MixedTypedExample> examples_3_H3_W2_VALID_dynamic_output_shape_nhwc_float16 = {
14333 // Begin of an example
14334 {
14335 .operands = {
14336 //Input(s)
14337 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14338 // int -> Dimensions map
14339 .operandDimensions = {{0, {1, 8, 8, 3}}},
14340 // int -> FLOAT32 map
14341 .float32Operands = {},
14342 // int -> INT32 map
14343 .int32Operands = {},
14344 // int -> QUANT8_ASYMM map
14345 .quant8AsymmOperands = {},
14346 // int -> QUANT16_SYMM map
14347 .quant16SymmOperands = {},
14348 // int -> FLOAT16 map
14349 .float16Operands = {{0, {-0.8699309825897217f, 0.6446279883384705f, -0.9183930158615112f, 0.153671994805336f, 0.8685619831085205f, -0.3581770062446594f, -0.13493099808692932f, -0.24756500124931335f, 0.2217400074005127f, -0.2591570019721985f, -0.2842960059642792f, -0.5380650162696838f, 0.7655590176582336f, 0.41986000537872314f, -0.556240975856781f, 0.6584939956665039f, 0.214355006814003f, -0.8501690030097961f, -0.25289300084114075f, -0.47893500328063965f, 0.5305259823799133f, -0.07006630301475525f, -0.9887290000915527f, -0.30306100845336914f, 0.150845006108284f, 0.8299149870872498f, 0.47634899616241455f, 0.4065369963645935f, -0.3553430140018463f, 0.7571449875831604f, -0.356361985206604f, 0.8004819750785828f, -0.7138609886169434f, 0.21048299968242645f, -0.6343029737472534f, 0.7182360291481018f, -0.7520380020141602f, 0.45754700899124146f, -0.5507689714431763f, -0.551177978515625f, 0.4467659890651703f, -0.22746199369430542f, 0.21634800732135773f, -0.8528059720993042f, -0.3514859974384308f, 0.5590599775314331f, -0.6684929728507996f, -0.3034929931163788f, -0.3637630045413971f, -0.16283699870109558f, 0.07010120153427124f, 0.7560970187187195f, -0.14226900041103363f, 0.3297240138053894f, -0.6563169956207275f, -0.9980859756469727f, -0.6529489755630493f, -0.4031600058078766f, -0.8936820030212402f, 0.43274399638175964f, 0.6123620271682739f, -0.8695880174636841f, -0.7132700085639954f, -0.39809200167655945f, -0.04235589876770973f, 0.4365760087966919f, -0.9252719879150391f, 0.1765490025281906f, 0.8229039907455444f, 0.0968329980969429f, -0.29680201411247253f, -0.4271950125694275f, 0.0316540002822876f, -0.25447899103164673f, 0.2449049949645996f, 0.09482540190219879f, 0.6437690258026123f, -0.9039099812507629f, 0.3526650071144104f, -0.9011790156364441f, 0.2661589980125427f, -0.96806800365448f, -0.615401029586792f, -0.38897499442100525f, 0.9390519857406616f, -0.11628899723291397f, 0.10752300173044205f, -0.058271098881959915f, 0.4351719915866852f, 0.33467501401901245f, 0.4597109854221344f, 0.7174360156059265f, 0.49662700295448303f, -0.6801750063896179f, -0.4150660037994385f, 0.33984801173210144f, 0.5060039758682251f, -0.3378080129623413f, -0.10721799731254578f, -0.1724960058927536f, 0.8706380128860474f, 0.9318720102310181f, -0.9538840055465698f, 0.9030420184135437f, 0.7600780129432678f, 0.20972700417041779f, -0.28538399934768677f, -0.45513999462127686f, 0.11319400370121002f, 0.07566110044717789f, 0.09244350343942642f, -0.47286298871040344f, 0.9606090188026428f, -0.16038499772548676f, -0.8394449949264526f, 0.45709699392318726f, 0.1633480042219162f, 0.3448669910430908f, -0.13161900639533997f, 0.6887149810791016f, -0.5408269762992859f, 0.5712590217590332f, -0.9558699727058411f, 0.506164014339447f, -0.1558389961719513f, 0.07896210253238678f, 0.756771981716156f, -0.6620690226554871f, 0.24290800094604492f, 0.4608210027217865f, 0.17787200212478638f, -0.2898389995098114f, -0.6406030058860779f, 0.702597975730896f, -0.5064060091972351f, -0.568261981010437f, -0.07137160003185272f, 0.4137920141220093f, 0.15967300534248352f, -0.3052079975605011f, 0.13381600379943848f, -0.16025400161743164f, 0.787322998046875f, -0.7532439827919006f, 0.600721001625061f, 0.2631860077381134f, -0.16238699853420258f, 0.4779619872570038f, -0.7029510140419006f, -0.7310360074043274f, -0.9394810199737549f, -0.5245190262794495f, 0.9340720176696777f, -0.5116369724273682f, -0.5034989714622498f, 0.10623600333929062f, -0.3236840069293976f, 0.5344439744949341f, -0.8437449932098389f, 0.36417099833488464f, 0.03703580051660538f, -0.16880099475383759f, -0.4045589864253998f, -0.8141779899597168f, 0.9174500107765198f, -0.3342759907245636f, 0.6692500114440918f, -0.8012009859085083f, 0.15651099383831024f, -0.4279490113258362f, 0.3791530132293701f, 0.8185970187187195f, -0.6499019861221313f, 0.4270870089530945f, -0.586014986038208f, -0.5597890019416809f, -0.8339229822158813f, 0.0892409011721611f, -0.6212509870529175f, 0.2138260006904602f, 0.46550899744033813f, 0.47040000557899475f, 0.38026100397109985f, 0.4130670130252838f, 0.1808219999074936f, 0.17286600172519684f, 0.5961400270462036f, 0.8255749940872192f, 0.6629160046577454f, -0.704380989074707f, -0.29763099551200867f, 0.6977779865264893f}}},
14350 // int -> BOOL8 map
14351 .bool8Operands = {},
14352 // int -> QUANT8_SYMM_PER_CHANNEL map
14353 .quant8ChannelOperands = {},
14354 // int -> QUANT16_ASYMM map
14355 .quant16AsymmOperands = {},
14356 // int -> QUANT8_SYMM map
14357 .quant8SymmOperands = {},
14358 },
14359 //Output(s)
14360 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14361 // int -> Dimensions map
14362 .operandDimensions = {{0, {1, 6, 7, 3}}},
14363 // int -> FLOAT32 map
14364 .float32Operands = {},
14365 // int -> INT32 map
14366 .int32Operands = {},
14367 // int -> QUANT8_ASYMM map
14368 .quant8AsymmOperands = {},
14369 // int -> QUANT16_SYMM map
14370 .quant16SymmOperands = {},
14371 // int -> FLOAT16 map
14372 .float16Operands = {{0, {-0.18684199452400208f, -1.8730800151824951f, 1.2113499641418457f, -0.3850089907646179f, 1.7203199863433838f, -1.5603599548339844f, -1.2305899858474731f, 1.2369400262832642f, 0.0020001500379294157f, 0.3595220148563385f, 1.6008399724960327f, 0.434006005525589f, -0.28294500708580017f, 2.372920036315918f, -1.2865300178527832f, 0.08478370308876038f, -0.35209301114082336f, -2.396589994430542f, 0.1492460072040558f, 0.9203510284423828f, -1.343459963798523f, 0.4847959876060486f, -1.1998900175094604f, -0.6842979788780212f, -1.4130100011825562f, 0.10317700356245041f, -0.3070389926433563f, 1.1774100065231323f, 2.589359998703003f, -2.7623701095581055f, -1.215649962425232f, -1.0961899757385254f, 1.1743199825286865f, 0.5121430158615112f, 0.7713789939880371f, 0.39987900853157043f, -0.05330929905176163f, 0.2908639907836914f, 0.9556300044059753f, 1.1632800102233887f, 1.8076800107955933f, -1.5256400108337402f, 1.2247999906539917f, 0.23712700605392456f, -0.21329699456691742f, -0.619940996170044f, 0.4979439973831177f, -1.6868799924850464f, 1.5931400060653687f, -0.1273369938135147f, 0.11141899973154068f, 1.1371899843215942f, 1.6853699684143066f, -0.4796440005302429f, 1.186079978942871f, -2.527440071105957f, 1.3413599729537964f, 0.5482969880104065f, -2.0838000774383545f, 2.6458499431610107f, -0.9933540225028992f, 0.1282380074262619f, 1.2609200477600098f, -0.6291260123252869f, -0.9492290019989014f, 2.258280038833618f, -1.9609999656677246f, 0.0058959899470210075f, -0.18785400688648224f, -1.0240299701690674f, 0.39612099528312683f, 1.3703999519348145f, 3.9935500621795654f, 0.4342209994792938f, 0.2744640111923218f, -0.5624380111694336f, -0.9148709774017334f, 0.5391290187835693f, -0.9286869764328003f, 0.834954023361206f, 0.8441780209541321f, -0.5660529732704163f, -0.9573410153388977f, 0.9333360195159912f, -0.41466599702835083f, -0.4528209865093231f, -0.7060059905052185f, -1.7265700101852417f, -0.7265740036964417f, -0.09793619811534882f, -0.4786689877510071f, 1.7870299816131592f, -0.6392880082130432f, 1.4856499433517456f, -0.1799039989709854f, 1.0100300312042236f, -0.31711798906326294f, -0.6753870248794556f, 1.909690022468567f, -1.383430004119873f, 0.69725501537323f, -0.2922550141811371f, 1.8163399696350098f, 0.7178009748458862f, 0.8624789714813232f, -0.48189300298690796f, -0.13556499779224396f, -2.9594099521636963f, 0.24784600734710693f, 2.677570104598999f, -2.239989995956421f, -0.5196729898452759f, 0.25444701313972473f, 0.4152829945087433f, -1.0106500387191772f, 0.5079110264778137f, 0.9799259901046753f, -0.18430399894714355f, -0.0009504369809292257f, -0.7343479990959167f, -0.19668500125408173f, -0.7132409811019897f, 0.5949720144271851f, 0.08450440317392349f, 2.4849600791931152f, 0.3850190043449402f}}},
14373 // int -> BOOL8 map
14374 .bool8Operands = {},
14375 // int -> QUANT8_SYMM_PER_CHANNEL map
14376 .quant8ChannelOperands = {},
14377 // int -> QUANT16_ASYMM map
14378 .quant16AsymmOperands = {},
14379 // int -> QUANT8_SYMM map
14380 .quant8SymmOperands = {},
14381 }
14382 },
14383 }, // End of an example
14384 // Begin of an example
14385 {
14386 .operands = {
14387 //Input(s)
14388 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14389 // int -> Dimensions map
14390 .operandDimensions = {{0, {1, 8, 8, 3}}},
14391 // int -> FLOAT32 map
14392 .float32Operands = {},
14393 // int -> INT32 map
14394 .int32Operands = {},
14395 // int -> QUANT8_ASYMM map
14396 .quant8AsymmOperands = {},
14397 // int -> QUANT16_SYMM map
14398 .quant16SymmOperands = {},
14399 // int -> FLOAT16 map
14400 .float16Operands = {{0, {-0.29533499479293823f, -0.0038760099560022354f, -0.5522509813308716f, 0.16608400642871857f, -0.28481999039649963f, -0.15214300155639648f, -0.719884991645813f, -0.8693860173225403f, -0.7455980181694031f, 0.823947012424469f, 0.4731830060482025f, -0.33133700489997864f, 0.18763099610805511f, 0.04265709966421127f, -0.8268970251083374f, -0.7550849914550781f, -0.4724529981613159f, -0.023365600034594536f, 0.04834359884262085f, 0.9334179759025574f, -0.961974024772644f, 0.012578300200402737f, 0.21974200010299683f, 0.34260401129722595f, -0.1516599953174591f, 0.09349049627780914f, 0.7832210063934326f, 0.12966400384902954f, 0.8388440012931824f, -0.2713879942893982f, 0.9245190024375916f, 0.3428429961204529f, 0.2744179964065552f, 0.3508169949054718f, 0.8416380286216736f, -0.5439929962158203f, -0.002833950100466609f, -0.12846699357032776f, -0.6829429864883423f, -0.31911700963974f, 0.846340000629425f, 0.2830030024051666f, 0.32864999771118164f, 0.029375499114394188f, -0.03356960043311119f, 0.5912659764289856f, -0.0743476003408432f, -0.7412710189819336f, 0.4620560109615326f, -0.5836250185966492f, -0.5901830196380615f, 0.6233999729156494f, 0.535269021987915f, -0.6708179712295532f, -0.9556419849395752f, -0.7701730132102966f, 0.4799860119819641f, 0.664376974105835f, 0.3994449973106384f, -0.9688739776611328f, -0.2762629985809326f, -0.901951014995575f, 0.5441039800643921f, -0.9589809775352478f, 0.4826579988002777f, -0.8072839975357056f, 0.30536898970603943f, -0.9478179812431335f, 0.8274980187416077f, -0.38288700580596924f, -0.805741012096405f, -0.7966780066490173f, -0.2998040020465851f, -0.22982800006866455f, 0.8187829852104187f, -0.10305500030517578f, -0.4556800127029419f, -0.22782699763774872f, 0.5437430143356323f, -0.9607300162315369f, 0.9467470049858093f, -0.8571820259094238f, -0.9642599821090698f, -0.2924109995365143f, -0.7156140208244324f, 0.7652779817581177f, -0.47504299879074097f, -0.590142011642456f, -0.2385070025920868f, 0.6730020046234131f, -0.4733569920063019f, -0.31962600350379944f, 0.9360139966011047f, 0.48660698533058167f, 0.580843985080719f, 0.42535200715065f, -0.8009939789772034f, 0.2907629907131195f, -0.4949530065059662f, -0.44116199016571045f, 0.7186769843101501f, -0.8284270167350769f, 0.9696499705314636f, 7.536369957961142e-05f, -0.6999729871749878f, -0.526885986328125f, -0.3526819944381714f, 0.7994660139083862f, 0.33278900384902954f, 0.7233890295028687f, 0.40765899419784546f, -0.9340839982032776f, -0.2847050130367279f, 0.9614840149879456f, -0.7003949880599976f, -0.9858080148696899f, -0.5953419804573059f, -0.6917210221290588f, 0.4944800138473511f, -0.08426489681005478f, 0.03909660130739212f, 0.29893800616264343f, -0.12809400260448456f, -0.9715800285339355f, 0.8639299869537354f, 0.27060601115226746f, -0.46898600459098816f, -0.25660499930381775f, 0.4721499979496002f, -0.2731170058250427f, -0.5903429985046387f, -0.8265290260314941f, -0.7253810167312622f, -0.19482100009918213f, -0.2596609890460968f, -0.09492070227861404f, -0.1803019940853119f, 0.04468340054154396f, -0.22213299572467804f, -0.40393000841140747f, 0.295771986246109f, -0.9294899702072144f, 0.5800790190696716f, -0.169855996966362f, 0.33031100034713745f, 0.017355099320411682f, -0.6358230113983154f, 0.4759419858455658f, 0.9071750044822693f, 0.2427770048379898f, -0.5122079849243164f, 0.36246299743652344f, 0.04962889850139618f, 0.6517099738121033f, 0.9900569915771484f, 0.690733015537262f, -0.4690130054950714f, -0.10131099820137024f, -0.6837199926376343f, -0.15784099698066711f, -0.677711009979248f, -0.7082239985466003f, -0.6594370007514954f, -0.40760698914527893f, 0.677033007144928f, 0.8903200030326843f, 0.22830699384212494f, -0.7495139837265015f, 0.772957980632782f, 0.054701000452041626f, 0.551705002784729f, 0.9170519709587097f, -0.8950219750404358f, -0.7023969888687134f, 0.484142005443573f, 0.10864800214767456f, 0.8333470225334167f, 0.47887200117111206f, -0.984112024307251f, 0.3871760070323944f, -0.732990026473999f, 0.7526000142097473f, 0.44331198930740356f, -0.09878560155630112f, 0.12541499733924866f, 0.10875999927520752f, -0.49810799956321716f, 0.43209001421928406f, 0.34460899233818054f, 0.928941011428833f, -0.130731999874115f, -0.056916698813438416f}}},
14401 // int -> BOOL8 map
14402 .bool8Operands = {},
14403 // int -> QUANT8_SYMM_PER_CHANNEL map
14404 .quant8ChannelOperands = {},
14405 // int -> QUANT16_ASYMM map
14406 .quant16AsymmOperands = {},
14407 // int -> QUANT8_SYMM map
14408 .quant8SymmOperands = {},
14409 },
14410 //Output(s)
14411 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14412 // int -> Dimensions map
14413 .operandDimensions = {{0, {1, 6, 7, 3}}},
14414 // int -> FLOAT32 map
14415 .float32Operands = {},
14416 // int -> INT32 map
14417 .int32Operands = {},
14418 // int -> QUANT8_ASYMM map
14419 .quant8AsymmOperands = {},
14420 // int -> QUANT16_SYMM map
14421 .quant16SymmOperands = {},
14422 // int -> FLOAT16 map
14423 .float16Operands = {{0, {1.0670900344848633f, -1.1653399467468262f, 1.5269399881362915f, -0.7972450256347656f, 0.8027359843254089f, -0.9971089959144592f, 2.2660999298095703f, -1.4554799795150757f, 2.155060052871704f, -1.3368200063705444f, 1.152250051498413f, -3.0932400226593018f, 0.9434570074081421f, 0.8852109909057617f, 0.9879440069198608f, -0.34587499499320984f, -0.11470799893140793f, 1.7107000350952148f, 0.10474500060081482f, 0.828324019908905f, -2.4996399879455566f, -0.4894149899482727f, 1.7488900423049927f, -0.37825700640678406f, -2.102370023727417f, 0.6130220293998718f, -2.5225000381469727f, -0.7467849850654602f, 3.638159990310669f, -1.9286999702453613f, 0.774278998374939f, -0.6139169931411743f, -0.6500110030174255f, 1.0375299453735352f, -0.17792299389839172f, 0.8918150067329407f, -1.003730058670044f, 1.8385900259017944f, -1.5923899412155151f, -0.06626229733228683f, 0.21880599856376648f, -1.0880000591278076f, 3.047339916229248f, -1.5730199813842773f, 1.1088099479675293f, -0.980368971824646f, -3.8530499935150146f, -0.9558590054512024f, 1.649090051651001f, 2.3357300758361816f, 0.31143999099731445f, -0.5943750143051147f, 0.325747013092041f, -0.9525660276412964f, -0.613448977470398f, 2.8507299423217773f, 1.9469200372695923f, 1.129770040512085f, 1.13510000705719f, -0.4496519863605499f, 0.11876499652862549f, -0.19954699277877808f, 2.872999906539917f, 1.3804899454116821f, 2.383419990539551f, 0.8823210000991821f, 1.037950038909912f, -0.3215709924697876f, -2.602020025253296f, -1.6371999979019165f, 1.093019962310791f, 0.4617680013179779f, 1.8485000133514404f, -0.1589280068874359f, 4.288710117340088f, -0.437375009059906f, -1.5793999433517456f, 1.5986900329589844f, 0.08118639886379242f, 0.9120540022850037f, 0.4521760046482086f, 2.018120050430298f, 2.6290700435638428f, 1.5030399560928345f, 0.609824001789093f, -0.11105000227689743f, 3.3563499450683594f, 2.023859977722168f, 1.4687000513076782f, -0.7083650231361389f, -0.5089920163154602f, -3.026020050048828f, -0.7572500109672546f, 1.8527699708938599f, 2.9281699657440186f, -0.17299699783325195f, -1.132789969444275f, -0.35563600063323975f, -0.3376689851284027f, -0.5887519717216492f, 2.0575900077819824f, 1.0650999546051025f, 0.8847579956054688f, -0.07121119648218155f, 3.81318998336792f, -2.1926400661468506f, 0.11452099680900574f, 0.5435559749603271f, -1.6319700479507446f, -0.267441987991333f, 1.1570099592208862f, -2.378619909286499f, 2.5764598846435547f, 0.5312079787254333f, 0.9498999714851379f, -0.23144100606441498f, 1.5146100521087646f, 1.588879942893982f, 0.8959310054779053f, -0.7530840039253235f, 0.5452510118484497f, 0.7469040155410767f, 0.01299390010535717f, -0.7903980016708374f, -1.1054999828338623f, 1.7778899669647217f}}},
14424 // int -> BOOL8 map
14425 .bool8Operands = {},
14426 // int -> QUANT8_SYMM_PER_CHANNEL map
14427 .quant8ChannelOperands = {},
14428 // int -> QUANT16_ASYMM map
14429 .quant16AsymmOperands = {},
14430 // int -> QUANT8_SYMM map
14431 .quant8SymmOperands = {},
14432 }
14433 },
14434 }, // End of an example
14435 };
14436 return examples_3_H3_W2_VALID_dynamic_output_shape_nhwc_float16;
14437 };
14438
get_examples_3_H3_W2_VALID_dynamic_output_shape_nchw()14439 std::vector<MixedTypedExample>& get_examples_3_H3_W2_VALID_dynamic_output_shape_nchw() {
14440 static std::vector<MixedTypedExample> examples_3_H3_W2_VALID_dynamic_output_shape_nchw = {
14441 // Begin of an example
14442 {
14443 .operands = {
14444 //Input(s)
14445 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14446 // int -> Dimensions map
14447 .operandDimensions = {{0, {1, 3, 8, 8}}},
14448 // int -> FLOAT32 map
14449 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
14450 // int -> INT32 map
14451 .int32Operands = {},
14452 // int -> QUANT8_ASYMM map
14453 .quant8AsymmOperands = {},
14454 // int -> QUANT16_SYMM map
14455 .quant16SymmOperands = {},
14456 // int -> FLOAT16 map
14457 .float16Operands = {},
14458 // int -> BOOL8 map
14459 .bool8Operands = {},
14460 // int -> QUANT8_SYMM_PER_CHANNEL map
14461 .quant8ChannelOperands = {},
14462 // int -> QUANT16_ASYMM map
14463 .quant16AsymmOperands = {},
14464 // int -> QUANT8_SYMM map
14465 .quant8SymmOperands = {},
14466 },
14467 //Output(s)
14468 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14469 // int -> Dimensions map
14470 .operandDimensions = {{0, {1, 3, 6, 7}}},
14471 // int -> FLOAT32 map
14472 .float32Operands = {{0, {-0.186842f, -0.385009f, -1.23059f, 0.359522f, -0.282945f, 0.0847837f, 0.149246f, 0.484796f, -1.41301f, 1.17741f, -1.21565f, 0.512143f, -0.0533093f, 1.16328f, 1.2248f, -0.619941f, 1.59314f, 1.13719f, 1.18608f, 0.548297f, -0.993354f, -0.629126f, -1.961f, -1.02403f, 3.99355f, -0.562438f, -0.928687f, -0.566053f, -0.414666f, -1.72657f, -0.478669f, 1.48565f, -0.317118f, -1.38343f, 1.81634f, -0.481893f, 0.247846f, -0.519673f, -1.01065f, -0.184304f, -0.196685f, 0.0845044f, -1.87308f, 1.72032f, 1.23694f, 1.60084f, 2.37292f, -0.352093f, 0.920351f, -1.19989f, 0.103177f, 2.58936f, -1.09619f, 0.771379f, 0.290864f, 1.80768f, 0.237127f, 0.497944f, -0.127337f, 1.68537f, -2.52744f, -2.0838f, 0.128238f, -0.949229f, 0.00589599f, 0.396121f, 0.434221f, -0.914871f, 0.834954f, -0.957341f, -0.452821f, -0.726574f, 1.78703f, -0.179904f, -0.675387f, 0.697255f, 0.717801f, -0.135565f, 2.67757f, 0.254447f, 0.507911f, -0.000950437f, -0.713241f, 2.48496f, 1.21135f, -1.56036f, 0.00200015f, 0.434006f, -1.28653f, -2.39659f, -1.34346f, -0.684298f, -0.307039f, -2.76237f, 1.17432f, 0.399879f, 0.95563f, -1.52564f, -0.213297f, -1.68688f, 0.111419f, -0.479644f, 1.34136f, 2.64585f, 1.26092f, 2.25828f, -0.187854f, 1.3704f, 0.274464f, 0.539129f, 0.844178f, 0.933336f, -0.706006f, -0.0979362f, -0.639288f, 1.01003f, 1.90969f, -0.292255f, 0.862479f, -2.95941f, -2.23999f, 0.415283f, 0.979926f, -0.734348f, 0.594972f, 0.385019f}}},
14473 // int -> INT32 map
14474 .int32Operands = {},
14475 // int -> QUANT8_ASYMM map
14476 .quant8AsymmOperands = {},
14477 // int -> QUANT16_SYMM map
14478 .quant16SymmOperands = {},
14479 // int -> FLOAT16 map
14480 .float16Operands = {},
14481 // int -> BOOL8 map
14482 .bool8Operands = {},
14483 // int -> QUANT8_SYMM_PER_CHANNEL map
14484 .quant8ChannelOperands = {},
14485 // int -> QUANT16_ASYMM map
14486 .quant16AsymmOperands = {},
14487 // int -> QUANT8_SYMM map
14488 .quant8SymmOperands = {},
14489 }
14490 },
14491 }, // End of an example
14492 // Begin of an example
14493 {
14494 .operands = {
14495 //Input(s)
14496 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14497 // int -> Dimensions map
14498 .operandDimensions = {{0, {1, 3, 8, 8}}},
14499 // int -> FLOAT32 map
14500 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
14501 // int -> INT32 map
14502 .int32Operands = {},
14503 // int -> QUANT8_ASYMM map
14504 .quant8AsymmOperands = {},
14505 // int -> QUANT16_SYMM map
14506 .quant16SymmOperands = {},
14507 // int -> FLOAT16 map
14508 .float16Operands = {},
14509 // int -> BOOL8 map
14510 .bool8Operands = {},
14511 // int -> QUANT8_SYMM_PER_CHANNEL map
14512 .quant8ChannelOperands = {},
14513 // int -> QUANT16_ASYMM map
14514 .quant16AsymmOperands = {},
14515 // int -> QUANT8_SYMM map
14516 .quant8SymmOperands = {},
14517 },
14518 //Output(s)
14519 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14520 // int -> Dimensions map
14521 .operandDimensions = {{0, {1, 3, 6, 7}}},
14522 // int -> FLOAT32 map
14523 .float32Operands = {{0, {1.06709f, -0.797245f, 2.2661f, -1.33682f, 0.943457f, -0.345875f, 0.104745f, -0.489415f, -2.10237f, -0.746785f, 0.774279f, 1.03753f, -1.00373f, -0.0662623f, 3.04734f, -0.980369f, 1.64909f, -0.594375f, -0.613449f, 1.12977f, 0.118765f, 1.38049f, 1.03795f, -1.6372f, 1.8485f, -0.437375f, 0.0811864f, 2.01812f, 0.609824f, 2.02386f, -0.508992f, 1.85277f, -1.13279f, -0.588752f, 0.884758f, -2.19264f, -1.63197f, -2.37862f, 0.9499f, 1.58888f, 0.545251f, -0.790398f, -1.16534f, 0.802736f, -1.45548f, 1.15225f, 0.885211f, -0.114708f, 0.828324f, 1.74889f, 0.613022f, 3.63816f, -0.613917f, -0.177923f, 1.83859f, 0.218806f, -1.57302f, -3.85305f, 2.33573f, 0.325747f, 2.85073f, 1.1351f, -0.199547f, 2.38342f, -0.321571f, 1.09302f, -0.158928f, -1.5794f, 0.912054f, 2.62907f, -0.11105f, 1.4687f, -3.02602f, 2.92817f, -0.355636f, 2.05759f, -0.0712112f, 0.114521f, -0.267442f, 2.57646f, -0.231441f, 0.895931f, 0.746904f, -1.1055f, 1.52694f, -0.997109f, 2.15506f, -3.09324f, 0.987944f, 1.7107f, -2.49964f, -0.378257f, -2.5225f, -1.9287f, -0.650011f, 0.891815f, -1.59239f, -1.088f, 1.10881f, -0.955859f, 0.31144f, -0.952566f, 1.94692f, -0.449652f, 2.873f, 0.882321f, -2.60202f, 0.461768f, 4.28871f, 1.59869f, 0.452176f, 1.50304f, 3.35635f, -0.708365f, -0.75725f, -0.172997f, -0.337669f, 1.0651f, 3.81319f, 0.543556f, 1.15701f, 0.531208f, 1.51461f, -0.753084f, 0.0129939f, 1.77789f}}},
14524 // int -> INT32 map
14525 .int32Operands = {},
14526 // int -> QUANT8_ASYMM map
14527 .quant8AsymmOperands = {},
14528 // int -> QUANT16_SYMM map
14529 .quant16SymmOperands = {},
14530 // int -> FLOAT16 map
14531 .float16Operands = {},
14532 // int -> BOOL8 map
14533 .bool8Operands = {},
14534 // int -> QUANT8_SYMM_PER_CHANNEL map
14535 .quant8ChannelOperands = {},
14536 // int -> QUANT16_ASYMM map
14537 .quant16AsymmOperands = {},
14538 // int -> QUANT8_SYMM map
14539 .quant8SymmOperands = {},
14540 }
14541 },
14542 }, // End of an example
14543 };
14544 return examples_3_H3_W2_VALID_dynamic_output_shape_nchw;
14545 };
14546
get_examples_3_H3_W2_VALID_dynamic_output_shape_nchw_relaxed()14547 std::vector<MixedTypedExample>& get_examples_3_H3_W2_VALID_dynamic_output_shape_nchw_relaxed() {
14548 static std::vector<MixedTypedExample> examples_3_H3_W2_VALID_dynamic_output_shape_nchw_relaxed = {
14549 // Begin of an example
14550 {
14551 .operands = {
14552 //Input(s)
14553 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14554 // int -> Dimensions map
14555 .operandDimensions = {{0, {1, 3, 8, 8}}},
14556 // int -> FLOAT32 map
14557 .float32Operands = {{0, {-0.869931f, 0.153672f, -0.134931f, -0.259157f, 0.765559f, 0.658494f, -0.252893f, -0.0700663f, 0.150845f, 0.406537f, -0.356362f, 0.210483f, -0.752038f, -0.551178f, 0.216348f, 0.55906f, -0.363763f, 0.756097f, -0.656317f, -0.40316f, 0.612362f, -0.398092f, -0.925272f, 0.096833f, 0.031654f, 0.0948254f, 0.352665f, -0.968068f, 0.939052f, -0.0582711f, 0.459711f, -0.680175f, 0.506004f, -0.172496f, -0.953884f, 0.209727f, 0.113194f, -0.472863f, -0.839445f, 0.344867f, -0.540827f, 0.506164f, 0.756772f, 0.460821f, -0.640603f, -0.568262f, 0.159673f, -0.160254f, 0.600721f, 0.477962f, -0.939481f, -0.511637f, -0.323684f, 0.364171f, -0.404559f, -0.334276f, 0.156511f, 0.818597f, -0.586015f, 0.0892409f, 0.465509f, 0.413067f, 0.59614f, -0.704381f, 0.644628f, 0.868562f, -0.247565f, -0.284296f, 0.41986f, 0.214355f, -0.478935f, -0.988729f, 0.829915f, -0.355343f, 0.800482f, -0.634303f, 0.457547f, 0.446766f, -0.852806f, -0.668493f, -0.162837f, -0.142269f, -0.998086f, -0.893682f, -0.869588f, -0.0423559f, 0.176549f, -0.296802f, -0.254479f, 0.643769f, -0.901179f, -0.615401f, -0.116289f, 0.435172f, 0.717436f, -0.415066f, -0.337808f, 0.870638f, 0.903042f, -0.285384f, 0.0756611f, 0.960609f, 0.457097f, -0.131619f, 0.571259f, -0.155839f, -0.662069f, 0.177872f, 0.702598f, -0.0713716f, -0.305208f, 0.787323f, 0.263186f, -0.702951f, -0.524519f, -0.503499f, 0.534444f, 0.0370358f, -0.814178f, 0.66925f, -0.427949f, -0.649902f, -0.559789f, -0.621251f, 0.4704f, 0.180822f, 0.825575f, -0.297631f, -0.918393f, -0.358177f, 0.22174f, -0.538065f, -0.556241f, -0.850169f, 0.530526f, -0.303061f, 0.476349f, 0.757145f, -0.713861f, 0.718236f, -0.550769f, -0.227462f, -0.351486f, -0.303493f, 0.0701012f, 0.329724f, -0.652949f, 0.432744f, -0.71327f, 0.436576f, 0.822904f, -0.427195f, 0.244905f, -0.90391f, 0.266159f, -0.388975f, 0.107523f, 0.334675f, 0.496627f, 0.339848f, -0.107218f, 0.931872f, 0.760078f, -0.45514f, 0.0924435f, -0.160385f, 0.163348f, 0.688715f, -0.95587f, 0.0789621f, 0.242908f, -0.289839f, -0.506406f, 0.413792f, 0.133816f, -0.753244f, -0.162387f, -0.731036f, 0.934072f, 0.106236f, -0.843745f, -0.168801f, 0.91745f, -0.801201f, 0.379153f, 0.427087f, -0.833923f, 0.213826f, 0.380261f, 0.172866f, 0.662916f, 0.697778f}}},
14558 // int -> INT32 map
14559 .int32Operands = {},
14560 // int -> QUANT8_ASYMM map
14561 .quant8AsymmOperands = {},
14562 // int -> QUANT16_SYMM map
14563 .quant16SymmOperands = {},
14564 // int -> FLOAT16 map
14565 .float16Operands = {},
14566 // int -> BOOL8 map
14567 .bool8Operands = {},
14568 // int -> QUANT8_SYMM_PER_CHANNEL map
14569 .quant8ChannelOperands = {},
14570 // int -> QUANT16_ASYMM map
14571 .quant16AsymmOperands = {},
14572 // int -> QUANT8_SYMM map
14573 .quant8SymmOperands = {},
14574 },
14575 //Output(s)
14576 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14577 // int -> Dimensions map
14578 .operandDimensions = {{0, {1, 3, 6, 7}}},
14579 // int -> FLOAT32 map
14580 .float32Operands = {{0, {-0.186842f, -0.385009f, -1.23059f, 0.359522f, -0.282945f, 0.0847837f, 0.149246f, 0.484796f, -1.41301f, 1.17741f, -1.21565f, 0.512143f, -0.0533093f, 1.16328f, 1.2248f, -0.619941f, 1.59314f, 1.13719f, 1.18608f, 0.548297f, -0.993354f, -0.629126f, -1.961f, -1.02403f, 3.99355f, -0.562438f, -0.928687f, -0.566053f, -0.414666f, -1.72657f, -0.478669f, 1.48565f, -0.317118f, -1.38343f, 1.81634f, -0.481893f, 0.247846f, -0.519673f, -1.01065f, -0.184304f, -0.196685f, 0.0845044f, -1.87308f, 1.72032f, 1.23694f, 1.60084f, 2.37292f, -0.352093f, 0.920351f, -1.19989f, 0.103177f, 2.58936f, -1.09619f, 0.771379f, 0.290864f, 1.80768f, 0.237127f, 0.497944f, -0.127337f, 1.68537f, -2.52744f, -2.0838f, 0.128238f, -0.949229f, 0.00589599f, 0.396121f, 0.434221f, -0.914871f, 0.834954f, -0.957341f, -0.452821f, -0.726574f, 1.78703f, -0.179904f, -0.675387f, 0.697255f, 0.717801f, -0.135565f, 2.67757f, 0.254447f, 0.507911f, -0.000950437f, -0.713241f, 2.48496f, 1.21135f, -1.56036f, 0.00200015f, 0.434006f, -1.28653f, -2.39659f, -1.34346f, -0.684298f, -0.307039f, -2.76237f, 1.17432f, 0.399879f, 0.95563f, -1.52564f, -0.213297f, -1.68688f, 0.111419f, -0.479644f, 1.34136f, 2.64585f, 1.26092f, 2.25828f, -0.187854f, 1.3704f, 0.274464f, 0.539129f, 0.844178f, 0.933336f, -0.706006f, -0.0979362f, -0.639288f, 1.01003f, 1.90969f, -0.292255f, 0.862479f, -2.95941f, -2.23999f, 0.415283f, 0.979926f, -0.734348f, 0.594972f, 0.385019f}}},
14581 // int -> INT32 map
14582 .int32Operands = {},
14583 // int -> QUANT8_ASYMM map
14584 .quant8AsymmOperands = {},
14585 // int -> QUANT16_SYMM map
14586 .quant16SymmOperands = {},
14587 // int -> FLOAT16 map
14588 .float16Operands = {},
14589 // int -> BOOL8 map
14590 .bool8Operands = {},
14591 // int -> QUANT8_SYMM_PER_CHANNEL map
14592 .quant8ChannelOperands = {},
14593 // int -> QUANT16_ASYMM map
14594 .quant16AsymmOperands = {},
14595 // int -> QUANT8_SYMM map
14596 .quant8SymmOperands = {},
14597 }
14598 },
14599 }, // End of an example
14600 // Begin of an example
14601 {
14602 .operands = {
14603 //Input(s)
14604 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14605 // int -> Dimensions map
14606 .operandDimensions = {{0, {1, 3, 8, 8}}},
14607 // int -> FLOAT32 map
14608 .float32Operands = {{0, {-0.295335f, 0.166084f, -0.719885f, 0.823947f, 0.187631f, -0.755085f, 0.0483436f, 0.0125783f, -0.15166f, 0.129664f, 0.924519f, 0.350817f, -0.00283395f, -0.319117f, 0.32865f, 0.591266f, 0.462056f, 0.6234f, -0.955642f, 0.664377f, -0.276263f, -0.958981f, 0.305369f, -0.382887f, -0.299804f, -0.103055f, 0.543743f, -0.857182f, -0.715614f, -0.590142f, -0.473357f, 0.486607f, -0.800994f, -0.441162f, 0.96965f, -0.526886f, 0.332789f, -0.934084f, -0.700395f, -0.691721f, 0.0390966f, -0.97158f, -0.468986f, -0.273117f, -0.725381f, -0.0949207f, -0.222133f, -0.92949f, 0.330311f, 0.475942f, -0.512208f, 0.65171f, -0.469013f, -0.157841f, -0.659437f, 0.89032f, 0.772958f, 0.917052f, 0.484142f, 0.478872f, -0.73299f, -0.0987856f, -0.498108f, 0.928941f, -0.00387601f, -0.28482f, -0.869386f, 0.473183f, 0.0426571f, -0.472453f, 0.933418f, 0.219742f, 0.0934905f, 0.838844f, 0.342843f, 0.841638f, -0.128467f, 0.84634f, 0.0293755f, -0.0743476f, -0.583625f, 0.535269f, -0.770173f, 0.399445f, -0.901951f, 0.482658f, -0.947818f, -0.805741f, -0.229828f, -0.45568f, -0.96073f, -0.96426f, 0.765278f, -0.238507f, -0.319626f, 0.580844f, 0.290763f, 0.718677f, 7.53637e-05f, -0.352682f, 0.723389f, -0.284705f, -0.985808f, 0.49448f, 0.298938f, 0.86393f, -0.256605f, -0.590343f, -0.194821f, -0.180302f, -0.40393f, 0.580079f, 0.0173551f, 0.907175f, 0.362463f, 0.990057f, -0.101311f, -0.677711f, -0.407607f, 0.228307f, 0.054701f, -0.895022f, 0.108648f, -0.984112f, 0.7526f, 0.125415f, 0.43209f, -0.130732f, -0.552251f, -0.152143f, -0.745598f, -0.331337f, -0.826897f, -0.0233656f, -0.961974f, 0.342604f, 0.783221f, -0.271388f, 0.274418f, -0.543993f, -0.682943f, 0.283003f, -0.0335696f, -0.741271f, -0.590183f, -0.670818f, 0.479986f, -0.968874f, 0.544104f, -0.807284f, 0.827498f, -0.796678f, 0.818783f, -0.227827f, 0.946747f, -0.292411f, -0.475043f, 0.673002f, 0.936014f, 0.425352f, -0.494953f, -0.828427f, -0.699973f, 0.799466f, 0.407659f, 0.961484f, -0.595342f, -0.0842649f, -0.128094f, 0.270606f, 0.47215f, -0.826529f, -0.259661f, 0.0446834f, 0.295772f, -0.169856f, -0.635823f, 0.242777f, 0.0496289f, 0.690733f, -0.68372f, -0.708224f, 0.677033f, -0.749514f, 0.551705f, -0.702397f, 0.833347f, 0.387176f, 0.443312f, 0.10876f, 0.344609f, -0.0569167f}}},
14609 // int -> INT32 map
14610 .int32Operands = {},
14611 // int -> QUANT8_ASYMM map
14612 .quant8AsymmOperands = {},
14613 // int -> QUANT16_SYMM map
14614 .quant16SymmOperands = {},
14615 // int -> FLOAT16 map
14616 .float16Operands = {},
14617 // int -> BOOL8 map
14618 .bool8Operands = {},
14619 // int -> QUANT8_SYMM_PER_CHANNEL map
14620 .quant8ChannelOperands = {},
14621 // int -> QUANT16_ASYMM map
14622 .quant16AsymmOperands = {},
14623 // int -> QUANT8_SYMM map
14624 .quant8SymmOperands = {},
14625 },
14626 //Output(s)
14627 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14628 // int -> Dimensions map
14629 .operandDimensions = {{0, {1, 3, 6, 7}}},
14630 // int -> FLOAT32 map
14631 .float32Operands = {{0, {1.06709f, -0.797245f, 2.2661f, -1.33682f, 0.943457f, -0.345875f, 0.104745f, -0.489415f, -2.10237f, -0.746785f, 0.774279f, 1.03753f, -1.00373f, -0.0662623f, 3.04734f, -0.980369f, 1.64909f, -0.594375f, -0.613449f, 1.12977f, 0.118765f, 1.38049f, 1.03795f, -1.6372f, 1.8485f, -0.437375f, 0.0811864f, 2.01812f, 0.609824f, 2.02386f, -0.508992f, 1.85277f, -1.13279f, -0.588752f, 0.884758f, -2.19264f, -1.63197f, -2.37862f, 0.9499f, 1.58888f, 0.545251f, -0.790398f, -1.16534f, 0.802736f, -1.45548f, 1.15225f, 0.885211f, -0.114708f, 0.828324f, 1.74889f, 0.613022f, 3.63816f, -0.613917f, -0.177923f, 1.83859f, 0.218806f, -1.57302f, -3.85305f, 2.33573f, 0.325747f, 2.85073f, 1.1351f, -0.199547f, 2.38342f, -0.321571f, 1.09302f, -0.158928f, -1.5794f, 0.912054f, 2.62907f, -0.11105f, 1.4687f, -3.02602f, 2.92817f, -0.355636f, 2.05759f, -0.0712112f, 0.114521f, -0.267442f, 2.57646f, -0.231441f, 0.895931f, 0.746904f, -1.1055f, 1.52694f, -0.997109f, 2.15506f, -3.09324f, 0.987944f, 1.7107f, -2.49964f, -0.378257f, -2.5225f, -1.9287f, -0.650011f, 0.891815f, -1.59239f, -1.088f, 1.10881f, -0.955859f, 0.31144f, -0.952566f, 1.94692f, -0.449652f, 2.873f, 0.882321f, -2.60202f, 0.461768f, 4.28871f, 1.59869f, 0.452176f, 1.50304f, 3.35635f, -0.708365f, -0.75725f, -0.172997f, -0.337669f, 1.0651f, 3.81319f, 0.543556f, 1.15701f, 0.531208f, 1.51461f, -0.753084f, 0.0129939f, 1.77789f}}},
14632 // int -> INT32 map
14633 .int32Operands = {},
14634 // int -> QUANT8_ASYMM map
14635 .quant8AsymmOperands = {},
14636 // int -> QUANT16_SYMM map
14637 .quant16SymmOperands = {},
14638 // int -> FLOAT16 map
14639 .float16Operands = {},
14640 // int -> BOOL8 map
14641 .bool8Operands = {},
14642 // int -> QUANT8_SYMM_PER_CHANNEL map
14643 .quant8ChannelOperands = {},
14644 // int -> QUANT16_ASYMM map
14645 .quant16AsymmOperands = {},
14646 // int -> QUANT8_SYMM map
14647 .quant8SymmOperands = {},
14648 }
14649 },
14650 }, // End of an example
14651 };
14652 return examples_3_H3_W2_VALID_dynamic_output_shape_nchw_relaxed;
14653 };
14654
get_examples_3_H3_W2_VALID_dynamic_output_shape_nchw_float16()14655 std::vector<MixedTypedExample>& get_examples_3_H3_W2_VALID_dynamic_output_shape_nchw_float16() {
14656 static std::vector<MixedTypedExample> examples_3_H3_W2_VALID_dynamic_output_shape_nchw_float16 = {
14657 // Begin of an example
14658 {
14659 .operands = {
14660 //Input(s)
14661 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14662 // int -> Dimensions map
14663 .operandDimensions = {{0, {1, 3, 8, 8}}},
14664 // int -> FLOAT32 map
14665 .float32Operands = {},
14666 // int -> INT32 map
14667 .int32Operands = {},
14668 // int -> QUANT8_ASYMM map
14669 .quant8AsymmOperands = {},
14670 // int -> QUANT16_SYMM map
14671 .quant16SymmOperands = {},
14672 // int -> FLOAT16 map
14673 .float16Operands = {{0, {-0.8699309825897217f, 0.153671994805336f, -0.13493099808692932f, -0.2591570019721985f, 0.7655590176582336f, 0.6584939956665039f, -0.25289300084114075f, -0.07006630301475525f, 0.150845006108284f, 0.4065369963645935f, -0.356361985206604f, 0.21048299968242645f, -0.7520380020141602f, -0.551177978515625f, 0.21634800732135773f, 0.5590599775314331f, -0.3637630045413971f, 0.7560970187187195f, -0.6563169956207275f, -0.4031600058078766f, 0.6123620271682739f, -0.39809200167655945f, -0.9252719879150391f, 0.0968329980969429f, 0.0316540002822876f, 0.09482540190219879f, 0.3526650071144104f, -0.96806800365448f, 0.9390519857406616f, -0.058271098881959915f, 0.4597109854221344f, -0.6801750063896179f, 0.5060039758682251f, -0.1724960058927536f, -0.9538840055465698f, 0.20972700417041779f, 0.11319400370121002f, -0.47286298871040344f, -0.8394449949264526f, 0.3448669910430908f, -0.5408269762992859f, 0.506164014339447f, 0.756771981716156f, 0.4608210027217865f, -0.6406030058860779f, -0.568261981010437f, 0.15967300534248352f, -0.16025400161743164f, 0.600721001625061f, 0.4779619872570038f, -0.9394810199737549f, -0.5116369724273682f, -0.3236840069293976f, 0.36417099833488464f, -0.4045589864253998f, -0.3342759907245636f, 0.15651099383831024f, 0.8185970187187195f, -0.586014986038208f, 0.0892409011721611f, 0.46550899744033813f, 0.4130670130252838f, 0.5961400270462036f, -0.704380989074707f, 0.6446279883384705f, 0.8685619831085205f, -0.24756500124931335f, -0.2842960059642792f, 0.41986000537872314f, 0.214355006814003f, -0.47893500328063965f, -0.9887290000915527f, 0.8299149870872498f, -0.3553430140018463f, 0.8004819750785828f, -0.6343029737472534f, 0.45754700899124146f, 0.4467659890651703f, -0.8528059720993042f, -0.6684929728507996f, -0.16283699870109558f, -0.14226900041103363f, -0.9980859756469727f, -0.8936820030212402f, -0.8695880174636841f, -0.04235589876770973f, 0.1765490025281906f, -0.29680201411247253f, -0.25447899103164673f, 0.6437690258026123f, -0.9011790156364441f, -0.615401029586792f, -0.11628899723291397f, 0.4351719915866852f, 0.7174360156059265f, -0.4150660037994385f, -0.3378080129623413f, 0.8706380128860474f, 0.9030420184135437f, -0.28538399934768677f, 0.07566110044717789f, 0.9606090188026428f, 0.45709699392318726f, -0.13161900639533997f, 0.5712590217590332f, -0.1558389961719513f, -0.6620690226554871f, 0.17787200212478638f, 0.702597975730896f, -0.07137160003185272f, -0.3052079975605011f, 0.787322998046875f, 0.2631860077381134f, -0.7029510140419006f, -0.5245190262794495f, -0.5034989714622498f, 0.5344439744949341f, 0.03703580051660538f, -0.8141779899597168f, 0.6692500114440918f, -0.4279490113258362f, -0.6499019861221313f, -0.5597890019416809f, -0.6212509870529175f, 0.47040000557899475f, 0.1808219999074936f, 0.8255749940872192f, -0.29763099551200867f, -0.9183930158615112f, -0.3581770062446594f, 0.2217400074005127f, -0.5380650162696838f, -0.556240975856781f, -0.8501690030097961f, 0.5305259823799133f, -0.30306100845336914f, 0.47634899616241455f, 0.7571449875831604f, -0.7138609886169434f, 0.7182360291481018f, -0.5507689714431763f, -0.22746199369430542f, -0.3514859974384308f, -0.3034929931163788f, 0.07010120153427124f, 0.3297240138053894f, -0.6529489755630493f, 0.43274399638175964f, -0.7132700085639954f, 0.4365760087966919f, 0.8229039907455444f, -0.4271950125694275f, 0.2449049949645996f, -0.9039099812507629f, 0.2661589980125427f, -0.38897499442100525f, 0.10752300173044205f, 0.33467501401901245f, 0.49662700295448303f, 0.33984801173210144f, -0.10721799731254578f, 0.9318720102310181f, 0.7600780129432678f, -0.45513999462127686f, 0.09244350343942642f, -0.16038499772548676f, 0.1633480042219162f, 0.6887149810791016f, -0.9558699727058411f, 0.07896210253238678f, 0.24290800094604492f, -0.2898389995098114f, -0.5064060091972351f, 0.4137920141220093f, 0.13381600379943848f, -0.7532439827919006f, -0.16238699853420258f, -0.7310360074043274f, 0.9340720176696777f, 0.10623600333929062f, -0.8437449932098389f, -0.16880099475383759f, 0.9174500107765198f, -0.8012009859085083f, 0.3791530132293701f, 0.4270870089530945f, -0.8339229822158813f, 0.2138260006904602f, 0.38026100397109985f, 0.17286600172519684f, 0.6629160046577454f, 0.6977779865264893f}}},
14674 // int -> BOOL8 map
14675 .bool8Operands = {},
14676 // int -> QUANT8_SYMM_PER_CHANNEL map
14677 .quant8ChannelOperands = {},
14678 // int -> QUANT16_ASYMM map
14679 .quant16AsymmOperands = {},
14680 // int -> QUANT8_SYMM map
14681 .quant8SymmOperands = {},
14682 },
14683 //Output(s)
14684 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14685 // int -> Dimensions map
14686 .operandDimensions = {{0, {1, 3, 6, 7}}},
14687 // int -> FLOAT32 map
14688 .float32Operands = {},
14689 // int -> INT32 map
14690 .int32Operands = {},
14691 // int -> QUANT8_ASYMM map
14692 .quant8AsymmOperands = {},
14693 // int -> QUANT16_SYMM map
14694 .quant16SymmOperands = {},
14695 // int -> FLOAT16 map
14696 .float16Operands = {{0, {-0.18684199452400208f, -0.3850089907646179f, -1.2305899858474731f, 0.3595220148563385f, -0.28294500708580017f, 0.08478370308876038f, 0.1492460072040558f, 0.4847959876060486f, -1.4130100011825562f, 1.1774100065231323f, -1.215649962425232f, 0.5121430158615112f, -0.05330929905176163f, 1.1632800102233887f, 1.2247999906539917f, -0.619940996170044f, 1.5931400060653687f, 1.1371899843215942f, 1.186079978942871f, 0.5482969880104065f, -0.9933540225028992f, -0.6291260123252869f, -1.9609999656677246f, -1.0240299701690674f, 3.9935500621795654f, -0.5624380111694336f, -0.9286869764328003f, -0.5660529732704163f, -0.41466599702835083f, -1.7265700101852417f, -0.4786689877510071f, 1.4856499433517456f, -0.31711798906326294f, -1.383430004119873f, 1.8163399696350098f, -0.48189300298690796f, 0.24784600734710693f, -0.5196729898452759f, -1.0106500387191772f, -0.18430399894714355f, -0.19668500125408173f, 0.08450440317392349f, -1.8730800151824951f, 1.7203199863433838f, 1.2369400262832642f, 1.6008399724960327f, 2.372920036315918f, -0.35209301114082336f, 0.9203510284423828f, -1.1998900175094604f, 0.10317700356245041f, 2.589359998703003f, -1.0961899757385254f, 0.7713789939880371f, 0.2908639907836914f, 1.8076800107955933f, 0.23712700605392456f, 0.4979439973831177f, -0.1273369938135147f, 1.6853699684143066f, -2.527440071105957f, -2.0838000774383545f, 0.1282380074262619f, -0.9492290019989014f, 0.0058959899470210075f, 0.39612099528312683f, 0.4342209994792938f, -0.9148709774017334f, 0.834954023361206f, -0.9573410153388977f, -0.4528209865093231f, -0.7265740036964417f, 1.7870299816131592f, -0.1799039989709854f, -0.6753870248794556f, 0.69725501537323f, 0.7178009748458862f, -0.13556499779224396f, 2.677570104598999f, 0.25444701313972473f, 0.5079110264778137f, -0.0009504369809292257f, -0.7132409811019897f, 2.4849600791931152f, 1.2113499641418457f, -1.5603599548339844f, 0.0020001500379294157f, 0.434006005525589f, -1.2865300178527832f, -2.396589994430542f, -1.343459963798523f, -0.6842979788780212f, -0.3070389926433563f, -2.7623701095581055f, 1.1743199825286865f, 0.39987900853157043f, 0.9556300044059753f, -1.5256400108337402f, -0.21329699456691742f, -1.6868799924850464f, 0.11141899973154068f, -0.4796440005302429f, 1.3413599729537964f, 2.6458499431610107f, 1.2609200477600098f, 2.258280038833618f, -0.18785400688648224f, 1.3703999519348145f, 0.2744640111923218f, 0.5391290187835693f, 0.8441780209541321f, 0.9333360195159912f, -0.7060059905052185f, -0.09793619811534882f, -0.6392880082130432f, 1.0100300312042236f, 1.909690022468567f, -0.2922550141811371f, 0.8624789714813232f, -2.9594099521636963f, -2.239989995956421f, 0.4152829945087433f, 0.9799259901046753f, -0.7343479990959167f, 0.5949720144271851f, 0.3850190043449402f}}},
14697 // int -> BOOL8 map
14698 .bool8Operands = {},
14699 // int -> QUANT8_SYMM_PER_CHANNEL map
14700 .quant8ChannelOperands = {},
14701 // int -> QUANT16_ASYMM map
14702 .quant16AsymmOperands = {},
14703 // int -> QUANT8_SYMM map
14704 .quant8SymmOperands = {},
14705 }
14706 },
14707 }, // End of an example
14708 // Begin of an example
14709 {
14710 .operands = {
14711 //Input(s)
14712 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14713 // int -> Dimensions map
14714 .operandDimensions = {{0, {1, 3, 8, 8}}},
14715 // int -> FLOAT32 map
14716 .float32Operands = {},
14717 // int -> INT32 map
14718 .int32Operands = {},
14719 // int -> QUANT8_ASYMM map
14720 .quant8AsymmOperands = {},
14721 // int -> QUANT16_SYMM map
14722 .quant16SymmOperands = {},
14723 // int -> FLOAT16 map
14724 .float16Operands = {{0, {-0.29533499479293823f, 0.16608400642871857f, -0.719884991645813f, 0.823947012424469f, 0.18763099610805511f, -0.7550849914550781f, 0.04834359884262085f, 0.012578300200402737f, -0.1516599953174591f, 0.12966400384902954f, 0.9245190024375916f, 0.3508169949054718f, -0.002833950100466609f, -0.31911700963974f, 0.32864999771118164f, 0.5912659764289856f, 0.4620560109615326f, 0.6233999729156494f, -0.9556419849395752f, 0.664376974105835f, -0.2762629985809326f, -0.9589809775352478f, 0.30536898970603943f, -0.38288700580596924f, -0.2998040020465851f, -0.10305500030517578f, 0.5437430143356323f, -0.8571820259094238f, -0.7156140208244324f, -0.590142011642456f, -0.4733569920063019f, 0.48660698533058167f, -0.8009939789772034f, -0.44116199016571045f, 0.9696499705314636f, -0.526885986328125f, 0.33278900384902954f, -0.9340839982032776f, -0.7003949880599976f, -0.6917210221290588f, 0.03909660130739212f, -0.9715800285339355f, -0.46898600459098816f, -0.2731170058250427f, -0.7253810167312622f, -0.09492070227861404f, -0.22213299572467804f, -0.9294899702072144f, 0.33031100034713745f, 0.4759419858455658f, -0.5122079849243164f, 0.6517099738121033f, -0.4690130054950714f, -0.15784099698066711f, -0.6594370007514954f, 0.8903200030326843f, 0.772957980632782f, 0.9170519709587097f, 0.484142005443573f, 0.47887200117111206f, -0.732990026473999f, -0.09878560155630112f, -0.49810799956321716f, 0.928941011428833f, -0.0038760099560022354f, -0.28481999039649963f, -0.8693860173225403f, 0.4731830060482025f, 0.04265709966421127f, -0.4724529981613159f, 0.9334179759025574f, 0.21974200010299683f, 0.09349049627780914f, 0.8388440012931824f, 0.3428429961204529f, 0.8416380286216736f, -0.12846699357032776f, 0.846340000629425f, 0.029375499114394188f, -0.0743476003408432f, -0.5836250185966492f, 0.535269021987915f, -0.7701730132102966f, 0.3994449973106384f, -0.901951014995575f, 0.4826579988002777f, -0.9478179812431335f, -0.805741012096405f, -0.22982800006866455f, -0.4556800127029419f, -0.9607300162315369f, -0.9642599821090698f, 0.7652779817581177f, -0.2385070025920868f, -0.31962600350379944f, 0.580843985080719f, 0.2907629907131195f, 0.7186769843101501f, 7.536369957961142e-05f, -0.3526819944381714f, 0.7233890295028687f, -0.2847050130367279f, -0.9858080148696899f, 0.4944800138473511f, 0.29893800616264343f, 0.8639299869537354f, -0.25660499930381775f, -0.5903429985046387f, -0.19482100009918213f, -0.1803019940853119f, -0.40393000841140747f, 0.5800790190696716f, 0.017355099320411682f, 0.9071750044822693f, 0.36246299743652344f, 0.9900569915771484f, -0.10131099820137024f, -0.677711009979248f, -0.40760698914527893f, 0.22830699384212494f, 0.054701000452041626f, -0.8950219750404358f, 0.10864800214767456f, -0.984112024307251f, 0.7526000142097473f, 0.12541499733924866f, 0.43209001421928406f, -0.130731999874115f, -0.5522509813308716f, -0.15214300155639648f, -0.7455980181694031f, -0.33133700489997864f, -0.8268970251083374f, -0.023365600034594536f, -0.961974024772644f, 0.34260401129722595f, 0.7832210063934326f, -0.2713879942893982f, 0.2744179964065552f, -0.5439929962158203f, -0.6829429864883423f, 0.2830030024051666f, -0.03356960043311119f, -0.7412710189819336f, -0.5901830196380615f, -0.6708179712295532f, 0.4799860119819641f, -0.9688739776611328f, 0.5441039800643921f, -0.8072839975357056f, 0.8274980187416077f, -0.7966780066490173f, 0.8187829852104187f, -0.22782699763774872f, 0.9467470049858093f, -0.2924109995365143f, -0.47504299879074097f, 0.6730020046234131f, 0.9360139966011047f, 0.42535200715065f, -0.4949530065059662f, -0.8284270167350769f, -0.6999729871749878f, 0.7994660139083862f, 0.40765899419784546f, 0.9614840149879456f, -0.5953419804573059f, -0.08426489681005478f, -0.12809400260448456f, 0.27060601115226746f, 0.4721499979496002f, -0.8265290260314941f, -0.2596609890460968f, 0.04468340054154396f, 0.295771986246109f, -0.169855996966362f, -0.6358230113983154f, 0.2427770048379898f, 0.04962889850139618f, 0.690733015537262f, -0.6837199926376343f, -0.7082239985466003f, 0.677033007144928f, -0.7495139837265015f, 0.551705002784729f, -0.7023969888687134f, 0.8333470225334167f, 0.3871760070323944f, 0.44331198930740356f, 0.10875999927520752f, 0.34460899233818054f, -0.056916698813438416f}}},
14725 // int -> BOOL8 map
14726 .bool8Operands = {},
14727 // int -> QUANT8_SYMM_PER_CHANNEL map
14728 .quant8ChannelOperands = {},
14729 // int -> QUANT16_ASYMM map
14730 .quant16AsymmOperands = {},
14731 // int -> QUANT8_SYMM map
14732 .quant8SymmOperands = {},
14733 },
14734 //Output(s)
14735 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14736 // int -> Dimensions map
14737 .operandDimensions = {{0, {1, 3, 6, 7}}},
14738 // int -> FLOAT32 map
14739 .float32Operands = {},
14740 // int -> INT32 map
14741 .int32Operands = {},
14742 // int -> QUANT8_ASYMM map
14743 .quant8AsymmOperands = {},
14744 // int -> QUANT16_SYMM map
14745 .quant16SymmOperands = {},
14746 // int -> FLOAT16 map
14747 .float16Operands = {{0, {1.0670900344848633f, -0.7972450256347656f, 2.2660999298095703f, -1.3368200063705444f, 0.9434570074081421f, -0.34587499499320984f, 0.10474500060081482f, -0.4894149899482727f, -2.102370023727417f, -0.7467849850654602f, 0.774278998374939f, 1.0375299453735352f, -1.003730058670044f, -0.06626229733228683f, 3.047339916229248f, -0.980368971824646f, 1.649090051651001f, -0.5943750143051147f, -0.613448977470398f, 1.129770040512085f, 0.11876499652862549f, 1.3804899454116821f, 1.037950038909912f, -1.6371999979019165f, 1.8485000133514404f, -0.437375009059906f, 0.08118639886379242f, 2.018120050430298f, 0.609824001789093f, 2.023859977722168f, -0.5089920163154602f, 1.8527699708938599f, -1.132789969444275f, -0.5887519717216492f, 0.8847579956054688f, -2.1926400661468506f, -1.6319700479507446f, -2.378619909286499f, 0.9498999714851379f, 1.588879942893982f, 0.5452510118484497f, -0.7903980016708374f, -1.1653399467468262f, 0.8027359843254089f, -1.4554799795150757f, 1.152250051498413f, 0.8852109909057617f, -0.11470799893140793f, 0.828324019908905f, 1.7488900423049927f, 0.6130220293998718f, 3.638159990310669f, -0.6139169931411743f, -0.17792299389839172f, 1.8385900259017944f, 0.21880599856376648f, -1.5730199813842773f, -3.8530499935150146f, 2.3357300758361816f, 0.325747013092041f, 2.8507299423217773f, 1.13510000705719f, -0.19954699277877808f, 2.383419990539551f, -0.3215709924697876f, 1.093019962310791f, -0.1589280068874359f, -1.5793999433517456f, 0.9120540022850037f, 2.6290700435638428f, -0.11105000227689743f, 1.4687000513076782f, -3.026020050048828f, 2.9281699657440186f, -0.35563600063323975f, 2.0575900077819824f, -0.07121119648218155f, 0.11452099680900574f, -0.267441987991333f, 2.5764598846435547f, -0.23144100606441498f, 0.8959310054779053f, 0.7469040155410767f, -1.1054999828338623f, 1.5269399881362915f, -0.9971089959144592f, 2.155060052871704f, -3.0932400226593018f, 0.9879440069198608f, 1.7107000350952148f, -2.4996399879455566f, -0.37825700640678406f, -2.5225000381469727f, -1.9286999702453613f, -0.6500110030174255f, 0.8918150067329407f, -1.5923899412155151f, -1.0880000591278076f, 1.1088099479675293f, -0.9558590054512024f, 0.31143999099731445f, -0.9525660276412964f, 1.9469200372695923f, -0.4496519863605499f, 2.872999906539917f, 0.8823210000991821f, -2.602020025253296f, 0.4617680013179779f, 4.288710117340088f, 1.5986900329589844f, 0.4521760046482086f, 1.5030399560928345f, 3.3563499450683594f, -0.7083650231361389f, -0.7572500109672546f, -0.17299699783325195f, -0.3376689851284027f, 1.0650999546051025f, 3.81318998336792f, 0.5435559749603271f, 1.1570099592208862f, 0.5312079787254333f, 1.5146100521087646f, -0.7530840039253235f, 0.01299390010535717f, 1.7778899669647217f}}},
14748 // int -> BOOL8 map
14749 .bool8Operands = {},
14750 // int -> QUANT8_SYMM_PER_CHANNEL map
14751 .quant8ChannelOperands = {},
14752 // int -> QUANT16_ASYMM map
14753 .quant16AsymmOperands = {},
14754 // int -> QUANT8_SYMM map
14755 .quant8SymmOperands = {},
14756 }
14757 },
14758 }, // End of an example
14759 };
14760 return examples_3_H3_W2_VALID_dynamic_output_shape_nchw_float16;
14761 };
14762
get_examples_quant_output_multiplier_gt_1()14763 std::vector<MixedTypedExample>& get_examples_quant_output_multiplier_gt_1() {
14764 static std::vector<MixedTypedExample> examples_quant_output_multiplier_gt_1 = {
14765 // Begin of an example
14766 {
14767 .operands = {
14768 //Input(s)
14769 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14770 // int -> Dimensions map
14771 .operandDimensions = {{0, {2, 2, 4, 1}}},
14772 // int -> FLOAT32 map
14773 .float32Operands = {},
14774 // int -> INT32 map
14775 .int32Operands = {},
14776 // int -> QUANT8_ASYMM map
14777 .quant8AsymmOperands = {{0, {129, 129, 129, 129, 130, 130, 130, 130, 129, 130, 131, 132, 129, 130, 131, 132}}},
14778 // int -> QUANT16_SYMM map
14779 .quant16SymmOperands = {},
14780 // int -> FLOAT16 map
14781 .float16Operands = {},
14782 // int -> BOOL8 map
14783 .bool8Operands = {},
14784 // int -> QUANT8_SYMM_PER_CHANNEL map
14785 .quant8ChannelOperands = {},
14786 // int -> QUANT16_ASYMM map
14787 .quant16AsymmOperands = {},
14788 // int -> QUANT8_SYMM map
14789 .quant8SymmOperands = {},
14790 },
14791 //Output(s)
14792 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14793 // int -> Dimensions map
14794 .operandDimensions = {{0, {2, 1, 2, 3}}},
14795 // int -> FLOAT32 map
14796 .float32Operands = {},
14797 // int -> INT32 map
14798 .int32Operands = {},
14799 // int -> QUANT8_ASYMM map
14800 .quant8AsymmOperands = {{0, {145, 129, 132, 145, 129, 132, 144, 131, 130, 164, 131, 130}}},
14801 // int -> QUANT16_SYMM map
14802 .quant16SymmOperands = {},
14803 // int -> FLOAT16 map
14804 .float16Operands = {},
14805 // int -> BOOL8 map
14806 .bool8Operands = {},
14807 // int -> QUANT8_SYMM_PER_CHANNEL map
14808 .quant8ChannelOperands = {},
14809 // int -> QUANT16_ASYMM map
14810 .quant16AsymmOperands = {},
14811 // int -> QUANT8_SYMM map
14812 .quant8SymmOperands = {},
14813 }
14814 },
14815 }, // End of an example
14816 };
14817 return examples_quant_output_multiplier_gt_1;
14818 };
14819
get_examples_quant_output_multiplier_gt_1_relaxed()14820 std::vector<MixedTypedExample>& get_examples_quant_output_multiplier_gt_1_relaxed() {
14821 static std::vector<MixedTypedExample> examples_quant_output_multiplier_gt_1_relaxed = {
14822 // Begin of an example
14823 {
14824 .operands = {
14825 //Input(s)
14826 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14827 // int -> Dimensions map
14828 .operandDimensions = {{0, {2, 2, 4, 1}}},
14829 // int -> FLOAT32 map
14830 .float32Operands = {},
14831 // int -> INT32 map
14832 .int32Operands = {},
14833 // int -> QUANT8_ASYMM map
14834 .quant8AsymmOperands = {{0, {129, 129, 129, 129, 130, 130, 130, 130, 129, 130, 131, 132, 129, 130, 131, 132}}},
14835 // int -> QUANT16_SYMM map
14836 .quant16SymmOperands = {},
14837 // int -> FLOAT16 map
14838 .float16Operands = {},
14839 // int -> BOOL8 map
14840 .bool8Operands = {},
14841 // int -> QUANT8_SYMM_PER_CHANNEL map
14842 .quant8ChannelOperands = {},
14843 // int -> QUANT16_ASYMM map
14844 .quant16AsymmOperands = {},
14845 // int -> QUANT8_SYMM map
14846 .quant8SymmOperands = {},
14847 },
14848 //Output(s)
14849 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14850 // int -> Dimensions map
14851 .operandDimensions = {{0, {2, 1, 2, 3}}},
14852 // int -> FLOAT32 map
14853 .float32Operands = {},
14854 // int -> INT32 map
14855 .int32Operands = {},
14856 // int -> QUANT8_ASYMM map
14857 .quant8AsymmOperands = {{0, {145, 129, 132, 145, 129, 132, 144, 131, 130, 164, 131, 130}}},
14858 // int -> QUANT16_SYMM map
14859 .quant16SymmOperands = {},
14860 // int -> FLOAT16 map
14861 .float16Operands = {},
14862 // int -> BOOL8 map
14863 .bool8Operands = {},
14864 // int -> QUANT8_SYMM_PER_CHANNEL map
14865 .quant8ChannelOperands = {},
14866 // int -> QUANT16_ASYMM map
14867 .quant16AsymmOperands = {},
14868 // int -> QUANT8_SYMM map
14869 .quant8SymmOperands = {},
14870 }
14871 },
14872 }, // End of an example
14873 };
14874 return examples_quant_output_multiplier_gt_1_relaxed;
14875 };
14876
get_examples_quant_output_multiplier_gt_1_weight_as_input()14877 std::vector<MixedTypedExample>& get_examples_quant_output_multiplier_gt_1_weight_as_input() {
14878 static std::vector<MixedTypedExample> examples_quant_output_multiplier_gt_1_weight_as_input = {
14879 // Begin of an example
14880 {
14881 .operands = {
14882 //Input(s)
14883 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14884 // int -> Dimensions map
14885 .operandDimensions = {{0, {2, 2, 4, 1}}, {1, {3, 2, 2, 1}}, {2, {3}}},
14886 // int -> FLOAT32 map
14887 .float32Operands = {},
14888 // int -> INT32 map
14889 .int32Operands = {{2, {1, 2, 3}}},
14890 // int -> QUANT8_ASYMM map
14891 .quant8AsymmOperands = {{0, {129, 129, 129, 129, 130, 130, 130, 130, 129, 130, 131, 132, 129, 130, 131, 132}}, {1, {129, 130, 131, 132, 127, 129, 127, 129, 127, 127, 129, 129}}},
14892 // int -> QUANT16_SYMM map
14893 .quant16SymmOperands = {},
14894 // int -> FLOAT16 map
14895 .float16Operands = {},
14896 // int -> BOOL8 map
14897 .bool8Operands = {},
14898 // int -> QUANT8_SYMM_PER_CHANNEL map
14899 .quant8ChannelOperands = {},
14900 // int -> QUANT16_ASYMM map
14901 .quant16AsymmOperands = {},
14902 // int -> QUANT8_SYMM map
14903 .quant8SymmOperands = {},
14904 },
14905 //Output(s)
14906 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14907 // int -> Dimensions map
14908 .operandDimensions = {{0, {2, 1, 2, 3}}},
14909 // int -> FLOAT32 map
14910 .float32Operands = {},
14911 // int -> INT32 map
14912 .int32Operands = {},
14913 // int -> QUANT8_ASYMM map
14914 .quant8AsymmOperands = {{0, {145, 129, 132, 145, 129, 132, 144, 131, 130, 164, 131, 130}}},
14915 // int -> QUANT16_SYMM map
14916 .quant16SymmOperands = {},
14917 // int -> FLOAT16 map
14918 .float16Operands = {},
14919 // int -> BOOL8 map
14920 .bool8Operands = {},
14921 // int -> QUANT8_SYMM_PER_CHANNEL map
14922 .quant8ChannelOperands = {},
14923 // int -> QUANT16_ASYMM map
14924 .quant16AsymmOperands = {},
14925 // int -> QUANT8_SYMM map
14926 .quant8SymmOperands = {},
14927 }
14928 },
14929 }, // End of an example
14930 };
14931 return examples_quant_output_multiplier_gt_1_weight_as_input;
14932 };
14933
get_examples_quant_output_multiplier_gt_1_weight_as_input_relaxed()14934 std::vector<MixedTypedExample>& get_examples_quant_output_multiplier_gt_1_weight_as_input_relaxed() {
14935 static std::vector<MixedTypedExample> examples_quant_output_multiplier_gt_1_weight_as_input_relaxed = {
14936 // Begin of an example
14937 {
14938 .operands = {
14939 //Input(s)
14940 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14941 // int -> Dimensions map
14942 .operandDimensions = {{0, {2, 2, 4, 1}}, {1, {3, 2, 2, 1}}, {2, {3}}},
14943 // int -> FLOAT32 map
14944 .float32Operands = {},
14945 // int -> INT32 map
14946 .int32Operands = {{2, {1, 2, 3}}},
14947 // int -> QUANT8_ASYMM map
14948 .quant8AsymmOperands = {{0, {129, 129, 129, 129, 130, 130, 130, 130, 129, 130, 131, 132, 129, 130, 131, 132}}, {1, {129, 130, 131, 132, 127, 129, 127, 129, 127, 127, 129, 129}}},
14949 // int -> QUANT16_SYMM map
14950 .quant16SymmOperands = {},
14951 // int -> FLOAT16 map
14952 .float16Operands = {},
14953 // int -> BOOL8 map
14954 .bool8Operands = {},
14955 // int -> QUANT8_SYMM_PER_CHANNEL map
14956 .quant8ChannelOperands = {},
14957 // int -> QUANT16_ASYMM map
14958 .quant16AsymmOperands = {},
14959 // int -> QUANT8_SYMM map
14960 .quant8SymmOperands = {},
14961 },
14962 //Output(s)
14963 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14964 // int -> Dimensions map
14965 .operandDimensions = {{0, {2, 1, 2, 3}}},
14966 // int -> FLOAT32 map
14967 .float32Operands = {},
14968 // int -> INT32 map
14969 .int32Operands = {},
14970 // int -> QUANT8_ASYMM map
14971 .quant8AsymmOperands = {{0, {145, 129, 132, 145, 129, 132, 144, 131, 130, 164, 131, 130}}},
14972 // int -> QUANT16_SYMM map
14973 .quant16SymmOperands = {},
14974 // int -> FLOAT16 map
14975 .float16Operands = {},
14976 // int -> BOOL8 map
14977 .bool8Operands = {},
14978 // int -> QUANT8_SYMM_PER_CHANNEL map
14979 .quant8ChannelOperands = {},
14980 // int -> QUANT16_ASYMM map
14981 .quant16AsymmOperands = {},
14982 // int -> QUANT8_SYMM map
14983 .quant8SymmOperands = {},
14984 }
14985 },
14986 }, // End of an example
14987 };
14988 return examples_quant_output_multiplier_gt_1_weight_as_input_relaxed;
14989 };
14990
get_examples_quant_output_multiplier_gt_1_dynamic_output_shape()14991 std::vector<MixedTypedExample>& get_examples_quant_output_multiplier_gt_1_dynamic_output_shape() {
14992 static std::vector<MixedTypedExample> examples_quant_output_multiplier_gt_1_dynamic_output_shape = {
14993 // Begin of an example
14994 {
14995 .operands = {
14996 //Input(s)
14997 { // See tools/test_generator/include/TestHarness.h:MixedTyped
14998 // int -> Dimensions map
14999 .operandDimensions = {{0, {2, 2, 4, 1}}},
15000 // int -> FLOAT32 map
15001 .float32Operands = {},
15002 // int -> INT32 map
15003 .int32Operands = {},
15004 // int -> QUANT8_ASYMM map
15005 .quant8AsymmOperands = {{0, {129, 129, 129, 129, 130, 130, 130, 130, 129, 130, 131, 132, 129, 130, 131, 132}}},
15006 // int -> QUANT16_SYMM map
15007 .quant16SymmOperands = {},
15008 // int -> FLOAT16 map
15009 .float16Operands = {},
15010 // int -> BOOL8 map
15011 .bool8Operands = {},
15012 // int -> QUANT8_SYMM_PER_CHANNEL map
15013 .quant8ChannelOperands = {},
15014 // int -> QUANT16_ASYMM map
15015 .quant16AsymmOperands = {},
15016 // int -> QUANT8_SYMM map
15017 .quant8SymmOperands = {},
15018 },
15019 //Output(s)
15020 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15021 // int -> Dimensions map
15022 .operandDimensions = {{0, {2, 1, 2, 3}}},
15023 // int -> FLOAT32 map
15024 .float32Operands = {},
15025 // int -> INT32 map
15026 .int32Operands = {},
15027 // int -> QUANT8_ASYMM map
15028 .quant8AsymmOperands = {{0, {145, 129, 132, 145, 129, 132, 144, 131, 130, 164, 131, 130}}},
15029 // int -> QUANT16_SYMM map
15030 .quant16SymmOperands = {},
15031 // int -> FLOAT16 map
15032 .float16Operands = {},
15033 // int -> BOOL8 map
15034 .bool8Operands = {},
15035 // int -> QUANT8_SYMM_PER_CHANNEL map
15036 .quant8ChannelOperands = {},
15037 // int -> QUANT16_ASYMM map
15038 .quant16AsymmOperands = {},
15039 // int -> QUANT8_SYMM map
15040 .quant8SymmOperands = {},
15041 }
15042 },
15043 }, // End of an example
15044 };
15045 return examples_quant_output_multiplier_gt_1_dynamic_output_shape;
15046 };
15047
get_examples_quant_output_multiplier_gt_1_dynamic_output_shape_relaxed()15048 std::vector<MixedTypedExample>& get_examples_quant_output_multiplier_gt_1_dynamic_output_shape_relaxed() {
15049 static std::vector<MixedTypedExample> examples_quant_output_multiplier_gt_1_dynamic_output_shape_relaxed = {
15050 // Begin of an example
15051 {
15052 .operands = {
15053 //Input(s)
15054 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15055 // int -> Dimensions map
15056 .operandDimensions = {{0, {2, 2, 4, 1}}},
15057 // int -> FLOAT32 map
15058 .float32Operands = {},
15059 // int -> INT32 map
15060 .int32Operands = {},
15061 // int -> QUANT8_ASYMM map
15062 .quant8AsymmOperands = {{0, {129, 129, 129, 129, 130, 130, 130, 130, 129, 130, 131, 132, 129, 130, 131, 132}}},
15063 // int -> QUANT16_SYMM map
15064 .quant16SymmOperands = {},
15065 // int -> FLOAT16 map
15066 .float16Operands = {},
15067 // int -> BOOL8 map
15068 .bool8Operands = {},
15069 // int -> QUANT8_SYMM_PER_CHANNEL map
15070 .quant8ChannelOperands = {},
15071 // int -> QUANT16_ASYMM map
15072 .quant16AsymmOperands = {},
15073 // int -> QUANT8_SYMM map
15074 .quant8SymmOperands = {},
15075 },
15076 //Output(s)
15077 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15078 // int -> Dimensions map
15079 .operandDimensions = {{0, {2, 1, 2, 3}}},
15080 // int -> FLOAT32 map
15081 .float32Operands = {},
15082 // int -> INT32 map
15083 .int32Operands = {},
15084 // int -> QUANT8_ASYMM map
15085 .quant8AsymmOperands = {{0, {145, 129, 132, 145, 129, 132, 144, 131, 130, 164, 131, 130}}},
15086 // int -> QUANT16_SYMM map
15087 .quant16SymmOperands = {},
15088 // int -> FLOAT16 map
15089 .float16Operands = {},
15090 // int -> BOOL8 map
15091 .bool8Operands = {},
15092 // int -> QUANT8_SYMM_PER_CHANNEL map
15093 .quant8ChannelOperands = {},
15094 // int -> QUANT16_ASYMM map
15095 .quant16AsymmOperands = {},
15096 // int -> QUANT8_SYMM map
15097 .quant8SymmOperands = {},
15098 }
15099 },
15100 }, // End of an example
15101 };
15102 return examples_quant_output_multiplier_gt_1_dynamic_output_shape_relaxed;
15103 };
15104
get_examples_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input()15105 std::vector<MixedTypedExample>& get_examples_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input() {
15106 static std::vector<MixedTypedExample> examples_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input = {
15107 // Begin of an example
15108 {
15109 .operands = {
15110 //Input(s)
15111 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15112 // int -> Dimensions map
15113 .operandDimensions = {{0, {2, 2, 4, 1}}, {1, {3, 2, 2, 1}}, {2, {3}}},
15114 // int -> FLOAT32 map
15115 .float32Operands = {},
15116 // int -> INT32 map
15117 .int32Operands = {{2, {1, 2, 3}}},
15118 // int -> QUANT8_ASYMM map
15119 .quant8AsymmOperands = {{0, {129, 129, 129, 129, 130, 130, 130, 130, 129, 130, 131, 132, 129, 130, 131, 132}}, {1, {129, 130, 131, 132, 127, 129, 127, 129, 127, 127, 129, 129}}},
15120 // int -> QUANT16_SYMM map
15121 .quant16SymmOperands = {},
15122 // int -> FLOAT16 map
15123 .float16Operands = {},
15124 // int -> BOOL8 map
15125 .bool8Operands = {},
15126 // int -> QUANT8_SYMM_PER_CHANNEL map
15127 .quant8ChannelOperands = {},
15128 // int -> QUANT16_ASYMM map
15129 .quant16AsymmOperands = {},
15130 // int -> QUANT8_SYMM map
15131 .quant8SymmOperands = {},
15132 },
15133 //Output(s)
15134 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15135 // int -> Dimensions map
15136 .operandDimensions = {{0, {2, 1, 2, 3}}},
15137 // int -> FLOAT32 map
15138 .float32Operands = {},
15139 // int -> INT32 map
15140 .int32Operands = {},
15141 // int -> QUANT8_ASYMM map
15142 .quant8AsymmOperands = {{0, {145, 129, 132, 145, 129, 132, 144, 131, 130, 164, 131, 130}}},
15143 // int -> QUANT16_SYMM map
15144 .quant16SymmOperands = {},
15145 // int -> FLOAT16 map
15146 .float16Operands = {},
15147 // int -> BOOL8 map
15148 .bool8Operands = {},
15149 // int -> QUANT8_SYMM_PER_CHANNEL map
15150 .quant8ChannelOperands = {},
15151 // int -> QUANT16_ASYMM map
15152 .quant16AsymmOperands = {},
15153 // int -> QUANT8_SYMM map
15154 .quant8SymmOperands = {},
15155 }
15156 },
15157 }, // End of an example
15158 };
15159 return examples_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input;
15160 };
15161
get_examples_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input_relaxed()15162 std::vector<MixedTypedExample>& get_examples_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input_relaxed() {
15163 static std::vector<MixedTypedExample> examples_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input_relaxed = {
15164 // Begin of an example
15165 {
15166 .operands = {
15167 //Input(s)
15168 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15169 // int -> Dimensions map
15170 .operandDimensions = {{0, {2, 2, 4, 1}}, {1, {3, 2, 2, 1}}, {2, {3}}},
15171 // int -> FLOAT32 map
15172 .float32Operands = {},
15173 // int -> INT32 map
15174 .int32Operands = {{2, {1, 2, 3}}},
15175 // int -> QUANT8_ASYMM map
15176 .quant8AsymmOperands = {{0, {129, 129, 129, 129, 130, 130, 130, 130, 129, 130, 131, 132, 129, 130, 131, 132}}, {1, {129, 130, 131, 132, 127, 129, 127, 129, 127, 127, 129, 129}}},
15177 // int -> QUANT16_SYMM map
15178 .quant16SymmOperands = {},
15179 // int -> FLOAT16 map
15180 .float16Operands = {},
15181 // int -> BOOL8 map
15182 .bool8Operands = {},
15183 // int -> QUANT8_SYMM_PER_CHANNEL map
15184 .quant8ChannelOperands = {},
15185 // int -> QUANT16_ASYMM map
15186 .quant16AsymmOperands = {},
15187 // int -> QUANT8_SYMM map
15188 .quant8SymmOperands = {},
15189 },
15190 //Output(s)
15191 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15192 // int -> Dimensions map
15193 .operandDimensions = {{0, {2, 1, 2, 3}}},
15194 // int -> FLOAT32 map
15195 .float32Operands = {},
15196 // int -> INT32 map
15197 .int32Operands = {},
15198 // int -> QUANT8_ASYMM map
15199 .quant8AsymmOperands = {{0, {145, 129, 132, 145, 129, 132, 144, 131, 130, 164, 131, 130}}},
15200 // int -> QUANT16_SYMM map
15201 .quant16SymmOperands = {},
15202 // int -> FLOAT16 map
15203 .float16Operands = {},
15204 // int -> BOOL8 map
15205 .bool8Operands = {},
15206 // int -> QUANT8_SYMM_PER_CHANNEL map
15207 .quant8ChannelOperands = {},
15208 // int -> QUANT16_ASYMM map
15209 .quant16AsymmOperands = {},
15210 // int -> QUANT8_SYMM map
15211 .quant8SymmOperands = {},
15212 }
15213 },
15214 }, // End of an example
15215 };
15216 return examples_quant_output_multiplier_gt_1_dynamic_output_shape_weight_as_input_relaxed;
15217 };
15218
get_examples_zero_sized_nhwc()15219 std::vector<MixedTypedExample>& get_examples_zero_sized_nhwc() {
15220 static std::vector<MixedTypedExample> examples_zero_sized_nhwc = {
15221 // Begin of an example
15222 {
15223 .operands = {
15224 //Input(s)
15225 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15226 // int -> Dimensions map
15227 .operandDimensions = {{0, {1, 1, 1, 1}}},
15228 // int -> FLOAT32 map
15229 .float32Operands = {{0, {1.0f}}},
15230 // int -> INT32 map
15231 .int32Operands = {},
15232 // int -> QUANT8_ASYMM map
15233 .quant8AsymmOperands = {},
15234 // int -> QUANT16_SYMM map
15235 .quant16SymmOperands = {},
15236 // int -> FLOAT16 map
15237 .float16Operands = {},
15238 // int -> BOOL8 map
15239 .bool8Operands = {},
15240 // int -> QUANT8_SYMM_PER_CHANNEL map
15241 .quant8ChannelOperands = {},
15242 // int -> QUANT16_ASYMM map
15243 .quant16AsymmOperands = {},
15244 // int -> QUANT8_SYMM map
15245 .quant8SymmOperands = {},
15246 },
15247 //Output(s)
15248 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15249 // int -> Dimensions map
15250 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15251 // int -> FLOAT32 map
15252 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
15253 // int -> INT32 map
15254 .int32Operands = {{1, {0}}},
15255 // int -> QUANT8_ASYMM map
15256 .quant8AsymmOperands = {},
15257 // int -> QUANT16_SYMM map
15258 .quant16SymmOperands = {},
15259 // int -> FLOAT16 map
15260 .float16Operands = {},
15261 // int -> BOOL8 map
15262 .bool8Operands = {},
15263 // int -> QUANT8_SYMM_PER_CHANNEL map
15264 .quant8ChannelOperands = {},
15265 // int -> QUANT16_ASYMM map
15266 .quant16AsymmOperands = {},
15267 // int -> QUANT8_SYMM map
15268 .quant8SymmOperands = {},
15269 }
15270 },
15271 }, // End of an example
15272 };
15273 return examples_zero_sized_nhwc;
15274 };
15275
get_examples_zero_sized_nhwc_relaxed()15276 std::vector<MixedTypedExample>& get_examples_zero_sized_nhwc_relaxed() {
15277 static std::vector<MixedTypedExample> examples_zero_sized_nhwc_relaxed = {
15278 // Begin of an example
15279 {
15280 .operands = {
15281 //Input(s)
15282 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15283 // int -> Dimensions map
15284 .operandDimensions = {{0, {1, 1, 1, 1}}},
15285 // int -> FLOAT32 map
15286 .float32Operands = {{0, {1.0f}}},
15287 // int -> INT32 map
15288 .int32Operands = {},
15289 // int -> QUANT8_ASYMM map
15290 .quant8AsymmOperands = {},
15291 // int -> QUANT16_SYMM map
15292 .quant16SymmOperands = {},
15293 // int -> FLOAT16 map
15294 .float16Operands = {},
15295 // int -> BOOL8 map
15296 .bool8Operands = {},
15297 // int -> QUANT8_SYMM_PER_CHANNEL map
15298 .quant8ChannelOperands = {},
15299 // int -> QUANT16_ASYMM map
15300 .quant16AsymmOperands = {},
15301 // int -> QUANT8_SYMM map
15302 .quant8SymmOperands = {},
15303 },
15304 //Output(s)
15305 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15306 // int -> Dimensions map
15307 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15308 // int -> FLOAT32 map
15309 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
15310 // int -> INT32 map
15311 .int32Operands = {{1, {0}}},
15312 // int -> QUANT8_ASYMM map
15313 .quant8AsymmOperands = {},
15314 // int -> QUANT16_SYMM map
15315 .quant16SymmOperands = {},
15316 // int -> FLOAT16 map
15317 .float16Operands = {},
15318 // int -> BOOL8 map
15319 .bool8Operands = {},
15320 // int -> QUANT8_SYMM_PER_CHANNEL map
15321 .quant8ChannelOperands = {},
15322 // int -> QUANT16_ASYMM map
15323 .quant16AsymmOperands = {},
15324 // int -> QUANT8_SYMM map
15325 .quant8SymmOperands = {},
15326 }
15327 },
15328 }, // End of an example
15329 };
15330 return examples_zero_sized_nhwc_relaxed;
15331 };
15332
get_examples_zero_sized_nhwc_quant8()15333 std::vector<MixedTypedExample>& get_examples_zero_sized_nhwc_quant8() {
15334 static std::vector<MixedTypedExample> examples_zero_sized_nhwc_quant8 = {
15335 // Begin of an example
15336 {
15337 .operands = {
15338 //Input(s)
15339 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15340 // int -> Dimensions map
15341 .operandDimensions = {{0, {1, 1, 1, 1}}},
15342 // int -> FLOAT32 map
15343 .float32Operands = {},
15344 // int -> INT32 map
15345 .int32Operands = {},
15346 // int -> QUANT8_ASYMM map
15347 .quant8AsymmOperands = {{0, {138}}},
15348 // int -> QUANT16_SYMM map
15349 .quant16SymmOperands = {},
15350 // int -> FLOAT16 map
15351 .float16Operands = {},
15352 // int -> BOOL8 map
15353 .bool8Operands = {},
15354 // int -> QUANT8_SYMM_PER_CHANNEL map
15355 .quant8ChannelOperands = {},
15356 // int -> QUANT16_ASYMM map
15357 .quant16AsymmOperands = {},
15358 // int -> QUANT8_SYMM map
15359 .quant8SymmOperands = {},
15360 },
15361 //Output(s)
15362 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15363 // int -> Dimensions map
15364 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15365 // int -> FLOAT32 map
15366 .float32Operands = {},
15367 // int -> INT32 map
15368 .int32Operands = {{1, {0}}},
15369 // int -> QUANT8_ASYMM map
15370 .quant8AsymmOperands = {{0, {0}}, {2, {0}}},
15371 // int -> QUANT16_SYMM map
15372 .quant16SymmOperands = {},
15373 // int -> FLOAT16 map
15374 .float16Operands = {},
15375 // int -> BOOL8 map
15376 .bool8Operands = {},
15377 // int -> QUANT8_SYMM_PER_CHANNEL map
15378 .quant8ChannelOperands = {},
15379 // int -> QUANT16_ASYMM map
15380 .quant16AsymmOperands = {},
15381 // int -> QUANT8_SYMM map
15382 .quant8SymmOperands = {},
15383 }
15384 },
15385 }, // End of an example
15386 };
15387 return examples_zero_sized_nhwc_quant8;
15388 };
15389
get_examples_zero_sized_nhwc_float16()15390 std::vector<MixedTypedExample>& get_examples_zero_sized_nhwc_float16() {
15391 static std::vector<MixedTypedExample> examples_zero_sized_nhwc_float16 = {
15392 // Begin of an example
15393 {
15394 .operands = {
15395 //Input(s)
15396 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15397 // int -> Dimensions map
15398 .operandDimensions = {{0, {1, 1, 1, 1}}},
15399 // int -> FLOAT32 map
15400 .float32Operands = {},
15401 // int -> INT32 map
15402 .int32Operands = {},
15403 // int -> QUANT8_ASYMM map
15404 .quant8AsymmOperands = {},
15405 // int -> QUANT16_SYMM map
15406 .quant16SymmOperands = {},
15407 // int -> FLOAT16 map
15408 .float16Operands = {{0, {1.0f}}},
15409 // int -> BOOL8 map
15410 .bool8Operands = {},
15411 // int -> QUANT8_SYMM_PER_CHANNEL map
15412 .quant8ChannelOperands = {},
15413 // int -> QUANT16_ASYMM map
15414 .quant16AsymmOperands = {},
15415 // int -> QUANT8_SYMM map
15416 .quant8SymmOperands = {},
15417 },
15418 //Output(s)
15419 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15420 // int -> Dimensions map
15421 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15422 // int -> FLOAT32 map
15423 .float32Operands = {},
15424 // int -> INT32 map
15425 .int32Operands = {{1, {0}}},
15426 // int -> QUANT8_ASYMM map
15427 .quant8AsymmOperands = {},
15428 // int -> QUANT16_SYMM map
15429 .quant16SymmOperands = {},
15430 // int -> FLOAT16 map
15431 .float16Operands = {{0, {0.0f}}, {2, {0.0f}}},
15432 // int -> BOOL8 map
15433 .bool8Operands = {},
15434 // int -> QUANT8_SYMM_PER_CHANNEL map
15435 .quant8ChannelOperands = {},
15436 // int -> QUANT16_ASYMM map
15437 .quant16AsymmOperands = {},
15438 // int -> QUANT8_SYMM map
15439 .quant8SymmOperands = {},
15440 }
15441 },
15442 }, // End of an example
15443 };
15444 return examples_zero_sized_nhwc_float16;
15445 };
15446
get_examples_zero_sized_nchw()15447 std::vector<MixedTypedExample>& get_examples_zero_sized_nchw() {
15448 static std::vector<MixedTypedExample> examples_zero_sized_nchw = {
15449 // Begin of an example
15450 {
15451 .operands = {
15452 //Input(s)
15453 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15454 // int -> Dimensions map
15455 .operandDimensions = {{0, {1, 1, 1, 1}}},
15456 // int -> FLOAT32 map
15457 .float32Operands = {{0, {1.0f}}},
15458 // int -> INT32 map
15459 .int32Operands = {},
15460 // int -> QUANT8_ASYMM map
15461 .quant8AsymmOperands = {},
15462 // int -> QUANT16_SYMM map
15463 .quant16SymmOperands = {},
15464 // int -> FLOAT16 map
15465 .float16Operands = {},
15466 // int -> BOOL8 map
15467 .bool8Operands = {},
15468 // int -> QUANT8_SYMM_PER_CHANNEL map
15469 .quant8ChannelOperands = {},
15470 // int -> QUANT16_ASYMM map
15471 .quant16AsymmOperands = {},
15472 // int -> QUANT8_SYMM map
15473 .quant8SymmOperands = {},
15474 },
15475 //Output(s)
15476 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15477 // int -> Dimensions map
15478 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15479 // int -> FLOAT32 map
15480 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
15481 // int -> INT32 map
15482 .int32Operands = {{1, {0}}},
15483 // int -> QUANT8_ASYMM map
15484 .quant8AsymmOperands = {},
15485 // int -> QUANT16_SYMM map
15486 .quant16SymmOperands = {},
15487 // int -> FLOAT16 map
15488 .float16Operands = {},
15489 // int -> BOOL8 map
15490 .bool8Operands = {},
15491 // int -> QUANT8_SYMM_PER_CHANNEL map
15492 .quant8ChannelOperands = {},
15493 // int -> QUANT16_ASYMM map
15494 .quant16AsymmOperands = {},
15495 // int -> QUANT8_SYMM map
15496 .quant8SymmOperands = {},
15497 }
15498 },
15499 }, // End of an example
15500 };
15501 return examples_zero_sized_nchw;
15502 };
15503
get_examples_zero_sized_nchw_relaxed()15504 std::vector<MixedTypedExample>& get_examples_zero_sized_nchw_relaxed() {
15505 static std::vector<MixedTypedExample> examples_zero_sized_nchw_relaxed = {
15506 // Begin of an example
15507 {
15508 .operands = {
15509 //Input(s)
15510 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15511 // int -> Dimensions map
15512 .operandDimensions = {{0, {1, 1, 1, 1}}},
15513 // int -> FLOAT32 map
15514 .float32Operands = {{0, {1.0f}}},
15515 // int -> INT32 map
15516 .int32Operands = {},
15517 // int -> QUANT8_ASYMM map
15518 .quant8AsymmOperands = {},
15519 // int -> QUANT16_SYMM map
15520 .quant16SymmOperands = {},
15521 // int -> FLOAT16 map
15522 .float16Operands = {},
15523 // int -> BOOL8 map
15524 .bool8Operands = {},
15525 // int -> QUANT8_SYMM_PER_CHANNEL map
15526 .quant8ChannelOperands = {},
15527 // int -> QUANT16_ASYMM map
15528 .quant16AsymmOperands = {},
15529 // int -> QUANT8_SYMM map
15530 .quant8SymmOperands = {},
15531 },
15532 //Output(s)
15533 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15534 // int -> Dimensions map
15535 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15536 // int -> FLOAT32 map
15537 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
15538 // int -> INT32 map
15539 .int32Operands = {{1, {0}}},
15540 // int -> QUANT8_ASYMM map
15541 .quant8AsymmOperands = {},
15542 // int -> QUANT16_SYMM map
15543 .quant16SymmOperands = {},
15544 // int -> FLOAT16 map
15545 .float16Operands = {},
15546 // int -> BOOL8 map
15547 .bool8Operands = {},
15548 // int -> QUANT8_SYMM_PER_CHANNEL map
15549 .quant8ChannelOperands = {},
15550 // int -> QUANT16_ASYMM map
15551 .quant16AsymmOperands = {},
15552 // int -> QUANT8_SYMM map
15553 .quant8SymmOperands = {},
15554 }
15555 },
15556 }, // End of an example
15557 };
15558 return examples_zero_sized_nchw_relaxed;
15559 };
15560
get_examples_zero_sized_nchw_quant8()15561 std::vector<MixedTypedExample>& get_examples_zero_sized_nchw_quant8() {
15562 static std::vector<MixedTypedExample> examples_zero_sized_nchw_quant8 = {
15563 // Begin of an example
15564 {
15565 .operands = {
15566 //Input(s)
15567 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15568 // int -> Dimensions map
15569 .operandDimensions = {{0, {1, 1, 1, 1}}},
15570 // int -> FLOAT32 map
15571 .float32Operands = {},
15572 // int -> INT32 map
15573 .int32Operands = {},
15574 // int -> QUANT8_ASYMM map
15575 .quant8AsymmOperands = {{0, {138}}},
15576 // int -> QUANT16_SYMM map
15577 .quant16SymmOperands = {},
15578 // int -> FLOAT16 map
15579 .float16Operands = {},
15580 // int -> BOOL8 map
15581 .bool8Operands = {},
15582 // int -> QUANT8_SYMM_PER_CHANNEL map
15583 .quant8ChannelOperands = {},
15584 // int -> QUANT16_ASYMM map
15585 .quant16AsymmOperands = {},
15586 // int -> QUANT8_SYMM map
15587 .quant8SymmOperands = {},
15588 },
15589 //Output(s)
15590 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15591 // int -> Dimensions map
15592 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15593 // int -> FLOAT32 map
15594 .float32Operands = {},
15595 // int -> INT32 map
15596 .int32Operands = {{1, {0}}},
15597 // int -> QUANT8_ASYMM map
15598 .quant8AsymmOperands = {{0, {0}}, {2, {0}}},
15599 // int -> QUANT16_SYMM map
15600 .quant16SymmOperands = {},
15601 // int -> FLOAT16 map
15602 .float16Operands = {},
15603 // int -> BOOL8 map
15604 .bool8Operands = {},
15605 // int -> QUANT8_SYMM_PER_CHANNEL map
15606 .quant8ChannelOperands = {},
15607 // int -> QUANT16_ASYMM map
15608 .quant16AsymmOperands = {},
15609 // int -> QUANT8_SYMM map
15610 .quant8SymmOperands = {},
15611 }
15612 },
15613 }, // End of an example
15614 };
15615 return examples_zero_sized_nchw_quant8;
15616 };
15617
get_examples_zero_sized_nchw_float16()15618 std::vector<MixedTypedExample>& get_examples_zero_sized_nchw_float16() {
15619 static std::vector<MixedTypedExample> examples_zero_sized_nchw_float16 = {
15620 // Begin of an example
15621 {
15622 .operands = {
15623 //Input(s)
15624 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15625 // int -> Dimensions map
15626 .operandDimensions = {{0, {1, 1, 1, 1}}},
15627 // int -> FLOAT32 map
15628 .float32Operands = {},
15629 // int -> INT32 map
15630 .int32Operands = {},
15631 // int -> QUANT8_ASYMM map
15632 .quant8AsymmOperands = {},
15633 // int -> QUANT16_SYMM map
15634 .quant16SymmOperands = {},
15635 // int -> FLOAT16 map
15636 .float16Operands = {{0, {1.0f}}},
15637 // int -> BOOL8 map
15638 .bool8Operands = {},
15639 // int -> QUANT8_SYMM_PER_CHANNEL map
15640 .quant8ChannelOperands = {},
15641 // int -> QUANT16_ASYMM map
15642 .quant16AsymmOperands = {},
15643 // int -> QUANT8_SYMM map
15644 .quant8SymmOperands = {},
15645 },
15646 //Output(s)
15647 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15648 // int -> Dimensions map
15649 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15650 // int -> FLOAT32 map
15651 .float32Operands = {},
15652 // int -> INT32 map
15653 .int32Operands = {{1, {0}}},
15654 // int -> QUANT8_ASYMM map
15655 .quant8AsymmOperands = {},
15656 // int -> QUANT16_SYMM map
15657 .quant16SymmOperands = {},
15658 // int -> FLOAT16 map
15659 .float16Operands = {{0, {0.0f}}, {2, {0.0f}}},
15660 // int -> BOOL8 map
15661 .bool8Operands = {},
15662 // int -> QUANT8_SYMM_PER_CHANNEL map
15663 .quant8ChannelOperands = {},
15664 // int -> QUANT16_ASYMM map
15665 .quant16AsymmOperands = {},
15666 // int -> QUANT8_SYMM map
15667 .quant8SymmOperands = {},
15668 }
15669 },
15670 }, // End of an example
15671 };
15672 return examples_zero_sized_nchw_float16;
15673 };
15674
get_examples_zero_sized_dynamic_output_shape_nhwc()15675 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nhwc() {
15676 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nhwc = {
15677 // Begin of an example
15678 {
15679 .operands = {
15680 //Input(s)
15681 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15682 // int -> Dimensions map
15683 .operandDimensions = {{0, {1, 1, 1, 1}}},
15684 // int -> FLOAT32 map
15685 .float32Operands = {{0, {1.0f}}},
15686 // int -> INT32 map
15687 .int32Operands = {},
15688 // int -> QUANT8_ASYMM map
15689 .quant8AsymmOperands = {},
15690 // int -> QUANT16_SYMM map
15691 .quant16SymmOperands = {},
15692 // int -> FLOAT16 map
15693 .float16Operands = {},
15694 // int -> BOOL8 map
15695 .bool8Operands = {},
15696 // int -> QUANT8_SYMM_PER_CHANNEL map
15697 .quant8ChannelOperands = {},
15698 // int -> QUANT16_ASYMM map
15699 .quant16AsymmOperands = {},
15700 // int -> QUANT8_SYMM map
15701 .quant8SymmOperands = {},
15702 },
15703 //Output(s)
15704 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15705 // int -> Dimensions map
15706 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15707 // int -> FLOAT32 map
15708 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
15709 // int -> INT32 map
15710 .int32Operands = {{1, {0}}},
15711 // int -> QUANT8_ASYMM map
15712 .quant8AsymmOperands = {},
15713 // int -> QUANT16_SYMM map
15714 .quant16SymmOperands = {},
15715 // int -> FLOAT16 map
15716 .float16Operands = {},
15717 // int -> BOOL8 map
15718 .bool8Operands = {},
15719 // int -> QUANT8_SYMM_PER_CHANNEL map
15720 .quant8ChannelOperands = {},
15721 // int -> QUANT16_ASYMM map
15722 .quant16AsymmOperands = {},
15723 // int -> QUANT8_SYMM map
15724 .quant8SymmOperands = {},
15725 }
15726 },
15727 }, // End of an example
15728 };
15729 return examples_zero_sized_dynamic_output_shape_nhwc;
15730 };
15731
get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed()15732 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed() {
15733 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nhwc_relaxed = {
15734 // Begin of an example
15735 {
15736 .operands = {
15737 //Input(s)
15738 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15739 // int -> Dimensions map
15740 .operandDimensions = {{0, {1, 1, 1, 1}}},
15741 // int -> FLOAT32 map
15742 .float32Operands = {{0, {1.0f}}},
15743 // int -> INT32 map
15744 .int32Operands = {},
15745 // int -> QUANT8_ASYMM map
15746 .quant8AsymmOperands = {},
15747 // int -> QUANT16_SYMM map
15748 .quant16SymmOperands = {},
15749 // int -> FLOAT16 map
15750 .float16Operands = {},
15751 // int -> BOOL8 map
15752 .bool8Operands = {},
15753 // int -> QUANT8_SYMM_PER_CHANNEL map
15754 .quant8ChannelOperands = {},
15755 // int -> QUANT16_ASYMM map
15756 .quant16AsymmOperands = {},
15757 // int -> QUANT8_SYMM map
15758 .quant8SymmOperands = {},
15759 },
15760 //Output(s)
15761 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15762 // int -> Dimensions map
15763 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15764 // int -> FLOAT32 map
15765 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
15766 // int -> INT32 map
15767 .int32Operands = {{1, {0}}},
15768 // int -> QUANT8_ASYMM map
15769 .quant8AsymmOperands = {},
15770 // int -> QUANT16_SYMM map
15771 .quant16SymmOperands = {},
15772 // int -> FLOAT16 map
15773 .float16Operands = {},
15774 // int -> BOOL8 map
15775 .bool8Operands = {},
15776 // int -> QUANT8_SYMM_PER_CHANNEL map
15777 .quant8ChannelOperands = {},
15778 // int -> QUANT16_ASYMM map
15779 .quant16AsymmOperands = {},
15780 // int -> QUANT8_SYMM map
15781 .quant8SymmOperands = {},
15782 }
15783 },
15784 }, // End of an example
15785 };
15786 return examples_zero_sized_dynamic_output_shape_nhwc_relaxed;
15787 };
15788
get_examples_zero_sized_dynamic_output_shape_nhwc_quant8()15789 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nhwc_quant8() {
15790 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nhwc_quant8 = {
15791 // Begin of an example
15792 {
15793 .operands = {
15794 //Input(s)
15795 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15796 // int -> Dimensions map
15797 .operandDimensions = {{0, {1, 1, 1, 1}}},
15798 // int -> FLOAT32 map
15799 .float32Operands = {},
15800 // int -> INT32 map
15801 .int32Operands = {},
15802 // int -> QUANT8_ASYMM map
15803 .quant8AsymmOperands = {{0, {138}}},
15804 // int -> QUANT16_SYMM map
15805 .quant16SymmOperands = {},
15806 // int -> FLOAT16 map
15807 .float16Operands = {},
15808 // int -> BOOL8 map
15809 .bool8Operands = {},
15810 // int -> QUANT8_SYMM_PER_CHANNEL map
15811 .quant8ChannelOperands = {},
15812 // int -> QUANT16_ASYMM map
15813 .quant16AsymmOperands = {},
15814 // int -> QUANT8_SYMM map
15815 .quant8SymmOperands = {},
15816 },
15817 //Output(s)
15818 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15819 // int -> Dimensions map
15820 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15821 // int -> FLOAT32 map
15822 .float32Operands = {},
15823 // int -> INT32 map
15824 .int32Operands = {{1, {0}}},
15825 // int -> QUANT8_ASYMM map
15826 .quant8AsymmOperands = {{0, {0}}, {2, {0}}},
15827 // int -> QUANT16_SYMM map
15828 .quant16SymmOperands = {},
15829 // int -> FLOAT16 map
15830 .float16Operands = {},
15831 // int -> BOOL8 map
15832 .bool8Operands = {},
15833 // int -> QUANT8_SYMM_PER_CHANNEL map
15834 .quant8ChannelOperands = {},
15835 // int -> QUANT16_ASYMM map
15836 .quant16AsymmOperands = {},
15837 // int -> QUANT8_SYMM map
15838 .quant8SymmOperands = {},
15839 }
15840 },
15841 }, // End of an example
15842 };
15843 return examples_zero_sized_dynamic_output_shape_nhwc_quant8;
15844 };
15845
get_examples_zero_sized_dynamic_output_shape_nhwc_float16()15846 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nhwc_float16() {
15847 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nhwc_float16 = {
15848 // Begin of an example
15849 {
15850 .operands = {
15851 //Input(s)
15852 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15853 // int -> Dimensions map
15854 .operandDimensions = {{0, {1, 1, 1, 1}}},
15855 // int -> FLOAT32 map
15856 .float32Operands = {},
15857 // int -> INT32 map
15858 .int32Operands = {},
15859 // int -> QUANT8_ASYMM map
15860 .quant8AsymmOperands = {},
15861 // int -> QUANT16_SYMM map
15862 .quant16SymmOperands = {},
15863 // int -> FLOAT16 map
15864 .float16Operands = {{0, {1.0f}}},
15865 // int -> BOOL8 map
15866 .bool8Operands = {},
15867 // int -> QUANT8_SYMM_PER_CHANNEL map
15868 .quant8ChannelOperands = {},
15869 // int -> QUANT16_ASYMM map
15870 .quant16AsymmOperands = {},
15871 // int -> QUANT8_SYMM map
15872 .quant8SymmOperands = {},
15873 },
15874 //Output(s)
15875 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15876 // int -> Dimensions map
15877 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15878 // int -> FLOAT32 map
15879 .float32Operands = {},
15880 // int -> INT32 map
15881 .int32Operands = {{1, {0}}},
15882 // int -> QUANT8_ASYMM map
15883 .quant8AsymmOperands = {},
15884 // int -> QUANT16_SYMM map
15885 .quant16SymmOperands = {},
15886 // int -> FLOAT16 map
15887 .float16Operands = {{0, {0.0f}}, {2, {0.0f}}},
15888 // int -> BOOL8 map
15889 .bool8Operands = {},
15890 // int -> QUANT8_SYMM_PER_CHANNEL map
15891 .quant8ChannelOperands = {},
15892 // int -> QUANT16_ASYMM map
15893 .quant16AsymmOperands = {},
15894 // int -> QUANT8_SYMM map
15895 .quant8SymmOperands = {},
15896 }
15897 },
15898 }, // End of an example
15899 };
15900 return examples_zero_sized_dynamic_output_shape_nhwc_float16;
15901 };
15902
get_examples_zero_sized_dynamic_output_shape_nchw()15903 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nchw() {
15904 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nchw = {
15905 // Begin of an example
15906 {
15907 .operands = {
15908 //Input(s)
15909 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15910 // int -> Dimensions map
15911 .operandDimensions = {{0, {1, 1, 1, 1}}},
15912 // int -> FLOAT32 map
15913 .float32Operands = {{0, {1.0f}}},
15914 // int -> INT32 map
15915 .int32Operands = {},
15916 // int -> QUANT8_ASYMM map
15917 .quant8AsymmOperands = {},
15918 // int -> QUANT16_SYMM map
15919 .quant16SymmOperands = {},
15920 // int -> FLOAT16 map
15921 .float16Operands = {},
15922 // int -> BOOL8 map
15923 .bool8Operands = {},
15924 // int -> QUANT8_SYMM_PER_CHANNEL map
15925 .quant8ChannelOperands = {},
15926 // int -> QUANT16_ASYMM map
15927 .quant16AsymmOperands = {},
15928 // int -> QUANT8_SYMM map
15929 .quant8SymmOperands = {},
15930 },
15931 //Output(s)
15932 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15933 // int -> Dimensions map
15934 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15935 // int -> FLOAT32 map
15936 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
15937 // int -> INT32 map
15938 .int32Operands = {{1, {0}}},
15939 // int -> QUANT8_ASYMM map
15940 .quant8AsymmOperands = {},
15941 // int -> QUANT16_SYMM map
15942 .quant16SymmOperands = {},
15943 // int -> FLOAT16 map
15944 .float16Operands = {},
15945 // int -> BOOL8 map
15946 .bool8Operands = {},
15947 // int -> QUANT8_SYMM_PER_CHANNEL map
15948 .quant8ChannelOperands = {},
15949 // int -> QUANT16_ASYMM map
15950 .quant16AsymmOperands = {},
15951 // int -> QUANT8_SYMM map
15952 .quant8SymmOperands = {},
15953 }
15954 },
15955 }, // End of an example
15956 };
15957 return examples_zero_sized_dynamic_output_shape_nchw;
15958 };
15959
get_examples_zero_sized_dynamic_output_shape_nchw_relaxed()15960 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nchw_relaxed() {
15961 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nchw_relaxed = {
15962 // Begin of an example
15963 {
15964 .operands = {
15965 //Input(s)
15966 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15967 // int -> Dimensions map
15968 .operandDimensions = {{0, {1, 1, 1, 1}}},
15969 // int -> FLOAT32 map
15970 .float32Operands = {{0, {1.0f}}},
15971 // int -> INT32 map
15972 .int32Operands = {},
15973 // int -> QUANT8_ASYMM map
15974 .quant8AsymmOperands = {},
15975 // int -> QUANT16_SYMM map
15976 .quant16SymmOperands = {},
15977 // int -> FLOAT16 map
15978 .float16Operands = {},
15979 // int -> BOOL8 map
15980 .bool8Operands = {},
15981 // int -> QUANT8_SYMM_PER_CHANNEL map
15982 .quant8ChannelOperands = {},
15983 // int -> QUANT16_ASYMM map
15984 .quant16AsymmOperands = {},
15985 // int -> QUANT8_SYMM map
15986 .quant8SymmOperands = {},
15987 },
15988 //Output(s)
15989 { // See tools/test_generator/include/TestHarness.h:MixedTyped
15990 // int -> Dimensions map
15991 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
15992 // int -> FLOAT32 map
15993 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
15994 // int -> INT32 map
15995 .int32Operands = {{1, {0}}},
15996 // int -> QUANT8_ASYMM map
15997 .quant8AsymmOperands = {},
15998 // int -> QUANT16_SYMM map
15999 .quant16SymmOperands = {},
16000 // int -> FLOAT16 map
16001 .float16Operands = {},
16002 // int -> BOOL8 map
16003 .bool8Operands = {},
16004 // int -> QUANT8_SYMM_PER_CHANNEL map
16005 .quant8ChannelOperands = {},
16006 // int -> QUANT16_ASYMM map
16007 .quant16AsymmOperands = {},
16008 // int -> QUANT8_SYMM map
16009 .quant8SymmOperands = {},
16010 }
16011 },
16012 }, // End of an example
16013 };
16014 return examples_zero_sized_dynamic_output_shape_nchw_relaxed;
16015 };
16016
get_examples_zero_sized_dynamic_output_shape_nchw_quant8()16017 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nchw_quant8() {
16018 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nchw_quant8 = {
16019 // Begin of an example
16020 {
16021 .operands = {
16022 //Input(s)
16023 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16024 // int -> Dimensions map
16025 .operandDimensions = {{0, {1, 1, 1, 1}}},
16026 // int -> FLOAT32 map
16027 .float32Operands = {},
16028 // int -> INT32 map
16029 .int32Operands = {},
16030 // int -> QUANT8_ASYMM map
16031 .quant8AsymmOperands = {{0, {138}}},
16032 // int -> QUANT16_SYMM map
16033 .quant16SymmOperands = {},
16034 // int -> FLOAT16 map
16035 .float16Operands = {},
16036 // int -> BOOL8 map
16037 .bool8Operands = {},
16038 // int -> QUANT8_SYMM_PER_CHANNEL map
16039 .quant8ChannelOperands = {},
16040 // int -> QUANT16_ASYMM map
16041 .quant16AsymmOperands = {},
16042 // int -> QUANT8_SYMM map
16043 .quant8SymmOperands = {},
16044 },
16045 //Output(s)
16046 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16047 // int -> Dimensions map
16048 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16049 // int -> FLOAT32 map
16050 .float32Operands = {},
16051 // int -> INT32 map
16052 .int32Operands = {{1, {0}}},
16053 // int -> QUANT8_ASYMM map
16054 .quant8AsymmOperands = {{0, {0}}, {2, {0}}},
16055 // int -> QUANT16_SYMM map
16056 .quant16SymmOperands = {},
16057 // int -> FLOAT16 map
16058 .float16Operands = {},
16059 // int -> BOOL8 map
16060 .bool8Operands = {},
16061 // int -> QUANT8_SYMM_PER_CHANNEL map
16062 .quant8ChannelOperands = {},
16063 // int -> QUANT16_ASYMM map
16064 .quant16AsymmOperands = {},
16065 // int -> QUANT8_SYMM map
16066 .quant8SymmOperands = {},
16067 }
16068 },
16069 }, // End of an example
16070 };
16071 return examples_zero_sized_dynamic_output_shape_nchw_quant8;
16072 };
16073
get_examples_zero_sized_dynamic_output_shape_nchw_float16()16074 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nchw_float16() {
16075 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nchw_float16 = {
16076 // Begin of an example
16077 {
16078 .operands = {
16079 //Input(s)
16080 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16081 // int -> Dimensions map
16082 .operandDimensions = {{0, {1, 1, 1, 1}}},
16083 // int -> FLOAT32 map
16084 .float32Operands = {},
16085 // int -> INT32 map
16086 .int32Operands = {},
16087 // int -> QUANT8_ASYMM map
16088 .quant8AsymmOperands = {},
16089 // int -> QUANT16_SYMM map
16090 .quant16SymmOperands = {},
16091 // int -> FLOAT16 map
16092 .float16Operands = {{0, {1.0f}}},
16093 // int -> BOOL8 map
16094 .bool8Operands = {},
16095 // int -> QUANT8_SYMM_PER_CHANNEL map
16096 .quant8ChannelOperands = {},
16097 // int -> QUANT16_ASYMM map
16098 .quant16AsymmOperands = {},
16099 // int -> QUANT8_SYMM map
16100 .quant8SymmOperands = {},
16101 },
16102 //Output(s)
16103 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16104 // int -> Dimensions map
16105 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16106 // int -> FLOAT32 map
16107 .float32Operands = {},
16108 // int -> INT32 map
16109 .int32Operands = {{1, {0}}},
16110 // int -> QUANT8_ASYMM map
16111 .quant8AsymmOperands = {},
16112 // int -> QUANT16_SYMM map
16113 .quant16SymmOperands = {},
16114 // int -> FLOAT16 map
16115 .float16Operands = {{0, {0.0f}}, {2, {0.0f}}},
16116 // int -> BOOL8 map
16117 .bool8Operands = {},
16118 // int -> QUANT8_SYMM_PER_CHANNEL map
16119 .quant8ChannelOperands = {},
16120 // int -> QUANT16_ASYMM map
16121 .quant16AsymmOperands = {},
16122 // int -> QUANT8_SYMM map
16123 .quant8SymmOperands = {},
16124 }
16125 },
16126 }, // End of an example
16127 };
16128 return examples_zero_sized_dynamic_output_shape_nchw_float16;
16129 };
16130
get_examples_zero_sized_nhwc_2()16131 std::vector<MixedTypedExample>& get_examples_zero_sized_nhwc_2() {
16132 static std::vector<MixedTypedExample> examples_zero_sized_nhwc_2 = {
16133 // Begin of an example
16134 {
16135 .operands = {
16136 //Input(s)
16137 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16138 // int -> Dimensions map
16139 .operandDimensions = {{0, {1, 1, 1, 1}}},
16140 // int -> FLOAT32 map
16141 .float32Operands = {{0, {1.0f}}},
16142 // int -> INT32 map
16143 .int32Operands = {},
16144 // int -> QUANT8_ASYMM map
16145 .quant8AsymmOperands = {},
16146 // int -> QUANT16_SYMM map
16147 .quant16SymmOperands = {},
16148 // int -> FLOAT16 map
16149 .float16Operands = {},
16150 // int -> BOOL8 map
16151 .bool8Operands = {},
16152 // int -> QUANT8_SYMM_PER_CHANNEL map
16153 .quant8ChannelOperands = {},
16154 // int -> QUANT16_ASYMM map
16155 .quant16AsymmOperands = {},
16156 // int -> QUANT8_SYMM map
16157 .quant8SymmOperands = {},
16158 },
16159 //Output(s)
16160 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16161 // int -> Dimensions map
16162 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16163 // int -> FLOAT32 map
16164 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
16165 // int -> INT32 map
16166 .int32Operands = {{1, {0}}},
16167 // int -> QUANT8_ASYMM map
16168 .quant8AsymmOperands = {},
16169 // int -> QUANT16_SYMM map
16170 .quant16SymmOperands = {},
16171 // int -> FLOAT16 map
16172 .float16Operands = {},
16173 // int -> BOOL8 map
16174 .bool8Operands = {},
16175 // int -> QUANT8_SYMM_PER_CHANNEL map
16176 .quant8ChannelOperands = {},
16177 // int -> QUANT16_ASYMM map
16178 .quant16AsymmOperands = {},
16179 // int -> QUANT8_SYMM map
16180 .quant8SymmOperands = {},
16181 }
16182 },
16183 }, // End of an example
16184 };
16185 return examples_zero_sized_nhwc_2;
16186 };
16187
get_examples_zero_sized_nhwc_relaxed_2()16188 std::vector<MixedTypedExample>& get_examples_zero_sized_nhwc_relaxed_2() {
16189 static std::vector<MixedTypedExample> examples_zero_sized_nhwc_relaxed_2 = {
16190 // Begin of an example
16191 {
16192 .operands = {
16193 //Input(s)
16194 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16195 // int -> Dimensions map
16196 .operandDimensions = {{0, {1, 1, 1, 1}}},
16197 // int -> FLOAT32 map
16198 .float32Operands = {{0, {1.0f}}},
16199 // int -> INT32 map
16200 .int32Operands = {},
16201 // int -> QUANT8_ASYMM map
16202 .quant8AsymmOperands = {},
16203 // int -> QUANT16_SYMM map
16204 .quant16SymmOperands = {},
16205 // int -> FLOAT16 map
16206 .float16Operands = {},
16207 // int -> BOOL8 map
16208 .bool8Operands = {},
16209 // int -> QUANT8_SYMM_PER_CHANNEL map
16210 .quant8ChannelOperands = {},
16211 // int -> QUANT16_ASYMM map
16212 .quant16AsymmOperands = {},
16213 // int -> QUANT8_SYMM map
16214 .quant8SymmOperands = {},
16215 },
16216 //Output(s)
16217 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16218 // int -> Dimensions map
16219 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16220 // int -> FLOAT32 map
16221 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
16222 // int -> INT32 map
16223 .int32Operands = {{1, {0}}},
16224 // int -> QUANT8_ASYMM map
16225 .quant8AsymmOperands = {},
16226 // int -> QUANT16_SYMM map
16227 .quant16SymmOperands = {},
16228 // int -> FLOAT16 map
16229 .float16Operands = {},
16230 // int -> BOOL8 map
16231 .bool8Operands = {},
16232 // int -> QUANT8_SYMM_PER_CHANNEL map
16233 .quant8ChannelOperands = {},
16234 // int -> QUANT16_ASYMM map
16235 .quant16AsymmOperands = {},
16236 // int -> QUANT8_SYMM map
16237 .quant8SymmOperands = {},
16238 }
16239 },
16240 }, // End of an example
16241 };
16242 return examples_zero_sized_nhwc_relaxed_2;
16243 };
16244
get_examples_zero_sized_nhwc_quant8_2()16245 std::vector<MixedTypedExample>& get_examples_zero_sized_nhwc_quant8_2() {
16246 static std::vector<MixedTypedExample> examples_zero_sized_nhwc_quant8_2 = {
16247 // Begin of an example
16248 {
16249 .operands = {
16250 //Input(s)
16251 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16252 // int -> Dimensions map
16253 .operandDimensions = {{0, {1, 1, 1, 1}}},
16254 // int -> FLOAT32 map
16255 .float32Operands = {},
16256 // int -> INT32 map
16257 .int32Operands = {},
16258 // int -> QUANT8_ASYMM map
16259 .quant8AsymmOperands = {{0, {138}}},
16260 // int -> QUANT16_SYMM map
16261 .quant16SymmOperands = {},
16262 // int -> FLOAT16 map
16263 .float16Operands = {},
16264 // int -> BOOL8 map
16265 .bool8Operands = {},
16266 // int -> QUANT8_SYMM_PER_CHANNEL map
16267 .quant8ChannelOperands = {},
16268 // int -> QUANT16_ASYMM map
16269 .quant16AsymmOperands = {},
16270 // int -> QUANT8_SYMM map
16271 .quant8SymmOperands = {},
16272 },
16273 //Output(s)
16274 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16275 // int -> Dimensions map
16276 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16277 // int -> FLOAT32 map
16278 .float32Operands = {},
16279 // int -> INT32 map
16280 .int32Operands = {{1, {0}}},
16281 // int -> QUANT8_ASYMM map
16282 .quant8AsymmOperands = {{0, {0}}, {2, {0}}},
16283 // int -> QUANT16_SYMM map
16284 .quant16SymmOperands = {},
16285 // int -> FLOAT16 map
16286 .float16Operands = {},
16287 // int -> BOOL8 map
16288 .bool8Operands = {},
16289 // int -> QUANT8_SYMM_PER_CHANNEL map
16290 .quant8ChannelOperands = {},
16291 // int -> QUANT16_ASYMM map
16292 .quant16AsymmOperands = {},
16293 // int -> QUANT8_SYMM map
16294 .quant8SymmOperands = {},
16295 }
16296 },
16297 }, // End of an example
16298 };
16299 return examples_zero_sized_nhwc_quant8_2;
16300 };
16301
get_examples_zero_sized_nhwc_float16_2()16302 std::vector<MixedTypedExample>& get_examples_zero_sized_nhwc_float16_2() {
16303 static std::vector<MixedTypedExample> examples_zero_sized_nhwc_float16_2 = {
16304 // Begin of an example
16305 {
16306 .operands = {
16307 //Input(s)
16308 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16309 // int -> Dimensions map
16310 .operandDimensions = {{0, {1, 1, 1, 1}}},
16311 // int -> FLOAT32 map
16312 .float32Operands = {},
16313 // int -> INT32 map
16314 .int32Operands = {},
16315 // int -> QUANT8_ASYMM map
16316 .quant8AsymmOperands = {},
16317 // int -> QUANT16_SYMM map
16318 .quant16SymmOperands = {},
16319 // int -> FLOAT16 map
16320 .float16Operands = {{0, {1.0f}}},
16321 // int -> BOOL8 map
16322 .bool8Operands = {},
16323 // int -> QUANT8_SYMM_PER_CHANNEL map
16324 .quant8ChannelOperands = {},
16325 // int -> QUANT16_ASYMM map
16326 .quant16AsymmOperands = {},
16327 // int -> QUANT8_SYMM map
16328 .quant8SymmOperands = {},
16329 },
16330 //Output(s)
16331 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16332 // int -> Dimensions map
16333 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16334 // int -> FLOAT32 map
16335 .float32Operands = {},
16336 // int -> INT32 map
16337 .int32Operands = {{1, {0}}},
16338 // int -> QUANT8_ASYMM map
16339 .quant8AsymmOperands = {},
16340 // int -> QUANT16_SYMM map
16341 .quant16SymmOperands = {},
16342 // int -> FLOAT16 map
16343 .float16Operands = {{0, {0.0f}}, {2, {0.0f}}},
16344 // int -> BOOL8 map
16345 .bool8Operands = {},
16346 // int -> QUANT8_SYMM_PER_CHANNEL map
16347 .quant8ChannelOperands = {},
16348 // int -> QUANT16_ASYMM map
16349 .quant16AsymmOperands = {},
16350 // int -> QUANT8_SYMM map
16351 .quant8SymmOperands = {},
16352 }
16353 },
16354 }, // End of an example
16355 };
16356 return examples_zero_sized_nhwc_float16_2;
16357 };
16358
get_examples_zero_sized_nchw_2()16359 std::vector<MixedTypedExample>& get_examples_zero_sized_nchw_2() {
16360 static std::vector<MixedTypedExample> examples_zero_sized_nchw_2 = {
16361 // Begin of an example
16362 {
16363 .operands = {
16364 //Input(s)
16365 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16366 // int -> Dimensions map
16367 .operandDimensions = {{0, {1, 1, 1, 1}}},
16368 // int -> FLOAT32 map
16369 .float32Operands = {{0, {1.0f}}},
16370 // int -> INT32 map
16371 .int32Operands = {},
16372 // int -> QUANT8_ASYMM map
16373 .quant8AsymmOperands = {},
16374 // int -> QUANT16_SYMM map
16375 .quant16SymmOperands = {},
16376 // int -> FLOAT16 map
16377 .float16Operands = {},
16378 // int -> BOOL8 map
16379 .bool8Operands = {},
16380 // int -> QUANT8_SYMM_PER_CHANNEL map
16381 .quant8ChannelOperands = {},
16382 // int -> QUANT16_ASYMM map
16383 .quant16AsymmOperands = {},
16384 // int -> QUANT8_SYMM map
16385 .quant8SymmOperands = {},
16386 },
16387 //Output(s)
16388 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16389 // int -> Dimensions map
16390 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16391 // int -> FLOAT32 map
16392 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
16393 // int -> INT32 map
16394 .int32Operands = {{1, {0}}},
16395 // int -> QUANT8_ASYMM map
16396 .quant8AsymmOperands = {},
16397 // int -> QUANT16_SYMM map
16398 .quant16SymmOperands = {},
16399 // int -> FLOAT16 map
16400 .float16Operands = {},
16401 // int -> BOOL8 map
16402 .bool8Operands = {},
16403 // int -> QUANT8_SYMM_PER_CHANNEL map
16404 .quant8ChannelOperands = {},
16405 // int -> QUANT16_ASYMM map
16406 .quant16AsymmOperands = {},
16407 // int -> QUANT8_SYMM map
16408 .quant8SymmOperands = {},
16409 }
16410 },
16411 }, // End of an example
16412 };
16413 return examples_zero_sized_nchw_2;
16414 };
16415
get_examples_zero_sized_nchw_relaxed_2()16416 std::vector<MixedTypedExample>& get_examples_zero_sized_nchw_relaxed_2() {
16417 static std::vector<MixedTypedExample> examples_zero_sized_nchw_relaxed_2 = {
16418 // Begin of an example
16419 {
16420 .operands = {
16421 //Input(s)
16422 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16423 // int -> Dimensions map
16424 .operandDimensions = {{0, {1, 1, 1, 1}}},
16425 // int -> FLOAT32 map
16426 .float32Operands = {{0, {1.0f}}},
16427 // int -> INT32 map
16428 .int32Operands = {},
16429 // int -> QUANT8_ASYMM map
16430 .quant8AsymmOperands = {},
16431 // int -> QUANT16_SYMM map
16432 .quant16SymmOperands = {},
16433 // int -> FLOAT16 map
16434 .float16Operands = {},
16435 // int -> BOOL8 map
16436 .bool8Operands = {},
16437 // int -> QUANT8_SYMM_PER_CHANNEL map
16438 .quant8ChannelOperands = {},
16439 // int -> QUANT16_ASYMM map
16440 .quant16AsymmOperands = {},
16441 // int -> QUANT8_SYMM map
16442 .quant8SymmOperands = {},
16443 },
16444 //Output(s)
16445 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16446 // int -> Dimensions map
16447 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16448 // int -> FLOAT32 map
16449 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
16450 // int -> INT32 map
16451 .int32Operands = {{1, {0}}},
16452 // int -> QUANT8_ASYMM map
16453 .quant8AsymmOperands = {},
16454 // int -> QUANT16_SYMM map
16455 .quant16SymmOperands = {},
16456 // int -> FLOAT16 map
16457 .float16Operands = {},
16458 // int -> BOOL8 map
16459 .bool8Operands = {},
16460 // int -> QUANT8_SYMM_PER_CHANNEL map
16461 .quant8ChannelOperands = {},
16462 // int -> QUANT16_ASYMM map
16463 .quant16AsymmOperands = {},
16464 // int -> QUANT8_SYMM map
16465 .quant8SymmOperands = {},
16466 }
16467 },
16468 }, // End of an example
16469 };
16470 return examples_zero_sized_nchw_relaxed_2;
16471 };
16472
get_examples_zero_sized_nchw_quant8_2()16473 std::vector<MixedTypedExample>& get_examples_zero_sized_nchw_quant8_2() {
16474 static std::vector<MixedTypedExample> examples_zero_sized_nchw_quant8_2 = {
16475 // Begin of an example
16476 {
16477 .operands = {
16478 //Input(s)
16479 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16480 // int -> Dimensions map
16481 .operandDimensions = {{0, {1, 1, 1, 1}}},
16482 // int -> FLOAT32 map
16483 .float32Operands = {},
16484 // int -> INT32 map
16485 .int32Operands = {},
16486 // int -> QUANT8_ASYMM map
16487 .quant8AsymmOperands = {{0, {138}}},
16488 // int -> QUANT16_SYMM map
16489 .quant16SymmOperands = {},
16490 // int -> FLOAT16 map
16491 .float16Operands = {},
16492 // int -> BOOL8 map
16493 .bool8Operands = {},
16494 // int -> QUANT8_SYMM_PER_CHANNEL map
16495 .quant8ChannelOperands = {},
16496 // int -> QUANT16_ASYMM map
16497 .quant16AsymmOperands = {},
16498 // int -> QUANT8_SYMM map
16499 .quant8SymmOperands = {},
16500 },
16501 //Output(s)
16502 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16503 // int -> Dimensions map
16504 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16505 // int -> FLOAT32 map
16506 .float32Operands = {},
16507 // int -> INT32 map
16508 .int32Operands = {{1, {0}}},
16509 // int -> QUANT8_ASYMM map
16510 .quant8AsymmOperands = {{0, {0}}, {2, {0}}},
16511 // int -> QUANT16_SYMM map
16512 .quant16SymmOperands = {},
16513 // int -> FLOAT16 map
16514 .float16Operands = {},
16515 // int -> BOOL8 map
16516 .bool8Operands = {},
16517 // int -> QUANT8_SYMM_PER_CHANNEL map
16518 .quant8ChannelOperands = {},
16519 // int -> QUANT16_ASYMM map
16520 .quant16AsymmOperands = {},
16521 // int -> QUANT8_SYMM map
16522 .quant8SymmOperands = {},
16523 }
16524 },
16525 }, // End of an example
16526 };
16527 return examples_zero_sized_nchw_quant8_2;
16528 };
16529
get_examples_zero_sized_nchw_float16_2()16530 std::vector<MixedTypedExample>& get_examples_zero_sized_nchw_float16_2() {
16531 static std::vector<MixedTypedExample> examples_zero_sized_nchw_float16_2 = {
16532 // Begin of an example
16533 {
16534 .operands = {
16535 //Input(s)
16536 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16537 // int -> Dimensions map
16538 .operandDimensions = {{0, {1, 1, 1, 1}}},
16539 // int -> FLOAT32 map
16540 .float32Operands = {},
16541 // int -> INT32 map
16542 .int32Operands = {},
16543 // int -> QUANT8_ASYMM map
16544 .quant8AsymmOperands = {},
16545 // int -> QUANT16_SYMM map
16546 .quant16SymmOperands = {},
16547 // int -> FLOAT16 map
16548 .float16Operands = {{0, {1.0f}}},
16549 // int -> BOOL8 map
16550 .bool8Operands = {},
16551 // int -> QUANT8_SYMM_PER_CHANNEL map
16552 .quant8ChannelOperands = {},
16553 // int -> QUANT16_ASYMM map
16554 .quant16AsymmOperands = {},
16555 // int -> QUANT8_SYMM map
16556 .quant8SymmOperands = {},
16557 },
16558 //Output(s)
16559 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16560 // int -> Dimensions map
16561 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16562 // int -> FLOAT32 map
16563 .float32Operands = {},
16564 // int -> INT32 map
16565 .int32Operands = {{1, {0}}},
16566 // int -> QUANT8_ASYMM map
16567 .quant8AsymmOperands = {},
16568 // int -> QUANT16_SYMM map
16569 .quant16SymmOperands = {},
16570 // int -> FLOAT16 map
16571 .float16Operands = {{0, {0.0f}}, {2, {0.0f}}},
16572 // int -> BOOL8 map
16573 .bool8Operands = {},
16574 // int -> QUANT8_SYMM_PER_CHANNEL map
16575 .quant8ChannelOperands = {},
16576 // int -> QUANT16_ASYMM map
16577 .quant16AsymmOperands = {},
16578 // int -> QUANT8_SYMM map
16579 .quant8SymmOperands = {},
16580 }
16581 },
16582 }, // End of an example
16583 };
16584 return examples_zero_sized_nchw_float16_2;
16585 };
16586
get_examples_zero_sized_dynamic_output_shape_nhwc_2()16587 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nhwc_2() {
16588 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nhwc_2 = {
16589 // Begin of an example
16590 {
16591 .operands = {
16592 //Input(s)
16593 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16594 // int -> Dimensions map
16595 .operandDimensions = {{0, {1, 1, 1, 1}}},
16596 // int -> FLOAT32 map
16597 .float32Operands = {{0, {1.0f}}},
16598 // int -> INT32 map
16599 .int32Operands = {},
16600 // int -> QUANT8_ASYMM map
16601 .quant8AsymmOperands = {},
16602 // int -> QUANT16_SYMM map
16603 .quant16SymmOperands = {},
16604 // int -> FLOAT16 map
16605 .float16Operands = {},
16606 // int -> BOOL8 map
16607 .bool8Operands = {},
16608 // int -> QUANT8_SYMM_PER_CHANNEL map
16609 .quant8ChannelOperands = {},
16610 // int -> QUANT16_ASYMM map
16611 .quant16AsymmOperands = {},
16612 // int -> QUANT8_SYMM map
16613 .quant8SymmOperands = {},
16614 },
16615 //Output(s)
16616 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16617 // int -> Dimensions map
16618 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16619 // int -> FLOAT32 map
16620 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
16621 // int -> INT32 map
16622 .int32Operands = {{1, {0}}},
16623 // int -> QUANT8_ASYMM map
16624 .quant8AsymmOperands = {},
16625 // int -> QUANT16_SYMM map
16626 .quant16SymmOperands = {},
16627 // int -> FLOAT16 map
16628 .float16Operands = {},
16629 // int -> BOOL8 map
16630 .bool8Operands = {},
16631 // int -> QUANT8_SYMM_PER_CHANNEL map
16632 .quant8ChannelOperands = {},
16633 // int -> QUANT16_ASYMM map
16634 .quant16AsymmOperands = {},
16635 // int -> QUANT8_SYMM map
16636 .quant8SymmOperands = {},
16637 }
16638 },
16639 }, // End of an example
16640 };
16641 return examples_zero_sized_dynamic_output_shape_nhwc_2;
16642 };
16643
get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed_2()16644 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nhwc_relaxed_2() {
16645 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nhwc_relaxed_2 = {
16646 // Begin of an example
16647 {
16648 .operands = {
16649 //Input(s)
16650 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16651 // int -> Dimensions map
16652 .operandDimensions = {{0, {1, 1, 1, 1}}},
16653 // int -> FLOAT32 map
16654 .float32Operands = {{0, {1.0f}}},
16655 // int -> INT32 map
16656 .int32Operands = {},
16657 // int -> QUANT8_ASYMM map
16658 .quant8AsymmOperands = {},
16659 // int -> QUANT16_SYMM map
16660 .quant16SymmOperands = {},
16661 // int -> FLOAT16 map
16662 .float16Operands = {},
16663 // int -> BOOL8 map
16664 .bool8Operands = {},
16665 // int -> QUANT8_SYMM_PER_CHANNEL map
16666 .quant8ChannelOperands = {},
16667 // int -> QUANT16_ASYMM map
16668 .quant16AsymmOperands = {},
16669 // int -> QUANT8_SYMM map
16670 .quant8SymmOperands = {},
16671 },
16672 //Output(s)
16673 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16674 // int -> Dimensions map
16675 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16676 // int -> FLOAT32 map
16677 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
16678 // int -> INT32 map
16679 .int32Operands = {{1, {0}}},
16680 // int -> QUANT8_ASYMM map
16681 .quant8AsymmOperands = {},
16682 // int -> QUANT16_SYMM map
16683 .quant16SymmOperands = {},
16684 // int -> FLOAT16 map
16685 .float16Operands = {},
16686 // int -> BOOL8 map
16687 .bool8Operands = {},
16688 // int -> QUANT8_SYMM_PER_CHANNEL map
16689 .quant8ChannelOperands = {},
16690 // int -> QUANT16_ASYMM map
16691 .quant16AsymmOperands = {},
16692 // int -> QUANT8_SYMM map
16693 .quant8SymmOperands = {},
16694 }
16695 },
16696 }, // End of an example
16697 };
16698 return examples_zero_sized_dynamic_output_shape_nhwc_relaxed_2;
16699 };
16700
get_examples_zero_sized_dynamic_output_shape_nhwc_quant8_2()16701 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nhwc_quant8_2() {
16702 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nhwc_quant8_2 = {
16703 // Begin of an example
16704 {
16705 .operands = {
16706 //Input(s)
16707 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16708 // int -> Dimensions map
16709 .operandDimensions = {{0, {1, 1, 1, 1}}},
16710 // int -> FLOAT32 map
16711 .float32Operands = {},
16712 // int -> INT32 map
16713 .int32Operands = {},
16714 // int -> QUANT8_ASYMM map
16715 .quant8AsymmOperands = {{0, {138}}},
16716 // int -> QUANT16_SYMM map
16717 .quant16SymmOperands = {},
16718 // int -> FLOAT16 map
16719 .float16Operands = {},
16720 // int -> BOOL8 map
16721 .bool8Operands = {},
16722 // int -> QUANT8_SYMM_PER_CHANNEL map
16723 .quant8ChannelOperands = {},
16724 // int -> QUANT16_ASYMM map
16725 .quant16AsymmOperands = {},
16726 // int -> QUANT8_SYMM map
16727 .quant8SymmOperands = {},
16728 },
16729 //Output(s)
16730 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16731 // int -> Dimensions map
16732 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16733 // int -> FLOAT32 map
16734 .float32Operands = {},
16735 // int -> INT32 map
16736 .int32Operands = {{1, {0}}},
16737 // int -> QUANT8_ASYMM map
16738 .quant8AsymmOperands = {{0, {0}}, {2, {0}}},
16739 // int -> QUANT16_SYMM map
16740 .quant16SymmOperands = {},
16741 // int -> FLOAT16 map
16742 .float16Operands = {},
16743 // int -> BOOL8 map
16744 .bool8Operands = {},
16745 // int -> QUANT8_SYMM_PER_CHANNEL map
16746 .quant8ChannelOperands = {},
16747 // int -> QUANT16_ASYMM map
16748 .quant16AsymmOperands = {},
16749 // int -> QUANT8_SYMM map
16750 .quant8SymmOperands = {},
16751 }
16752 },
16753 }, // End of an example
16754 };
16755 return examples_zero_sized_dynamic_output_shape_nhwc_quant8_2;
16756 };
16757
get_examples_zero_sized_dynamic_output_shape_nhwc_float16_2()16758 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nhwc_float16_2() {
16759 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nhwc_float16_2 = {
16760 // Begin of an example
16761 {
16762 .operands = {
16763 //Input(s)
16764 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16765 // int -> Dimensions map
16766 .operandDimensions = {{0, {1, 1, 1, 1}}},
16767 // int -> FLOAT32 map
16768 .float32Operands = {},
16769 // int -> INT32 map
16770 .int32Operands = {},
16771 // int -> QUANT8_ASYMM map
16772 .quant8AsymmOperands = {},
16773 // int -> QUANT16_SYMM map
16774 .quant16SymmOperands = {},
16775 // int -> FLOAT16 map
16776 .float16Operands = {{0, {1.0f}}},
16777 // int -> BOOL8 map
16778 .bool8Operands = {},
16779 // int -> QUANT8_SYMM_PER_CHANNEL map
16780 .quant8ChannelOperands = {},
16781 // int -> QUANT16_ASYMM map
16782 .quant16AsymmOperands = {},
16783 // int -> QUANT8_SYMM map
16784 .quant8SymmOperands = {},
16785 },
16786 //Output(s)
16787 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16788 // int -> Dimensions map
16789 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16790 // int -> FLOAT32 map
16791 .float32Operands = {},
16792 // int -> INT32 map
16793 .int32Operands = {{1, {0}}},
16794 // int -> QUANT8_ASYMM map
16795 .quant8AsymmOperands = {},
16796 // int -> QUANT16_SYMM map
16797 .quant16SymmOperands = {},
16798 // int -> FLOAT16 map
16799 .float16Operands = {{0, {0.0f}}, {2, {0.0f}}},
16800 // int -> BOOL8 map
16801 .bool8Operands = {},
16802 // int -> QUANT8_SYMM_PER_CHANNEL map
16803 .quant8ChannelOperands = {},
16804 // int -> QUANT16_ASYMM map
16805 .quant16AsymmOperands = {},
16806 // int -> QUANT8_SYMM map
16807 .quant8SymmOperands = {},
16808 }
16809 },
16810 }, // End of an example
16811 };
16812 return examples_zero_sized_dynamic_output_shape_nhwc_float16_2;
16813 };
16814
get_examples_zero_sized_dynamic_output_shape_nchw_2()16815 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nchw_2() {
16816 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nchw_2 = {
16817 // Begin of an example
16818 {
16819 .operands = {
16820 //Input(s)
16821 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16822 // int -> Dimensions map
16823 .operandDimensions = {{0, {1, 1, 1, 1}}},
16824 // int -> FLOAT32 map
16825 .float32Operands = {{0, {1.0f}}},
16826 // int -> INT32 map
16827 .int32Operands = {},
16828 // int -> QUANT8_ASYMM map
16829 .quant8AsymmOperands = {},
16830 // int -> QUANT16_SYMM map
16831 .quant16SymmOperands = {},
16832 // int -> FLOAT16 map
16833 .float16Operands = {},
16834 // int -> BOOL8 map
16835 .bool8Operands = {},
16836 // int -> QUANT8_SYMM_PER_CHANNEL map
16837 .quant8ChannelOperands = {},
16838 // int -> QUANT16_ASYMM map
16839 .quant16AsymmOperands = {},
16840 // int -> QUANT8_SYMM map
16841 .quant8SymmOperands = {},
16842 },
16843 //Output(s)
16844 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16845 // int -> Dimensions map
16846 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16847 // int -> FLOAT32 map
16848 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
16849 // int -> INT32 map
16850 .int32Operands = {{1, {0}}},
16851 // int -> QUANT8_ASYMM map
16852 .quant8AsymmOperands = {},
16853 // int -> QUANT16_SYMM map
16854 .quant16SymmOperands = {},
16855 // int -> FLOAT16 map
16856 .float16Operands = {},
16857 // int -> BOOL8 map
16858 .bool8Operands = {},
16859 // int -> QUANT8_SYMM_PER_CHANNEL map
16860 .quant8ChannelOperands = {},
16861 // int -> QUANT16_ASYMM map
16862 .quant16AsymmOperands = {},
16863 // int -> QUANT8_SYMM map
16864 .quant8SymmOperands = {},
16865 }
16866 },
16867 }, // End of an example
16868 };
16869 return examples_zero_sized_dynamic_output_shape_nchw_2;
16870 };
16871
get_examples_zero_sized_dynamic_output_shape_nchw_relaxed_2()16872 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nchw_relaxed_2() {
16873 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nchw_relaxed_2 = {
16874 // Begin of an example
16875 {
16876 .operands = {
16877 //Input(s)
16878 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16879 // int -> Dimensions map
16880 .operandDimensions = {{0, {1, 1, 1, 1}}},
16881 // int -> FLOAT32 map
16882 .float32Operands = {{0, {1.0f}}},
16883 // int -> INT32 map
16884 .int32Operands = {},
16885 // int -> QUANT8_ASYMM map
16886 .quant8AsymmOperands = {},
16887 // int -> QUANT16_SYMM map
16888 .quant16SymmOperands = {},
16889 // int -> FLOAT16 map
16890 .float16Operands = {},
16891 // int -> BOOL8 map
16892 .bool8Operands = {},
16893 // int -> QUANT8_SYMM_PER_CHANNEL map
16894 .quant8ChannelOperands = {},
16895 // int -> QUANT16_ASYMM map
16896 .quant16AsymmOperands = {},
16897 // int -> QUANT8_SYMM map
16898 .quant8SymmOperands = {},
16899 },
16900 //Output(s)
16901 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16902 // int -> Dimensions map
16903 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16904 // int -> FLOAT32 map
16905 .float32Operands = {{0, {0.0f}}, {2, {0.0f}}},
16906 // int -> INT32 map
16907 .int32Operands = {{1, {0}}},
16908 // int -> QUANT8_ASYMM map
16909 .quant8AsymmOperands = {},
16910 // int -> QUANT16_SYMM map
16911 .quant16SymmOperands = {},
16912 // int -> FLOAT16 map
16913 .float16Operands = {},
16914 // int -> BOOL8 map
16915 .bool8Operands = {},
16916 // int -> QUANT8_SYMM_PER_CHANNEL map
16917 .quant8ChannelOperands = {},
16918 // int -> QUANT16_ASYMM map
16919 .quant16AsymmOperands = {},
16920 // int -> QUANT8_SYMM map
16921 .quant8SymmOperands = {},
16922 }
16923 },
16924 }, // End of an example
16925 };
16926 return examples_zero_sized_dynamic_output_shape_nchw_relaxed_2;
16927 };
16928
get_examples_zero_sized_dynamic_output_shape_nchw_quant8_2()16929 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nchw_quant8_2() {
16930 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nchw_quant8_2 = {
16931 // Begin of an example
16932 {
16933 .operands = {
16934 //Input(s)
16935 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16936 // int -> Dimensions map
16937 .operandDimensions = {{0, {1, 1, 1, 1}}},
16938 // int -> FLOAT32 map
16939 .float32Operands = {},
16940 // int -> INT32 map
16941 .int32Operands = {},
16942 // int -> QUANT8_ASYMM map
16943 .quant8AsymmOperands = {{0, {138}}},
16944 // int -> QUANT16_SYMM map
16945 .quant16SymmOperands = {},
16946 // int -> FLOAT16 map
16947 .float16Operands = {},
16948 // int -> BOOL8 map
16949 .bool8Operands = {},
16950 // int -> QUANT8_SYMM_PER_CHANNEL map
16951 .quant8ChannelOperands = {},
16952 // int -> QUANT16_ASYMM map
16953 .quant16AsymmOperands = {},
16954 // int -> QUANT8_SYMM map
16955 .quant8SymmOperands = {},
16956 },
16957 //Output(s)
16958 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16959 // int -> Dimensions map
16960 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
16961 // int -> FLOAT32 map
16962 .float32Operands = {},
16963 // int -> INT32 map
16964 .int32Operands = {{1, {0}}},
16965 // int -> QUANT8_ASYMM map
16966 .quant8AsymmOperands = {{0, {0}}, {2, {0}}},
16967 // int -> QUANT16_SYMM map
16968 .quant16SymmOperands = {},
16969 // int -> FLOAT16 map
16970 .float16Operands = {},
16971 // int -> BOOL8 map
16972 .bool8Operands = {},
16973 // int -> QUANT8_SYMM_PER_CHANNEL map
16974 .quant8ChannelOperands = {},
16975 // int -> QUANT16_ASYMM map
16976 .quant16AsymmOperands = {},
16977 // int -> QUANT8_SYMM map
16978 .quant8SymmOperands = {},
16979 }
16980 },
16981 }, // End of an example
16982 };
16983 return examples_zero_sized_dynamic_output_shape_nchw_quant8_2;
16984 };
16985
get_examples_zero_sized_dynamic_output_shape_nchw_float16_2()16986 std::vector<MixedTypedExample>& get_examples_zero_sized_dynamic_output_shape_nchw_float16_2() {
16987 static std::vector<MixedTypedExample> examples_zero_sized_dynamic_output_shape_nchw_float16_2 = {
16988 // Begin of an example
16989 {
16990 .operands = {
16991 //Input(s)
16992 { // See tools/test_generator/include/TestHarness.h:MixedTyped
16993 // int -> Dimensions map
16994 .operandDimensions = {{0, {1, 1, 1, 1}}},
16995 // int -> FLOAT32 map
16996 .float32Operands = {},
16997 // int -> INT32 map
16998 .int32Operands = {},
16999 // int -> QUANT8_ASYMM map
17000 .quant8AsymmOperands = {},
17001 // int -> QUANT16_SYMM map
17002 .quant16SymmOperands = {},
17003 // int -> FLOAT16 map
17004 .float16Operands = {{0, {1.0f}}},
17005 // int -> BOOL8 map
17006 .bool8Operands = {},
17007 // int -> QUANT8_SYMM_PER_CHANNEL map
17008 .quant8ChannelOperands = {},
17009 // int -> QUANT16_ASYMM map
17010 .quant16AsymmOperands = {},
17011 // int -> QUANT8_SYMM map
17012 .quant8SymmOperands = {},
17013 },
17014 //Output(s)
17015 { // See tools/test_generator/include/TestHarness.h:MixedTyped
17016 // int -> Dimensions map
17017 .operandDimensions = {{0, {0}}, {1, {0}}, {2, {0, 2, 2, 2}}},
17018 // int -> FLOAT32 map
17019 .float32Operands = {},
17020 // int -> INT32 map
17021 .int32Operands = {{1, {0}}},
17022 // int -> QUANT8_ASYMM map
17023 .quant8AsymmOperands = {},
17024 // int -> QUANT16_SYMM map
17025 .quant16SymmOperands = {},
17026 // int -> FLOAT16 map
17027 .float16Operands = {{0, {0.0f}}, {2, {0.0f}}},
17028 // int -> BOOL8 map
17029 .bool8Operands = {},
17030 // int -> QUANT8_SYMM_PER_CHANNEL map
17031 .quant8ChannelOperands = {},
17032 // int -> QUANT16_ASYMM map
17033 .quant16AsymmOperands = {},
17034 // int -> QUANT8_SYMM map
17035 .quant8SymmOperands = {},
17036 }
17037 },
17038 }, // End of an example
17039 };
17040 return examples_zero_sized_dynamic_output_shape_nchw_float16_2;
17041 };
17042
17043