-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
test_backend.py
775 lines (759 loc) · 38 KB
/
test_backend.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
# -*- coding: utf-8 -*-
# Copyright (C) 2018-2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import platform
import logging
import onnx.backend.test
from tests import (
BACKEND_NAME,
skip_rng_tests,
xfail_issue_33488,
xfail_issue_33581,
xfail_issue_33596,
xfail_issue_33606,
xfail_issue_33651,
xfail_issue_38091,
xfail_issue_38699,
xfail_issue_38701,
xfail_issue_38706,
xfail_issue_38710,
xfail_issue_38713,
xfail_issue_38724,
xfail_issue_38734,
xfail_issue_38735,
skip_issue_39658,
skip_issue_39658,
skip_issue_58676,
xfail_issue_44858,
xfail_issue_44965,
xfail_issue_47323,
xfail_issue_73538,
xfail_issue_48052,
xfail_issue_52463,
xfail_issue_58033,
xfail_issue_63033,
xfail_issue_63036,
xfail_issue_63043,
xfail_issue_63137,
xfail_issue_63138,
xfail_issue_69444,
xfail_issue_81976,
skip_segfault,
xfail_issue_82038,
xfail_issue_82039,
xfail_issue_90649,
skip_bitwise_ui64,
xfail_issue_99949,
xfail_issue_99950,
xfail_issue_99952,
xfail_issue_99954,
xfail_issue_99955,
xfail_issue_99957,
xfail_issue_99958,
xfail_issue_99960,
xfail_issue_99961,
xfail_issue_99968,
xfail_issue_99969,
xfail_issue_99970,
xfail_issue_99972,
xfail_issue_99973,
xfail_issue_101965,
xfail_issue_113506,
skip_dynamic_model,
xfail_issue_119896,
xfail_issue_119900,
xfail_issue_119903,
xfail_issue_119906,
xfail_issue_119919,
xfail_issue_119922,
xfail_issue_119925,
xfail_issue_119926,
xfail_issue_125485,
xfail_issue_125488,
skip_issue_125487,
skip_issue_125489,
xfail_issue_125491,
xfail_issue_125492,
xfail_issue_125493,
xfail_issue_125495,
xfail_issue_122775,
xfail_issue_122776,
skip_misalignment,
skip_issue_124587,
)
from tests.tests_python.utils.onnx_backend import OpenVinoTestBackend
def expect_fail(test_case_path, xfail): # type: (str) -> None
"""Mark the test as expected to fail."""
module_name, test_name = test_case_path.split(".")
module = globals().get(module_name)
if hasattr(module, test_name):
xfail(getattr(module, test_name))
else:
logging.getLogger().warning(
"Could not mark test as XFAIL, not found: %s", test_case_path,
)
OpenVinoTestBackend.backend_name = BACKEND_NAME
"""This is a pytest magic variable to load extra plugins
Uncomment the line below to enable the ONNX compatibility report
pytest_plugins = "onnx.backend.test.report",
"""
# import all test cases at global scope to make them visible to python.unittest
backend_test = onnx.backend.test.BackendTest(OpenVinoTestBackend, __name__)
skip_tests_general = [
# Big model tests (see test_zoo_models.py):
"test_bvlc_alexnet",
"test_densenet121",
"test_inception_v1",
"test_inception_v2",
"test_resnet50",
"test_shufflenet",
"test_squeezenet",
"test_vgg19",
"test_zfnet512",
]
for test in skip_tests_general:
backend_test.exclude(test)
# NOTE: ALL backend_test.exclude CALLS MUST BE PERFORMED BEFORE THE CALL TO globals().update
OnnxBackendNodeModelTest = None
OnnxBackendSimpleModelTest = None
OnnxBackendPyTorchOperatorModelTest = None
OnnxBackendPyTorchConvertedModelTest = None
globals().update(backend_test.enable_report().test_cases)
tests_expected_to_fail = [
(
skip_issue_39658,
"OnnxBackendNodeModelTest.test_tile_cpu",
),
(
xfail_issue_38091,
"OnnxBackendNodeModelTest.test_dynamicquantizelinear_cpu",
"OnnxBackendNodeModelTest.test_dynamicquantizelinear_expanded_cpu",
),
(
xfail_issue_52463,
"OnnxBackendPyTorchOperatorModelTest.test_operator_add_size1_singleton_broadcast_cpu",
),
(
xfail_issue_47323,
"OnnxBackendPyTorchOperatorModelTest.test_operator_add_broadcast_cpu",
"OnnxBackendPyTorchOperatorModelTest.test_operator_addconstant_cpu",
"OnnxBackendPyTorchOperatorModelTest.test_operator_add_size1_right_broadcast_cpu",
),
(
xfail_issue_38699,
"OnnxBackendSimpleModelTest.test_gradient_of_add_and_mul_cpu",
"OnnxBackendSimpleModelTest.test_gradient_of_add_cpu",
),
(
xfail_issue_33596,
"OnnxBackendSimpleModelTest.test_sequence_model5_cpu",
"OnnxBackendSimpleModelTest.test_sequence_model7_cpu",
"OnnxBackendSimpleModelTest.test_sequence_model1_cpu",
"OnnxBackendSimpleModelTest.test_sequence_model3_cpu",
"OnnxBackendSimpleModelTest.test_sequence_model6_cpu",
"OnnxBackendSimpleModelTest.test_sequence_model8_cpu",
"OnnxBackendSimpleModelTest.test_sequence_model4_cpu",
"OnnxBackendSimpleModelTest.test_sequence_model2_cpu",
"OnnxBackendNodeModelTest.test_identity_sequence_cpu",
"OnnxBackendNodeModelTest.test_if_seq_cpu",
"OnnxBackendNodeModelTest.test_if_opt_cpu", # Optional, SequenceConstruct
"OnnxBackendNodeModelTest.test_sequence_map_add_1_sequence_1_tensor_expanded_cpu",
"OnnxBackendNodeModelTest.test_sequence_map_add_2_sequences_expanded_cpu",
"OnnxBackendNodeModelTest.test_sequence_map_extract_shapes_expanded_cpu",
"OnnxBackendNodeModelTest.test_sequence_map_identity_1_sequence_1_tensor_expanded_cpu",
"OnnxBackendNodeModelTest.test_sequence_map_identity_1_sequence_expanded_cpu",
"OnnxBackendNodeModelTest.test_sequence_map_identity_2_sequences_expanded_cpu",
"OnnxBackendNodeModelTest.test_split_to_sequence_1_cpu",
"OnnxBackendNodeModelTest.test_split_to_sequence_2_cpu",
"OnnxBackendNodeModelTest.test_split_to_sequence_nokeepdims_cpu",
),
(
xfail_issue_38701,
"OnnxBackendSimpleModelTest.test_strnorm_model_monday_casesensintive_nochangecase_cpu",
"OnnxBackendSimpleModelTest.test_strnorm_model_nostopwords_nochangecase_cpu",
"OnnxBackendSimpleModelTest.test_strnorm_model_monday_empty_output_cpu",
"OnnxBackendSimpleModelTest.test_strnorm_model_monday_insensintive_upper_twodim_cpu",
"OnnxBackendSimpleModelTest.test_strnorm_model_monday_casesensintive_lower_cpu",
"OnnxBackendSimpleModelTest.test_strnorm_model_monday_casesensintive_upper_cpu",
"OnnxBackendNodeModelTest.test_strnormalizer_nostopwords_nochangecase_cpu",
"OnnxBackendNodeModelTest.test_strnormalizer_export_monday_casesensintive_nochangecase_cpu",
"OnnxBackendNodeModelTest.test_strnormalizer_export_monday_insensintive_upper_twodim_cpu",
"OnnxBackendNodeModelTest.test_strnormalizer_export_monday_casesensintive_lower_cpu",
"OnnxBackendNodeModelTest.test_strnormalizer_export_monday_empty_output_cpu",
"OnnxBackendNodeModelTest.test_strnormalizer_export_monday_casesensintive_upper_cpu",
"OnnxBackendNodeModelTest.test_cast_STRING_to_FLOAT_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT_to_STRING_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT_to_STRING_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT_to_STRING_expanded_cpu",
"OnnxBackendNodeModelTest.test_castlike_STRING_to_FLOAT_cpu",
"OnnxBackendNodeModelTest.test_castlike_STRING_to_FLOAT_expanded_cpu",
"OnnxBackendNodeModelTest.test_equal_string_broadcast_cpu",
"OnnxBackendNodeModelTest.test_equal_string_cpu",
"OnnxBackendNodeModelTest.test_regex_full_match_basic_cpu",
"OnnxBackendNodeModelTest.test_regex_full_match_email_domain_cpu",
"OnnxBackendNodeModelTest.test_regex_full_match_empty_cpu",
"OnnxBackendNodeModelTest.test_string_concat_broadcasting_cpu",
"OnnxBackendNodeModelTest.test_string_concat_cpu",
"OnnxBackendNodeModelTest.test_string_concat_empty_string_cpu",
"OnnxBackendNodeModelTest.test_string_concat_utf8_cpu",
"OnnxBackendNodeModelTest.test_string_concat_zero_dimensional_cpu",
"OnnxBackendNodeModelTest.test_string_split_basic_cpu",
"OnnxBackendNodeModelTest.test_string_split_consecutive_delimiters_cpu",
"OnnxBackendNodeModelTest.test_string_split_empty_string_delimiter_cpu",
"OnnxBackendNodeModelTest.test_string_split_empty_tensor_cpu",
"OnnxBackendNodeModelTest.test_string_split_maxsplit_cpu",
"OnnxBackendNodeModelTest.test_string_split_no_delimiter_cpu",
),
(
xfail_issue_33651,
"OnnxBackendNodeModelTest.test_tfidfvectorizer_tf_batch_onlybigrams_skip5_cpu",
"OnnxBackendNodeModelTest.test_tfidfvectorizer_tf_onlybigrams_levelempty_cpu",
"OnnxBackendNodeModelTest.test_tfidfvectorizer_tf_batch_onlybigrams_skip0_cpu",
"OnnxBackendNodeModelTest.test_tfidfvectorizer_tf_uniandbigrams_skip5_cpu",
"OnnxBackendNodeModelTest.test_tfidfvectorizer_tf_only_bigrams_skip0_cpu",
"OnnxBackendNodeModelTest.test_tfidfvectorizer_tf_batch_uniandbigrams_skip5_cpu",
"OnnxBackendNodeModelTest.test_tfidfvectorizer_tf_onlybigrams_skip5_cpu",
),
(
xfail_issue_38706,
"OnnxBackendNodeModelTest.test_split_zero_size_splits_cpu",
),
(
xfail_issue_33581,
"OnnxBackendNodeModelTest.test_gather_elements_negative_indices_cpu",
),
(
xfail_issue_38713,
"OnnxBackendNodeModelTest.test_momentum_cpu",
"OnnxBackendNodeModelTest.test_nesterov_momentum_cpu",
"OnnxBackendNodeModelTest.test_momentum_multiple_cpu",
),
(
xfail_issue_73538,
"OnnxBackendNodeModelTest.test_onehot_negative_indices_cpu",
),
(
xfail_issue_33488,
"OnnxBackendNodeModelTest.test_maxunpool_export_with_output_shape_cpu",
"OnnxBackendNodeModelTest.test_maxunpool_export_without_output_shape_cpu",
),
(xfail_issue_38724, "OnnxBackendNodeModelTest.test_resize_tf_crop_and_resize_cpu"),
(
xfail_issue_33606,
"OnnxBackendNodeModelTest.test_det_2d_cpu",
"OnnxBackendNodeModelTest.test_det_nd_cpu",
),
(
xfail_issue_38734,
"OnnxBackendNodeModelTest.test_adam_multiple_cpu",
"OnnxBackendNodeModelTest.test_adam_cpu",
),
(
xfail_issue_38735,
"OnnxBackendNodeModelTest.test_adagrad_multiple_cpu",
"OnnxBackendNodeModelTest.test_adagrad_cpu",
),
(
xfail_issue_48052,
"OnnxBackendNodeModelTest.test_training_dropout_cpu",
"OnnxBackendNodeModelTest.test_training_dropout_mask_cpu",
"OnnxBackendNodeModelTest.test_training_dropout_default_cpu",
"OnnxBackendNodeModelTest.test_training_dropout_zero_ratio_cpu",
"OnnxBackendNodeModelTest.test_training_dropout_default_mask_cpu",
"OnnxBackendNodeModelTest.test_training_dropout_zero_ratio_mask_cpu",
),
(
xfail_issue_44858,
"OnnxBackendNodeModelTest.test_unsqueeze_axis_0_cpu",
"OnnxBackendNodeModelTest.test_unsqueeze_axis_1_cpu",
"OnnxBackendNodeModelTest.test_unsqueeze_axis_2_cpu",
"OnnxBackendNodeModelTest.test_unsqueeze_negative_axes_cpu",
"OnnxBackendNodeModelTest.test_unsqueeze_three_axes_cpu",
"OnnxBackendNodeModelTest.test_unsqueeze_two_axes_cpu",
"OnnxBackendNodeModelTest.test_unsqueeze_unsorted_axes_cpu",
),
(
xfail_issue_44965,
"OnnxBackendNodeModelTest.test_loop13_seq_cpu",
"OnnxBackendNodeModelTest.test_sequence_insert_at_back_cpu",
"OnnxBackendNodeModelTest.test_sequence_insert_at_front_cpu",
),
(xfail_issue_58033, "OnnxBackendNodeModelTest.test_einsum_batch_diagonal_cpu"),
(
xfail_issue_63033,
"OnnxBackendNodeModelTest.test_batchnorm_epsilon_training_mode_cpu",
"OnnxBackendNodeModelTest.test_batchnorm_example_training_mode_cpu",
),
(xfail_issue_63036, "OnnxBackendNodeModelTest.test_convtranspose_autopad_same_cpu"),
(
xfail_issue_63043,
"OnnxBackendNodeModelTest.test_gru_batchwise_cpu",
"OnnxBackendNodeModelTest.test_lstm_batchwise_cpu",
"OnnxBackendNodeModelTest.test_simple_rnn_batchwise_cpu",
),
(
xfail_issue_38710,
"OnnxBackendNodeModelTest.test_reshape_allowzero_reordered_cpu",
),
(
skip_dynamic_model,
"OnnxBackendNodeModelTest.test_triu_one_row_cpu",
"OnnxBackendNodeModelTest.test_squeeze_cpu",
"OnnxBackendNodeModelTest.test_squeeze_negative_axes_cpu",
"OnnxBackendNodeModelTest.test_center_crop_pad_crop_negative_axes_hwc_expanded_cpu",
"OnnxBackendNodeModelTest.test_constant_pad_negative_axes_cpu",
),
(
skip_rng_tests,
"OnnxBackendNodeModelTest.test_bernoulli_cpu",
"OnnxBackendNodeModelTest.test_bernoulli_double_cpu",
"OnnxBackendNodeModelTest.test_bernoulli_double_expanded_cpu",
"OnnxBackendNodeModelTest.test_bernoulli_expanded_cpu",
"OnnxBackendNodeModelTest.test_bernoulli_seed_cpu",
"OnnxBackendNodeModelTest.test_bernoulli_seed_expanded_cpu",
),
(
xfail_issue_63137,
"OnnxBackendNodeModelTest.test_optional_get_element_cpu",
"OnnxBackendNodeModelTest.test_optional_get_element_sequence_cpu",
"OnnxBackendNodeModelTest.test_optional_has_element_cpu",
"OnnxBackendNodeModelTest.test_optional_has_element_empty_cpu",
"OnnxBackendNodeModelTest.test_loop16_seq_none_cpu", # OptionalHasElement, SequenceInsert
),
(
xfail_issue_63138,
"OnnxBackendNodeModelTest.test_shape_end_1_cpu",
"OnnxBackendNodeModelTest.test_shape_end_negative_1_cpu",
"OnnxBackendNodeModelTest.test_shape_start_1_cpu",
"OnnxBackendNodeModelTest.test_shape_start_1_end_2_cpu",
"OnnxBackendNodeModelTest.test_shape_start_1_end_negative_1_cpu",
"OnnxBackendNodeModelTest.test_shape_start_negative_1_cpu",
),
(
xfail_issue_69444,
"OnnxBackendNodeModelTest.test_resize_downsample_scales_linear_align_corners_cpu",
"OnnxBackendNodeModelTest.test_resize_downsample_scales_cubic_align_corners_cpu",
"OnnxBackendNodeModelTest.test_resize_downsample_scales_cubic_A_n0p5_exclude_outside_cpu",
"OnnxBackendNodeModelTest.test_resize_upsample_scales_cubic_A_n0p5_exclude_outside_cpu",
),
(
skip_segfault,
"OnnxBackendNodeModelTest.test_sce_NCd1d2d3d4d5_mean_weight_cpu", # ticket: 81976
"OnnxBackendNodeModelTest.test_sce_NCd1d2d3d4d5_mean_weight_log_prob_cpu", # ticket: 81976
"OnnxBackendNodeModelTest.test_sce_NCd1d2d3d4d5_none_no_weight_cpu", # ticket: 81976
"OnnxBackendNodeModelTest.test_sce_NCd1d2d3d4d5_none_no_weight_log_prob_cpu", # ticket: 81976
"OnnxBackendNodeModelTest.test_layer_normalization_2d_axis0_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_2d_axis1_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_2d_axis_negative_1_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_2d_axis_negative_2_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_3d_axis0_epsilon_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_3d_axis1_epsilon_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_3d_axis2_epsilon_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_3d_axis_negative_1_epsilon_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_3d_axis_negative_2_epsilon_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_3d_axis_negative_3_epsilon_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis0_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis1_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis2_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis3_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis_negative_1_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis_negative_2_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis_negative_3_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis_negative_4_cpu", # ticket: 90649
"OnnxBackendNodeModelTest.test_layer_normalization_default_axis_cpu", # ticket: 90649
),
(
xfail_issue_81976, # SoftmaxCrossEntropyLoss operator
"OnnxBackendNodeModelTest.test_sce_mean_3d_cpu",
"OnnxBackendNodeModelTest.test_sce_mean_3d_log_prob_cpu",
),
(
xfail_issue_82038,
"OnnxBackendNodeModelTest.test_scatternd_add_cpu",
"OnnxBackendNodeModelTest.test_scatternd_multiply_cpu",
),
(
xfail_issue_82039,
"OnnxBackendNodeModelTest.test_identity_opt_cpu",
),
(
xfail_issue_90649,
"OnnxBackendNodeModelTest.test_melweightmatrix_cpu",
"OnnxBackendNodeModelTest.test_sequence_map_add_1_sequence_1_tensor_cpu",
"OnnxBackendNodeModelTest.test_sequence_map_add_2_sequences_cpu",
"OnnxBackendNodeModelTest.test_sequence_map_extract_shapes_cpu",
"OnnxBackendNodeModelTest.test_sequence_map_identity_1_sequence_1_tensor_cpu",
"OnnxBackendNodeModelTest.test_sequence_map_identity_1_sequence_cpu",
"OnnxBackendNodeModelTest.test_sequence_map_identity_2_sequences_cpu",
"OnnxBackendNodeModelTest.test_stft_cpu",
"OnnxBackendNodeModelTest.test_stft_with_window_cpu",
),
(
skip_bitwise_ui64,
"OnnxBackendNodeModelTest.test_bitwise_and_ui64_bcast_3v1d_cpu",
"OnnxBackendNodeModelTest.test_bitwise_or_ui64_bcast_3v1d_cpu",
"OnnxBackendNodeModelTest.test_bitwise_xor_ui64_bcast_3v1d_cpu",
),
(
xfail_issue_99949,
"OnnxBackendNodeModelTest.test_bitwise_not_3d_cpu",
),
(
xfail_issue_99950,
"OnnxBackendNodeModelTest.test_center_crop_pad_crop_axes_chw_cpu",
"OnnxBackendNodeModelTest.test_center_crop_pad_crop_axes_chw_expanded_cpu",
"OnnxBackendNodeModelTest.test_center_crop_pad_crop_axes_hwc_cpu",
"OnnxBackendNodeModelTest.test_center_crop_pad_crop_axes_hwc_expanded_cpu",
"OnnxBackendNodeModelTest.test_center_crop_pad_crop_negative_axes_hwc_cpu",
"OnnxBackendNodeModelTest.test_center_crop_pad_crop_negative_axes_hwc_expanded_cpu",
),
(
xfail_issue_99952,
"OnnxBackendNodeModelTest.test_col2im_5d_cpu",
"OnnxBackendNodeModelTest.test_col2im_cpu",
"OnnxBackendNodeModelTest.test_col2im_dilations_cpu",
"OnnxBackendNodeModelTest.test_col2im_pads_cpu",
"OnnxBackendNodeModelTest.test_col2im_strides_cpu",
),
(
xfail_issue_99954,
"OnnxBackendNodeModelTest.test_constant_pad_axes_cpu",
),
(
xfail_issue_99955,
"OnnxBackendNodeModelTest.test_group_normalization_epsilon_expanded_cpu",
"OnnxBackendNodeModelTest.test_group_normalization_example_expanded_cpu",
),
(
xfail_issue_99957,
"OnnxBackendNodeModelTest.test_layer_normalization_2d_axis1_expanded_ver18_cpu",
"OnnxBackendNodeModelTest.test_layer_normalization_2d_axis_negative_1_expanded_ver18_cpu",
"OnnxBackendNodeModelTest.test_layer_normalization_3d_axis1_epsilon_expanded_ver18_cpu",
"OnnxBackendNodeModelTest.test_layer_normalization_3d_axis2_epsilon_expanded_ver18_cpu",
"OnnxBackendNodeModelTest.test_layer_normalization_3d_axis_negative_1_epsilon_expanded_ver18_cpu",
"OnnxBackendNodeModelTest.test_layer_normalization_3d_axis_negative_2_epsilon_expanded_ver18_cpu",
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis1_expanded_ver18_cpu",
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis2_expanded_ver18_cpu",
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis3_expanded_ver18_cpu",
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis_negative_1_expanded_ver18_cpu",
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis_negative_2_expanded_ver18_cpu",
"OnnxBackendNodeModelTest.test_layer_normalization_4d_axis_negative_3_expanded_ver18_cpu",
"OnnxBackendNodeModelTest.test_layer_normalization_default_axis_expanded_ver18_cpu",
),
(
xfail_issue_99958,
"OnnxBackendNodeModelTest.test_logsoftmax_large_number_expanded_ver18_cpu",
),
(
xfail_issue_99960,
"OnnxBackendNodeModelTest.test_mvn_expanded_ver18_cpu",
),
(
xfail_issue_99961,
"OnnxBackendNodeModelTest.test_optional_get_element_optional_sequence_cpu",
"OnnxBackendNodeModelTest.test_optional_get_element_optional_tensor_cpu",
"OnnxBackendNodeModelTest.test_optional_get_element_tensor_cpu",
"OnnxBackendNodeModelTest.test_optional_has_element_empty_no_input_name_optional_input_cpu",
"OnnxBackendNodeModelTest.test_optional_has_element_empty_no_input_name_tensor_input_cpu",
"OnnxBackendNodeModelTest.test_optional_has_element_empty_no_input_optional_input_cpu",
"OnnxBackendNodeModelTest.test_optional_has_element_empty_no_input_tensor_input_cpu",
"OnnxBackendNodeModelTest.test_optional_has_element_empty_optional_input_cpu",
"OnnxBackendNodeModelTest.test_optional_has_element_optional_input_cpu",
"OnnxBackendNodeModelTest.test_optional_has_element_tensor_input_cpu",
),
(
xfail_issue_99968,
"OnnxBackendNodeModelTest.test_reduce_l1_do_not_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_l1_do_not_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_l1_keep_dims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_l1_keep_dims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_l1_negative_axes_keep_dims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_l1_negative_axes_keep_dims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_l2_do_not_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_l2_do_not_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_l2_keep_dims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_l2_keep_dims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_l2_negative_axes_keep_dims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_l2_negative_axes_keep_dims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_asc_axes_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_asc_axes_expanded_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_desc_axes_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_desc_axes_expanded_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_exp_do_not_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_exp_do_not_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_l1_do_not_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_exp_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_exp_negative_axes_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_exp_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_negative_axes_cpu",
"OnnxBackendNodeModelTest.test_reduce_max_do_not_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_max_do_not_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_max_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_max_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_max_negative_axes_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_max_negative_axes_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_mean_do_not_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_exp_negative_axes_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_mean_do_not_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_mean_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_mean_negative_axes_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_mean_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_mean_negative_axes_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_min_do_not_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_min_do_not_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_min_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_min_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_min_negative_axes_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_min_negative_axes_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_prod_do_not_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_prod_do_not_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_prod_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_prod_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_prod_negative_axes_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_prod_negative_axes_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_sum_square_do_not_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_sum_square_do_not_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_sum_square_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_sum_square_keepdims_random_cpu",
"OnnxBackendNodeModelTest.test_reduce_sum_square_negative_axes_keepdims_example_cpu",
"OnnxBackendNodeModelTest.test_reduce_sum_square_negative_axes_keepdims_random_cpu",
),
(
xfail_issue_99969,
"OnnxBackendNodeModelTest.test_resize_downsample_scales_cubic_antialias_cpu",
"OnnxBackendNodeModelTest.test_resize_downsample_scales_linear_antialias_cpu",
"OnnxBackendNodeModelTest.test_resize_downsample_sizes_cubic_antialias_cpu",
"OnnxBackendNodeModelTest.test_resize_downsample_sizes_linear_antialias_cpu",
"OnnxBackendNodeModelTest.test_resize_downsample_sizes_nearest_not_smaller_cpu",
"OnnxBackendNodeModelTest.test_resize_downsample_sizes_nearest_not_larger_cpu",
"OnnxBackendNodeModelTest.test_resize_tf_crop_and_resize_axes_2_3_cpu",
"OnnxBackendNodeModelTest.test_resize_tf_crop_and_resize_axes_3_2_cpu",
"OnnxBackendNodeModelTest.test_resize_upsample_scales_nearest_axes_2_3_cpu",
"OnnxBackendNodeModelTest.test_resize_upsample_scales_nearest_axes_3_2_cpu",
"OnnxBackendNodeModelTest.test_resize_upsample_sizes_nearest_axes_2_3_cpu",
"OnnxBackendNodeModelTest.test_resize_upsample_sizes_nearest_axes_3_2_cpu",
"OnnxBackendNodeModelTest.test_resize_upsample_sizes_nearest_not_larger_cpu",
),
(
xfail_issue_99970,
"OnnxBackendNodeModelTest.test_scatternd_max_cpu",
"OnnxBackendNodeModelTest.test_scatternd_min_cpu",
),
(
xfail_issue_99972,
"OnnxBackendNodeModelTest.test_softmax_large_number_expanded_ver18_cpu",
),
(
xfail_issue_99973,
"OnnxBackendNodeModelTest.test_split_1d_uneven_split_opset18_cpu",
"OnnxBackendNodeModelTest.test_split_2d_uneven_split_opset18_cpu",
),
(
xfail_issue_101965,
"OnnxBackendNodeModelTest.test_dft_axis_cpu",
"OnnxBackendNodeModelTest.test_dft_cpu",
"OnnxBackendNodeModelTest.test_dft_inverse_cpu",
),
(
xfail_issue_113506,
"OnnxBackendNodeModelTest.test_lstm_with_peepholes_cpu",
),
(
xfail_issue_119896,
"OnnxBackendNodeModelTest.test_cast_FLOAT16_to_FLOAT8E4M3FNUZ_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT16_to_FLOAT8E4M3FN_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT16_to_FLOAT8E5M2FNUZ_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT16_to_FLOAT8E5M2_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT8E4M3FNUZ_to_FLOAT16_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT8E4M3FNUZ_to_FLOAT_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT8E4M3FN_to_FLOAT16_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT8E4M3FN_to_FLOAT_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT8E5M2FNUZ_to_FLOAT16_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT8E5M2FNUZ_to_FLOAT_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT8E5M2_to_FLOAT16_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT8E5M2_to_FLOAT_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT_to_FLOAT8E4M3FNUZ_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT_to_FLOAT8E4M3FN_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT_to_FLOAT8E5M2FNUZ_cpu",
"OnnxBackendNodeModelTest.test_cast_FLOAT_to_FLOAT8E5M2_cpu",
"OnnxBackendNodeModelTest.test_cast_no_saturate_FLOAT16_to_FLOAT8E4M3FNUZ_cpu",
"OnnxBackendNodeModelTest.test_cast_no_saturate_FLOAT16_to_FLOAT8E4M3FN_cpu",
"OnnxBackendNodeModelTest.test_cast_no_saturate_FLOAT16_to_FLOAT8E5M2FNUZ_cpu",
"OnnxBackendNodeModelTest.test_cast_no_saturate_FLOAT16_to_FLOAT8E5M2_cpu",
"OnnxBackendNodeModelTest.test_cast_no_saturate_FLOAT_to_FLOAT8E4M3FNUZ_cpu",
"OnnxBackendNodeModelTest.test_cast_no_saturate_FLOAT_to_FLOAT8E4M3FN_cpu",
"OnnxBackendNodeModelTest.test_cast_no_saturate_FLOAT_to_FLOAT8E5M2FNUZ_cpu",
"OnnxBackendNodeModelTest.test_cast_no_saturate_FLOAT_to_FLOAT8E5M2_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT8E4M3FNUZ_to_FLOAT_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT8E4M3FNUZ_to_FLOAT_expanded_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT8E4M3FN_to_FLOAT_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT8E4M3FN_to_FLOAT_expanded_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT8E5M2FNUZ_to_FLOAT_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT8E5M2FNUZ_to_FLOAT_expanded_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT8E5M2_to_FLOAT_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT8E5M2_to_FLOAT_expanded_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT_to_FLOAT8E4M3FNUZ_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT_to_FLOAT8E4M3FNUZ_expanded_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT_to_FLOAT8E4M3FN_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT_to_FLOAT8E4M3FN_expanded_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT_to_FLOAT8E5M2FNUZ_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT_to_FLOAT8E5M2FNUZ_expanded_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT_to_FLOAT8E5M2_cpu",
"OnnxBackendNodeModelTest.test_castlike_FLOAT_to_FLOAT8E5M2_expanded_cpu",
"OnnxBackendNodeModelTest.test_dequantizelinear_e4m3fn_cpu",
"OnnxBackendNodeModelTest.test_dequantizelinear_e5m2_cpu",
"OnnxBackendNodeModelTest.test_quantizelinear_e4m3fn_cpu",
"OnnxBackendNodeModelTest.test_quantizelinear_e5m2_cpu",
"OnnxBackendNodeModelTest.test_dequantizelinear_e4m3fn_float16_cpu",
"OnnxBackendNodeModelTest.test_dequantizelinear_e4m3fn_zero_point_cpu",
),
(
xfail_issue_119900,
"OnnxBackendNodeModelTest.test_resize_downsample_scales_linear_half_pixel_symmetric_cpu",
"OnnxBackendNodeModelTest.test_resize_upsample_scales_linear_half_pixel_symmetric_cpu",
),
(
xfail_issue_119903,
"OnnxBackendNodeModelTest.test_basic_deform_conv_with_padding_cpu",
"OnnxBackendNodeModelTest.test_basic_deform_conv_without_padding_cpu",
"OnnxBackendNodeModelTest.test_deform_conv_with_mask_bias_cpu",
"OnnxBackendNodeModelTest.test_deform_conv_with_multiple_offset_groups_cpu",
),
(
xfail_issue_119906,
"OnnxBackendNodeModelTest.test_lppool_1d_default_cpu",
"OnnxBackendNodeModelTest.test_lppool_2d_default_cpu",
"OnnxBackendNodeModelTest.test_lppool_2d_dilations_cpu",
"OnnxBackendNodeModelTest.test_lppool_2d_pads_cpu",
"OnnxBackendNodeModelTest.test_lppool_2d_same_lower_cpu",
"OnnxBackendNodeModelTest.test_lppool_2d_same_upper_cpu",
"OnnxBackendNodeModelTest.test_lppool_2d_strides_cpu",
"OnnxBackendNodeModelTest.test_lppool_3d_default_cpu",
),
(
xfail_issue_119919,
"OnnxBackendNodeModelTest.test_wrap_pad_cpu",
),
(
xfail_issue_119922,
"OnnxBackendNodeModelTest.test_ai_onnx_ml_array_feature_extractor_cpu",
"OnnxBackendNodeModelTest.test_ai_onnx_ml_binarizer_cpu",
"OnnxBackendNodeModelTest.test_ai_onnx_ml_label_encoder_string_int_cpu",
"OnnxBackendNodeModelTest.test_ai_onnx_ml_label_encoder_string_int_no_default_cpu",
"OnnxBackendNodeModelTest.test_ai_onnx_ml_label_encoder_tensor_mapping_cpu",
"OnnxBackendNodeModelTest.test_ai_onnx_ml_label_encoder_tensor_value_only_mapping_cpu",
),
(
xfail_issue_119925,
"OnnxBackendNodeModelTest.test_averagepool_2d_dilations_cpu",
),
(
xfail_issue_119926,
"OnnxBackendNodeModelTest.test_roialign_mode_max_cpu",
),
(
xfail_issue_125485,
"OnnxBackendNodeModelTest.test_affine_grid_2d_align_corners_cpu",
"OnnxBackendNodeModelTest.test_affine_grid_2d_cpu",
"OnnxBackendNodeModelTest.test_affine_grid_3d_align_corners_cpu",
"OnnxBackendNodeModelTest.test_affine_grid_3d_cpu",
),
(
xfail_issue_125488,
"OnnxBackendNodeModelTest.test_image_decoder_decode_bmp_rgb_cpu",
"OnnxBackendNodeModelTest.test_image_decoder_decode_jpeg2k_rgb_cpu",
"OnnxBackendNodeModelTest.test_image_decoder_decode_jpeg_bgr_cpu",
"OnnxBackendNodeModelTest.test_image_decoder_decode_jpeg_grayscale_cpu",
"OnnxBackendNodeModelTest.test_image_decoder_decode_jpeg_rgb_cpu",
"OnnxBackendNodeModelTest.test_image_decoder_decode_png_rgb_cpu",
"OnnxBackendNodeModelTest.test_image_decoder_decode_pnm_rgb_cpu",
"OnnxBackendNodeModelTest.test_image_decoder_decode_tiff_rgb_cpu",
"OnnxBackendNodeModelTest.test_image_decoder_decode_webp_rgb_cpu",
),
(
skip_issue_125487,
"OnnxBackendNodeModelTest.test_gridsample_aligncorners_true_cpu",
"OnnxBackendNodeModelTest.test_gridsample_bicubic_align_corners_0_additional_1_cpu",
"OnnxBackendNodeModelTest.test_gridsample_bicubic_align_corners_1_additional_1_cpu",
"OnnxBackendNodeModelTest.test_gridsample_bicubic_cpu",
"OnnxBackendNodeModelTest.test_gridsample_bilinear_align_corners_0_additional_1_cpu",
"OnnxBackendNodeModelTest.test_gridsample_bilinear_align_corners_1_additional_1_cpu",
"OnnxBackendNodeModelTest.test_gridsample_bilinear_cpu",
"OnnxBackendNodeModelTest.test_gridsample_cpu",
"OnnxBackendNodeModelTest.test_gridsample_volumetric_bilinear_align_corners_0_cpu",
"OnnxBackendNodeModelTest.test_gridsample_volumetric_bilinear_align_corners_1_cpu",
"OnnxBackendNodeModelTest.test_gridsample_volumetric_nearest_align_corners_0_cpu",
"OnnxBackendNodeModelTest.test_gridsample_volumetric_nearest_align_corners_1_cpu",
),
(
skip_issue_125489,
"OnnxBackendNodeModelTest.test_isinf_float16_cpu",
),
(
xfail_issue_125491,
"OnnxBackendNodeModelTest.test_averagepool_3d_dilations_large_count_include_pad_is_0_ceil_mode_is_False_cpu",
"OnnxBackendNodeModelTest.test_averagepool_3d_dilations_large_count_include_pad_is_0_ceil_mode_is_True_cpu",
"OnnxBackendNodeModelTest.test_averagepool_3d_dilations_large_count_include_pad_is_1_ceil_mode_is_False_cpu",
"OnnxBackendNodeModelTest.test_averagepool_3d_dilations_large_count_include_pad_is_1_ceil_mode_is_True_cpu",
"OnnxBackendNodeModelTest.test_averagepool_3d_dilations_small_cpu",
),
(
xfail_issue_125492,
"OnnxBackendNodeModelTest.test_dft_axis_opset19_cpu",
"OnnxBackendNodeModelTest.test_dft_inverse_opset19_cpu",
"OnnxBackendNodeModelTest.test_dft_opset19_cpu",
),
(
xfail_issue_125493,
"OnnxBackendNodeModelTest.test_reduce_l1_empty_set_cpu",
"OnnxBackendNodeModelTest.test_reduce_l2_empty_set_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_empty_set_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_exp_empty_set_cpu",
"OnnxBackendNodeModelTest.test_reduce_min_empty_set_cpu",
"OnnxBackendNodeModelTest.test_reduce_prod_empty_set_cpu",
"OnnxBackendNodeModelTest.test_reduce_sum_square_empty_set_cpu",
),
(
xfail_issue_125495,
"OnnxBackendNodeModelTest.test_reduce_max_bool_inputs_cpu",
"OnnxBackendNodeModelTest.test_reduce_min_bool_inputs_cpu",
),
(
skip_misalignment,
"OnnxBackendNodeModelTest.test_gelu_default_2_expanded_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_empty_set_expanded_cpu",
"OnnxBackendNodeModelTest.test_reduce_log_sum_exp_empty_set_expanded_cpu",
),
(
skip_issue_124587,
"OnnxBackendNodeModelTest.test_split_variable_parts_1d_opset18_cpu",
"OnnxBackendNodeModelTest.test_split_variable_parts_2d_opset18_cpu",
"OnnxBackendNodeModelTest.test_split_variable_parts_default_axis_opset13_cpu",
"OnnxBackendNodeModelTest.test_split_variable_parts_default_axis_opset18_cpu",
),
]
if platform.system() == 'Darwin':
tests_expected_to_fail.extend([
(
skip_issue_58676,
"OnnxBackendNodeModelTest.test_mish_expanded_cpu"
),
(
skip_issue_58676,
"OnnxBackendNodeModelTest.test_resize_downsample_scales_linear_cpu"
),
(
skip_issue_58676,
"OnnxBackendNodeModelTest.test_div_uint8_cpu"
)]
)
if platform.system() == 'Linux' and platform.machine() in ['arm', 'armv7l', 'aarch64', 'arm64', 'ARM64']:
tests_expected_to_fail.extend(
[
(xfail_issue_122775, "OnnxBackendNodeModelTest.test_resize_downsample_scales_linear_cpu"),
(xfail_issue_122776, "OnnxBackendNodeModelTest.test_mish_expanded_cpu")
]
)
for test_group in tests_expected_to_fail:
for test_case in test_group[1:]:
expect_fail(f"{test_case}", test_group[0])