ort2-sys 0.1.1

onnxruntime wrapper c/c++ api sys library
Documentation
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
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
/* automatically generated by rust-bindgen 0.71.1 */

pub const __bool_true_false_are_defined: u32 = 1;
pub const false_: u32 = 0;
pub const true_: u32 = 1;
pub const _VCRT_COMPILER_PREPROCESSOR: u32 = 1;
pub const _SAL_VERSION: u32 = 20;
pub const __SAL_H_VERSION: u32 = 180000000;
pub const _USE_DECLSPECS_FOR_SAL: u32 = 0;
pub const _USE_ATTRIBUTES_FOR_SAL: u32 = 0;
pub const _CRT_PACKING: u32 = 8;
pub const _HAS_EXCEPTIONS: u32 = 1;
pub const _STL_LANG: u32 = 0;
pub const _HAS_CXX17: u32 = 0;
pub const _HAS_CXX20: u32 = 0;
pub const _HAS_CXX23: u32 = 0;
pub const _HAS_NODISCARD: u32 = 0;
pub const WCHAR_MIN: u32 = 0;
pub const WCHAR_MAX: u32 = 65535;
pub const WINT_MIN: u32 = 0;
pub const WINT_MAX: u32 = 65535;
pub const _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE: u32 = 1;
pub const _CRT_BUILD_DESKTOP_APP: u32 = 1;
pub const _ARGMAX: u32 = 100;
pub const _CRT_INT_MAX: u32 = 2147483647;
pub const _CRT_FUNCTIONS_REQUIRED: u32 = 1;
pub const _CRT_HAS_CXX17: u32 = 0;
pub const _CRT_HAS_C11: u32 = 1;
pub const _CRT_INTERNAL_NONSTDC_NAMES: u32 = 1;
pub const __STDC_SECURE_LIB__: u32 = 200411;
pub const __GOT_SECURE_LIB__: u32 = 200411;
pub const __STDC_WANT_SECURE_LIB__: u32 = 1;
pub const _SECURECRT_FILL_BUFFER_PATTERN: u32 = 254;
pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES: u32 = 0;
pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT: u32 = 0;
pub const _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES: u32 = 1;
pub const _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY: u32 = 0;
pub const _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY: u32 = 0;
pub const _MAX_ITOSTR_BASE16_COUNT: u32 = 9;
pub const _MAX_ITOSTR_BASE10_COUNT: u32 = 12;
pub const _MAX_ITOSTR_BASE8_COUNT: u32 = 12;
pub const _MAX_ITOSTR_BASE2_COUNT: u32 = 33;
pub const _MAX_LTOSTR_BASE16_COUNT: u32 = 9;
pub const _MAX_LTOSTR_BASE10_COUNT: u32 = 12;
pub const _MAX_LTOSTR_BASE8_COUNT: u32 = 12;
pub const _MAX_LTOSTR_BASE2_COUNT: u32 = 33;
pub const _MAX_ULTOSTR_BASE16_COUNT: u32 = 9;
pub const _MAX_ULTOSTR_BASE10_COUNT: u32 = 11;
pub const _MAX_ULTOSTR_BASE8_COUNT: u32 = 12;
pub const _MAX_ULTOSTR_BASE2_COUNT: u32 = 33;
pub const _MAX_I64TOSTR_BASE16_COUNT: u32 = 17;
pub const _MAX_I64TOSTR_BASE10_COUNT: u32 = 21;
pub const _MAX_I64TOSTR_BASE8_COUNT: u32 = 23;
pub const _MAX_I64TOSTR_BASE2_COUNT: u32 = 65;
pub const _MAX_U64TOSTR_BASE16_COUNT: u32 = 17;
pub const _MAX_U64TOSTR_BASE10_COUNT: u32 = 21;
pub const _MAX_U64TOSTR_BASE8_COUNT: u32 = 23;
pub const _MAX_U64TOSTR_BASE2_COUNT: u32 = 65;
pub const CHAR_BIT: u32 = 8;
pub const SCHAR_MIN: i32 = -128;
pub const SCHAR_MAX: u32 = 127;
pub const UCHAR_MAX: u32 = 255;
pub const CHAR_MIN: i32 = -128;
pub const CHAR_MAX: u32 = 127;
pub const MB_LEN_MAX: u32 = 5;
pub const SHRT_MIN: i32 = -32768;
pub const SHRT_MAX: u32 = 32767;
pub const USHRT_MAX: u32 = 65535;
pub const INT_MIN: i32 = -2147483648;
pub const INT_MAX: u32 = 2147483647;
pub const UINT_MAX: u32 = 4294967295;
pub const LONG_MIN: i32 = -2147483648;
pub const LONG_MAX: u32 = 2147483647;
pub const ULONG_MAX: u32 = 4294967295;
pub const EXIT_SUCCESS: u32 = 0;
pub const EXIT_FAILURE: u32 = 1;
pub const _WRITE_ABORT_MSG: u32 = 1;
pub const _CALL_REPORTFAULT: u32 = 2;
pub const _OUT_TO_DEFAULT: u32 = 0;
pub const _OUT_TO_STDERR: u32 = 1;
pub const _OUT_TO_MSGBOX: u32 = 2;
pub const _REPORT_ERRMODE: u32 = 3;
pub const RAND_MAX: u32 = 32767;
pub const _CVTBUFSIZE: u32 = 349;
pub const _MAX_PATH: u32 = 260;
pub const _MAX_DRIVE: u32 = 3;
pub const _MAX_DIR: u32 = 256;
pub const _MAX_FNAME: u32 = 256;
pub const _MAX_EXT: u32 = 256;
pub const _MAX_ENV: u32 = 32767;
pub const EPERM: u32 = 1;
pub const ENOENT: u32 = 2;
pub const ESRCH: u32 = 3;
pub const EINTR: u32 = 4;
pub const EIO: u32 = 5;
pub const ENXIO: u32 = 6;
pub const E2BIG: u32 = 7;
pub const ENOEXEC: u32 = 8;
pub const EBADF: u32 = 9;
pub const ECHILD: u32 = 10;
pub const EAGAIN: u32 = 11;
pub const ENOMEM: u32 = 12;
pub const EACCES: u32 = 13;
pub const EFAULT: u32 = 14;
pub const EBUSY: u32 = 16;
pub const EEXIST: u32 = 17;
pub const EXDEV: u32 = 18;
pub const ENODEV: u32 = 19;
pub const ENOTDIR: u32 = 20;
pub const EISDIR: u32 = 21;
pub const ENFILE: u32 = 23;
pub const EMFILE: u32 = 24;
pub const ENOTTY: u32 = 25;
pub const EFBIG: u32 = 27;
pub const ENOSPC: u32 = 28;
pub const ESPIPE: u32 = 29;
pub const EROFS: u32 = 30;
pub const EMLINK: u32 = 31;
pub const EPIPE: u32 = 32;
pub const EDOM: u32 = 33;
pub const EDEADLK: u32 = 36;
pub const ENAMETOOLONG: u32 = 38;
pub const ENOLCK: u32 = 39;
pub const ENOSYS: u32 = 40;
pub const ENOTEMPTY: u32 = 41;
pub const EINVAL: u32 = 22;
pub const ERANGE: u32 = 34;
pub const EILSEQ: u32 = 42;
pub const STRUNCATE: u32 = 80;
pub const EDEADLOCK: u32 = 36;
pub const EADDRINUSE: u32 = 100;
pub const EADDRNOTAVAIL: u32 = 101;
pub const EAFNOSUPPORT: u32 = 102;
pub const EALREADY: u32 = 103;
pub const EBADMSG: u32 = 104;
pub const ECANCELED: u32 = 105;
pub const ECONNABORTED: u32 = 106;
pub const ECONNREFUSED: u32 = 107;
pub const ECONNRESET: u32 = 108;
pub const EDESTADDRREQ: u32 = 109;
pub const EHOSTUNREACH: u32 = 110;
pub const EIDRM: u32 = 111;
pub const EINPROGRESS: u32 = 112;
pub const EISCONN: u32 = 113;
pub const ELOOP: u32 = 114;
pub const EMSGSIZE: u32 = 115;
pub const ENETDOWN: u32 = 116;
pub const ENETRESET: u32 = 117;
pub const ENETUNREACH: u32 = 118;
pub const ENOBUFS: u32 = 119;
pub const ENODATA: u32 = 120;
pub const ENOLINK: u32 = 121;
pub const ENOMSG: u32 = 122;
pub const ENOPROTOOPT: u32 = 123;
pub const ENOSR: u32 = 124;
pub const ENOSTR: u32 = 125;
pub const ENOTCONN: u32 = 126;
pub const ENOTRECOVERABLE: u32 = 127;
pub const ENOTSOCK: u32 = 128;
pub const ENOTSUP: u32 = 129;
pub const EOPNOTSUPP: u32 = 130;
pub const EOTHER: u32 = 131;
pub const EOVERFLOW: u32 = 132;
pub const EOWNERDEAD: u32 = 133;
pub const EPROTO: u32 = 134;
pub const EPROTONOSUPPORT: u32 = 135;
pub const EPROTOTYPE: u32 = 136;
pub const ETIME: u32 = 137;
pub const ETIMEDOUT: u32 = 138;
pub const ETXTBSY: u32 = 139;
pub const EWOULDBLOCK: u32 = 140;
pub const _NLSCMPERROR: u32 = 2147483647;
pub const ORT_API_VERSION: u32 = 20;
pub const __SAL_H_FULL_VER: u32 = 140050727;
pub const __SPECSTRINGS_STRICT_LEVEL: u32 = 1;
pub const __drv_typeConst: u32 = 0;
pub const __drv_typeCond: u32 = 1;
pub const __drv_typeBitset: u32 = 2;
pub const __drv_typeExpr: u32 = 3;
pub type va_list = *mut ::std::os::raw::c_char;
unsafe extern "C" {
    pub fn __va_start(arg1: *mut *mut ::std::os::raw::c_char, ...);
}
pub type __vcrt_bool = bool;
pub type wchar_t = ::std::os::raw::c_ushort;
unsafe extern "C" {
    pub fn __security_init_cookie();
}
unsafe extern "C" {
    pub fn __security_check_cookie(_StackCookie: usize);
}
unsafe extern "C" {
    pub fn __report_gsfailure(_StackCookie: usize) -> !;
}
unsafe extern "C" {
    pub static mut __security_cookie: usize;
}
pub type int_least8_t = ::std::os::raw::c_schar;
pub type int_least16_t = ::std::os::raw::c_short;
pub type int_least32_t = ::std::os::raw::c_int;
pub type int_least64_t = ::std::os::raw::c_longlong;
pub type uint_least8_t = ::std::os::raw::c_uchar;
pub type uint_least16_t = ::std::os::raw::c_ushort;
pub type uint_least32_t = ::std::os::raw::c_uint;
pub type uint_least64_t = ::std::os::raw::c_ulonglong;
pub type int_fast8_t = ::std::os::raw::c_schar;
pub type int_fast16_t = ::std::os::raw::c_int;
pub type int_fast32_t = ::std::os::raw::c_int;
pub type int_fast64_t = ::std::os::raw::c_longlong;
pub type uint_fast8_t = ::std::os::raw::c_uchar;
pub type uint_fast16_t = ::std::os::raw::c_uint;
pub type uint_fast32_t = ::std::os::raw::c_uint;
pub type uint_fast64_t = ::std::os::raw::c_ulonglong;
pub type intmax_t = ::std::os::raw::c_longlong;
pub type uintmax_t = ::std::os::raw::c_ulonglong;
pub type __crt_bool = bool;
unsafe extern "C" {
    pub fn _invalid_parameter_noinfo();
}
unsafe extern "C" {
    pub fn _invalid_parameter_noinfo_noreturn() -> !;
}
unsafe extern "C" {
    pub fn _invoke_watson(
        _Expression: *const wchar_t,
        _FunctionName: *const wchar_t,
        _FileName: *const wchar_t,
        _LineNo: ::std::os::raw::c_uint,
        _Reserved: usize,
    ) -> !;
}
pub type errno_t = ::std::os::raw::c_int;
pub type wint_t = ::std::os::raw::c_ushort;
pub type wctype_t = ::std::os::raw::c_ushort;
pub type __time32_t = ::std::os::raw::c_long;
pub type __time64_t = ::std::os::raw::c_longlong;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __crt_locale_data_public {
    pub _locale_pctype: *const ::std::os::raw::c_ushort,
    pub _locale_mb_cur_max: ::std::os::raw::c_int,
    pub _locale_lc_codepage: ::std::os::raw::c_uint,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of __crt_locale_data_public"]
        [::std::mem::size_of::<__crt_locale_data_public>() - 16usize];
    ["Alignment of __crt_locale_data_public"]
        [::std::mem::align_of::<__crt_locale_data_public>() - 8usize];
    ["Offset of field: __crt_locale_data_public::_locale_pctype"]
        [::std::mem::offset_of!(__crt_locale_data_public, _locale_pctype) - 0usize];
    ["Offset of field: __crt_locale_data_public::_locale_mb_cur_max"]
        [::std::mem::offset_of!(__crt_locale_data_public, _locale_mb_cur_max) - 8usize];
    ["Offset of field: __crt_locale_data_public::_locale_lc_codepage"]
        [::std::mem::offset_of!(__crt_locale_data_public, _locale_lc_codepage) - 12usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __crt_locale_pointers {
    pub locinfo: *mut __crt_locale_data,
    pub mbcinfo: *mut __crt_multibyte_data,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of __crt_locale_pointers"][::std::mem::size_of::<__crt_locale_pointers>() - 16usize];
    ["Alignment of __crt_locale_pointers"]
        [::std::mem::align_of::<__crt_locale_pointers>() - 8usize];
    ["Offset of field: __crt_locale_pointers::locinfo"]
        [::std::mem::offset_of!(__crt_locale_pointers, locinfo) - 0usize];
    ["Offset of field: __crt_locale_pointers::mbcinfo"]
        [::std::mem::offset_of!(__crt_locale_pointers, mbcinfo) - 8usize];
};
pub type _locale_t = *mut __crt_locale_pointers;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _Mbstatet {
    pub _Wchar: ::std::os::raw::c_ulong,
    pub _Byte: ::std::os::raw::c_ushort,
    pub _State: ::std::os::raw::c_ushort,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of _Mbstatet"][::std::mem::size_of::<_Mbstatet>() - 8usize];
    ["Alignment of _Mbstatet"][::std::mem::align_of::<_Mbstatet>() - 4usize];
    ["Offset of field: _Mbstatet::_Wchar"][::std::mem::offset_of!(_Mbstatet, _Wchar) - 0usize];
    ["Offset of field: _Mbstatet::_Byte"][::std::mem::offset_of!(_Mbstatet, _Byte) - 4usize];
    ["Offset of field: _Mbstatet::_State"][::std::mem::offset_of!(_Mbstatet, _State) - 6usize];
};
pub type mbstate_t = _Mbstatet;
pub type time_t = __time64_t;
pub type rsize_t = usize;
unsafe extern "C" {
    pub fn _calloc_base(_Count: usize, _Size: usize) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn calloc(
        _Count: ::std::os::raw::c_ulonglong,
        _Size: ::std::os::raw::c_ulonglong,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _callnewh(_Size: usize) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _expand(
        _Block: *mut ::std::os::raw::c_void,
        _Size: usize,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _free_base(_Block: *mut ::std::os::raw::c_void);
}
unsafe extern "C" {
    pub fn free(_Block: *mut ::std::os::raw::c_void);
}
unsafe extern "C" {
    pub fn _malloc_base(_Size: usize) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn malloc(_Size: ::std::os::raw::c_ulonglong) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _msize_base(_Block: *mut ::std::os::raw::c_void) -> usize;
}
unsafe extern "C" {
    pub fn _msize(_Block: *mut ::std::os::raw::c_void) -> usize;
}
unsafe extern "C" {
    pub fn _realloc_base(
        _Block: *mut ::std::os::raw::c_void,
        _Size: usize,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn realloc(
        _Block: *mut ::std::os::raw::c_void,
        _Size: ::std::os::raw::c_ulonglong,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _recalloc_base(
        _Block: *mut ::std::os::raw::c_void,
        _Count: usize,
        _Size: usize,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _recalloc(
        _Block: *mut ::std::os::raw::c_void,
        _Count: usize,
        _Size: usize,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _aligned_free(_Block: *mut ::std::os::raw::c_void);
}
unsafe extern "C" {
    pub fn _aligned_malloc(_Size: usize, _Alignment: usize) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _aligned_offset_malloc(
        _Size: usize,
        _Alignment: usize,
        _Offset: usize,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _aligned_msize(
        _Block: *mut ::std::os::raw::c_void,
        _Alignment: usize,
        _Offset: usize,
    ) -> usize;
}
unsafe extern "C" {
    pub fn _aligned_offset_realloc(
        _Block: *mut ::std::os::raw::c_void,
        _Size: usize,
        _Alignment: usize,
        _Offset: usize,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _aligned_offset_recalloc(
        _Block: *mut ::std::os::raw::c_void,
        _Count: usize,
        _Size: usize,
        _Alignment: usize,
        _Offset: usize,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _aligned_realloc(
        _Block: *mut ::std::os::raw::c_void,
        _Size: usize,
        _Alignment: usize,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _aligned_recalloc(
        _Block: *mut ::std::os::raw::c_void,
        _Count: usize,
        _Size: usize,
        _Alignment: usize,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _errno() -> *mut ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _set_errno(_Value: ::std::os::raw::c_int) -> errno_t;
}
unsafe extern "C" {
    pub fn _get_errno(_Value: *mut ::std::os::raw::c_int) -> errno_t;
}
unsafe extern "C" {
    pub fn __threadid() -> ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn __threadhandle() -> usize;
}
pub type _CoreCrtSecureSearchSortCompareFunction = ::std::option::Option<
    unsafe extern "C" fn(
        arg1: *mut ::std::os::raw::c_void,
        arg2: *const ::std::os::raw::c_void,
        arg3: *const ::std::os::raw::c_void,
    ) -> ::std::os::raw::c_int,
>;
pub type _CoreCrtNonSecureSearchSortCompareFunction = ::std::option::Option<
    unsafe extern "C" fn(
        arg1: *const ::std::os::raw::c_void,
        arg2: *const ::std::os::raw::c_void,
    ) -> ::std::os::raw::c_int,
>;
unsafe extern "C" {
    pub fn bsearch_s(
        _Key: *const ::std::os::raw::c_void,
        _Base: *const ::std::os::raw::c_void,
        _NumOfElements: rsize_t,
        _SizeOfElements: rsize_t,
        _CompareFunction: _CoreCrtSecureSearchSortCompareFunction,
        _Context: *mut ::std::os::raw::c_void,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn qsort_s(
        _Base: *mut ::std::os::raw::c_void,
        _NumOfElements: rsize_t,
        _SizeOfElements: rsize_t,
        _CompareFunction: _CoreCrtSecureSearchSortCompareFunction,
        _Context: *mut ::std::os::raw::c_void,
    );
}
unsafe extern "C" {
    pub fn bsearch(
        _Key: *const ::std::os::raw::c_void,
        _Base: *const ::std::os::raw::c_void,
        _NumOfElements: usize,
        _SizeOfElements: usize,
        _CompareFunction: _CoreCrtNonSecureSearchSortCompareFunction,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn qsort(
        _Base: *mut ::std::os::raw::c_void,
        _NumOfElements: usize,
        _SizeOfElements: usize,
        _CompareFunction: _CoreCrtNonSecureSearchSortCompareFunction,
    );
}
unsafe extern "C" {
    pub fn _lfind_s(
        _Key: *const ::std::os::raw::c_void,
        _Base: *const ::std::os::raw::c_void,
        _NumOfElements: *mut ::std::os::raw::c_uint,
        _SizeOfElements: usize,
        _CompareFunction: _CoreCrtSecureSearchSortCompareFunction,
        _Context: *mut ::std::os::raw::c_void,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _lfind(
        _Key: *const ::std::os::raw::c_void,
        _Base: *const ::std::os::raw::c_void,
        _NumOfElements: *mut ::std::os::raw::c_uint,
        _SizeOfElements: ::std::os::raw::c_uint,
        _CompareFunction: _CoreCrtNonSecureSearchSortCompareFunction,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _lsearch_s(
        _Key: *const ::std::os::raw::c_void,
        _Base: *mut ::std::os::raw::c_void,
        _NumOfElements: *mut ::std::os::raw::c_uint,
        _SizeOfElements: usize,
        _CompareFunction: _CoreCrtSecureSearchSortCompareFunction,
        _Context: *mut ::std::os::raw::c_void,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _lsearch(
        _Key: *const ::std::os::raw::c_void,
        _Base: *mut ::std::os::raw::c_void,
        _NumOfElements: *mut ::std::os::raw::c_uint,
        _SizeOfElements: ::std::os::raw::c_uint,
        _CompareFunction: _CoreCrtNonSecureSearchSortCompareFunction,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn lfind(
        _Key: *const ::std::os::raw::c_void,
        _Base: *const ::std::os::raw::c_void,
        _NumOfElements: *mut ::std::os::raw::c_uint,
        _SizeOfElements: ::std::os::raw::c_uint,
        _CompareFunction: _CoreCrtNonSecureSearchSortCompareFunction,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn lsearch(
        _Key: *const ::std::os::raw::c_void,
        _Base: *mut ::std::os::raw::c_void,
        _NumOfElements: *mut ::std::os::raw::c_uint,
        _SizeOfElements: ::std::os::raw::c_uint,
        _CompareFunction: _CoreCrtNonSecureSearchSortCompareFunction,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn _itow_s(
        _Value: ::std::os::raw::c_int,
        _Buffer: *mut wchar_t,
        _BufferCount: usize,
        _Radix: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _itow(
        _Value: ::std::os::raw::c_int,
        _Buffer: *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _ltow_s(
        _Value: ::std::os::raw::c_long,
        _Buffer: *mut wchar_t,
        _BufferCount: usize,
        _Radix: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _ltow(
        _Value: ::std::os::raw::c_long,
        _Buffer: *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _ultow_s(
        _Value: ::std::os::raw::c_ulong,
        _Buffer: *mut wchar_t,
        _BufferCount: usize,
        _Radix: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _ultow(
        _Value: ::std::os::raw::c_ulong,
        _Buffer: *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcstod(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t) -> f64;
}
unsafe extern "C" {
    pub fn _wcstod_l(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Locale: _locale_t,
    ) -> f64;
}
unsafe extern "C" {
    pub fn wcstol(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
    pub fn _wcstol_l(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
    pub fn wcstoll(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _wcstoll_l(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn wcstoul(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn _wcstoul_l(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn wcstoull(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn _wcstoull_l(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn wcstold(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t) -> f64;
}
unsafe extern "C" {
    pub fn _wcstold_l(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Locale: _locale_t,
    ) -> f64;
}
unsafe extern "C" {
    pub fn wcstof(_String: *const wchar_t, _EndPtr: *mut *mut wchar_t) -> f32;
}
unsafe extern "C" {
    pub fn _wcstof_l(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Locale: _locale_t,
    ) -> f32;
}
unsafe extern "C" {
    pub fn _wtof(_String: *const wchar_t) -> f64;
}
unsafe extern "C" {
    pub fn _wtof_l(_String: *const wchar_t, _Locale: _locale_t) -> f64;
}
unsafe extern "C" {
    pub fn _wtoi(_String: *const wchar_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wtoi_l(_String: *const wchar_t, _Locale: _locale_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wtol(_String: *const wchar_t) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
    pub fn _wtol_l(_String: *const wchar_t, _Locale: _locale_t) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
    pub fn _wtoll(_String: *const wchar_t) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _wtoll_l(_String: *const wchar_t, _Locale: _locale_t) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _i64tow_s(
        _Value: ::std::os::raw::c_longlong,
        _Buffer: *mut wchar_t,
        _BufferCount: usize,
        _Radix: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _i64tow(
        _Value: ::std::os::raw::c_longlong,
        _Buffer: *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _ui64tow_s(
        _Value: ::std::os::raw::c_ulonglong,
        _Buffer: *mut wchar_t,
        _BufferCount: usize,
        _Radix: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _ui64tow(
        _Value: ::std::os::raw::c_ulonglong,
        _Buffer: *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _wtoi64(_String: *const wchar_t) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _wtoi64_l(_String: *const wchar_t, _Locale: _locale_t) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _wcstoi64(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _wcstoi64_l(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _wcstoui64(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn _wcstoui64_l(
        _String: *const wchar_t,
        _EndPtr: *mut *mut wchar_t,
        _Radix: ::std::os::raw::c_int,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn _wfullpath(
        _Buffer: *mut wchar_t,
        _Path: *const wchar_t,
        _BufferCount: usize,
    ) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _wmakepath_s(
        _Buffer: *mut wchar_t,
        _BufferCount: usize,
        _Drive: *const wchar_t,
        _Dir: *const wchar_t,
        _Filename: *const wchar_t,
        _Ext: *const wchar_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _wmakepath(
        _Buffer: *mut wchar_t,
        _Drive: *const wchar_t,
        _Dir: *const wchar_t,
        _Filename: *const wchar_t,
        _Ext: *const wchar_t,
    );
}
unsafe extern "C" {
    pub fn _wperror(_ErrorMessage: *const wchar_t);
}
unsafe extern "C" {
    pub fn _wsplitpath(
        _FullPath: *const wchar_t,
        _Drive: *mut wchar_t,
        _Dir: *mut wchar_t,
        _Filename: *mut wchar_t,
        _Ext: *mut wchar_t,
    );
}
unsafe extern "C" {
    pub fn _wsplitpath_s(
        _FullPath: *const wchar_t,
        _Drive: *mut wchar_t,
        _DriveCount: usize,
        _Dir: *mut wchar_t,
        _DirCount: usize,
        _Filename: *mut wchar_t,
        _FilenameCount: usize,
        _Ext: *mut wchar_t,
        _ExtCount: usize,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _wdupenv_s(
        _Buffer: *mut *mut wchar_t,
        _BufferCount: *mut usize,
        _VarName: *const wchar_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _wgetenv(_VarName: *const wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _wgetenv_s(
        _RequiredCount: *mut usize,
        _Buffer: *mut wchar_t,
        _BufferCount: usize,
        _VarName: *const wchar_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _wputenv(_EnvString: *const wchar_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wputenv_s(_Name: *const wchar_t, _Value: *const wchar_t) -> errno_t;
}
unsafe extern "C" {
    pub fn _wsearchenv_s(
        _Filename: *const wchar_t,
        _VarName: *const wchar_t,
        _Buffer: *mut wchar_t,
        _BufferCount: usize,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _wsearchenv(
        _Filename: *const wchar_t,
        _VarName: *const wchar_t,
        _ResultPath: *mut wchar_t,
    );
}
unsafe extern "C" {
    pub fn _wsystem(_Command: *const wchar_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _swab(
        _Buf1: *mut ::std::os::raw::c_char,
        _Buf2: *mut ::std::os::raw::c_char,
        _SizeInBytes: ::std::os::raw::c_int,
    );
}
unsafe extern "C" {
    pub fn exit(_Code: ::std::os::raw::c_int) -> !;
}
unsafe extern "C" {
    pub fn _exit(_Code: ::std::os::raw::c_int) -> !;
}
unsafe extern "C" {
    pub fn _Exit(_Code: ::std::os::raw::c_int) -> !;
}
unsafe extern "C" {
    pub fn quick_exit(_Code: ::std::os::raw::c_int) -> !;
}
unsafe extern "C" {
    pub fn abort() -> !;
}
unsafe extern "C" {
    pub fn _set_abort_behavior(
        _Flags: ::std::os::raw::c_uint,
        _Mask: ::std::os::raw::c_uint,
    ) -> ::std::os::raw::c_uint;
}
pub type _onexit_t = ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>;
unsafe extern "C" {
    pub fn atexit(arg1: ::std::option::Option<unsafe extern "C" fn()>) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _onexit(_Func: _onexit_t) -> _onexit_t;
}
unsafe extern "C" {
    pub fn at_quick_exit(
        arg1: ::std::option::Option<unsafe extern "C" fn()>,
    ) -> ::std::os::raw::c_int;
}
pub type _purecall_handler = ::std::option::Option<unsafe extern "C" fn()>;
pub type _invalid_parameter_handler = ::std::option::Option<
    unsafe extern "C" fn(
        arg1: *const wchar_t,
        arg2: *const wchar_t,
        arg3: *const wchar_t,
        arg4: ::std::os::raw::c_uint,
        arg5: usize,
    ),
>;
unsafe extern "C" {
    pub fn _set_purecall_handler(_Handler: _purecall_handler) -> _purecall_handler;
}
unsafe extern "C" {
    pub fn _get_purecall_handler() -> _purecall_handler;
}
unsafe extern "C" {
    pub fn _set_invalid_parameter_handler(
        _Handler: _invalid_parameter_handler,
    ) -> _invalid_parameter_handler;
}
unsafe extern "C" {
    pub fn _get_invalid_parameter_handler() -> _invalid_parameter_handler;
}
unsafe extern "C" {
    pub fn _set_thread_local_invalid_parameter_handler(
        _Handler: _invalid_parameter_handler,
    ) -> _invalid_parameter_handler;
}
unsafe extern "C" {
    pub fn _get_thread_local_invalid_parameter_handler() -> _invalid_parameter_handler;
}
unsafe extern "C" {
    pub fn _set_error_mode(_Mode: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn __doserrno() -> *mut ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn _set_doserrno(_Value: ::std::os::raw::c_ulong) -> errno_t;
}
unsafe extern "C" {
    pub fn _get_doserrno(_Value: *mut ::std::os::raw::c_ulong) -> errno_t;
}
unsafe extern "C" {
    pub fn __sys_errlist() -> *mut *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn __sys_nerr() -> *mut ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn perror(_ErrMsg: *const ::std::os::raw::c_char);
}
unsafe extern "C" {
    pub fn __p__pgmptr() -> *mut *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn __p__wpgmptr() -> *mut *mut wchar_t;
}
unsafe extern "C" {
    pub fn __p__fmode() -> *mut ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _get_pgmptr(_Value: *mut *mut ::std::os::raw::c_char) -> errno_t;
}
unsafe extern "C" {
    pub fn _get_wpgmptr(_Value: *mut *mut wchar_t) -> errno_t;
}
unsafe extern "C" {
    pub fn _set_fmode(_Mode: ::std::os::raw::c_int) -> errno_t;
}
unsafe extern "C" {
    pub fn _get_fmode(_PMode: *mut ::std::os::raw::c_int) -> errno_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _div_t {
    pub quot: ::std::os::raw::c_int,
    pub rem: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of _div_t"][::std::mem::size_of::<_div_t>() - 8usize];
    ["Alignment of _div_t"][::std::mem::align_of::<_div_t>() - 4usize];
    ["Offset of field: _div_t::quot"][::std::mem::offset_of!(_div_t, quot) - 0usize];
    ["Offset of field: _div_t::rem"][::std::mem::offset_of!(_div_t, rem) - 4usize];
};
pub type div_t = _div_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _ldiv_t {
    pub quot: ::std::os::raw::c_long,
    pub rem: ::std::os::raw::c_long,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of _ldiv_t"][::std::mem::size_of::<_ldiv_t>() - 8usize];
    ["Alignment of _ldiv_t"][::std::mem::align_of::<_ldiv_t>() - 4usize];
    ["Offset of field: _ldiv_t::quot"][::std::mem::offset_of!(_ldiv_t, quot) - 0usize];
    ["Offset of field: _ldiv_t::rem"][::std::mem::offset_of!(_ldiv_t, rem) - 4usize];
};
pub type ldiv_t = _ldiv_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lldiv_t {
    pub quot: ::std::os::raw::c_longlong,
    pub rem: ::std::os::raw::c_longlong,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of _lldiv_t"][::std::mem::size_of::<_lldiv_t>() - 16usize];
    ["Alignment of _lldiv_t"][::std::mem::align_of::<_lldiv_t>() - 8usize];
    ["Offset of field: _lldiv_t::quot"][::std::mem::offset_of!(_lldiv_t, quot) - 0usize];
    ["Offset of field: _lldiv_t::rem"][::std::mem::offset_of!(_lldiv_t, rem) - 8usize];
};
pub type lldiv_t = _lldiv_t;
unsafe extern "C" {
    pub fn abs(_Number: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn labs(_Number: ::std::os::raw::c_long) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
    pub fn llabs(_Number: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _abs64(_Number: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _byteswap_ushort(_Number: ::std::os::raw::c_ushort) -> ::std::os::raw::c_ushort;
}
unsafe extern "C" {
    pub fn _byteswap_ulong(_Number: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn _byteswap_uint64(_Number: ::std::os::raw::c_ulonglong) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn div(_Numerator: ::std::os::raw::c_int, _Denominator: ::std::os::raw::c_int) -> div_t;
}
unsafe extern "C" {
    pub fn ldiv(_Numerator: ::std::os::raw::c_long, _Denominator: ::std::os::raw::c_long)
        -> ldiv_t;
}
unsafe extern "C" {
    pub fn lldiv(
        _Numerator: ::std::os::raw::c_longlong,
        _Denominator: ::std::os::raw::c_longlong,
    ) -> lldiv_t;
}
unsafe extern "C" {
    pub fn _rotl(
        _Value: ::std::os::raw::c_uint,
        _Shift: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn _lrotl(
        _Value: ::std::os::raw::c_ulong,
        _Shift: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn _rotl64(
        _Value: ::std::os::raw::c_ulonglong,
        _Shift: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn _rotr(
        _Value: ::std::os::raw::c_uint,
        _Shift: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn _lrotr(
        _Value: ::std::os::raw::c_ulong,
        _Shift: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn _rotr64(
        _Value: ::std::os::raw::c_ulonglong,
        _Shift: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn srand(_Seed: ::std::os::raw::c_uint);
}
unsafe extern "C" {
    pub fn rand() -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _LDOUBLE {
    pub ld: [::std::os::raw::c_uchar; 10usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of _LDOUBLE"][::std::mem::size_of::<_LDOUBLE>() - 10usize];
    ["Alignment of _LDOUBLE"][::std::mem::align_of::<_LDOUBLE>() - 1usize];
    ["Offset of field: _LDOUBLE::ld"][::std::mem::offset_of!(_LDOUBLE, ld) - 0usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _CRT_DOUBLE {
    pub x: f64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of _CRT_DOUBLE"][::std::mem::size_of::<_CRT_DOUBLE>() - 8usize];
    ["Alignment of _CRT_DOUBLE"][::std::mem::align_of::<_CRT_DOUBLE>() - 8usize];
    ["Offset of field: _CRT_DOUBLE::x"][::std::mem::offset_of!(_CRT_DOUBLE, x) - 0usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _CRT_FLOAT {
    pub f: f32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of _CRT_FLOAT"][::std::mem::size_of::<_CRT_FLOAT>() - 4usize];
    ["Alignment of _CRT_FLOAT"][::std::mem::align_of::<_CRT_FLOAT>() - 4usize];
    ["Offset of field: _CRT_FLOAT::f"][::std::mem::offset_of!(_CRT_FLOAT, f) - 0usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _LONGDOUBLE {
    pub x: f64,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of _LONGDOUBLE"][::std::mem::size_of::<_LONGDOUBLE>() - 8usize];
    ["Alignment of _LONGDOUBLE"][::std::mem::align_of::<_LONGDOUBLE>() - 8usize];
    ["Offset of field: _LONGDOUBLE::x"][::std::mem::offset_of!(_LONGDOUBLE, x) - 0usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _LDBL12 {
    pub ld12: [::std::os::raw::c_uchar; 12usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of _LDBL12"][::std::mem::size_of::<_LDBL12>() - 12usize];
    ["Alignment of _LDBL12"][::std::mem::align_of::<_LDBL12>() - 1usize];
    ["Offset of field: _LDBL12::ld12"][::std::mem::offset_of!(_LDBL12, ld12) - 0usize];
};
unsafe extern "C" {
    pub fn atof(_String: *const ::std::os::raw::c_char) -> f64;
}
unsafe extern "C" {
    pub fn atoi(_String: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn atol(_String: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
    pub fn atoll(_String: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _atoi64(_String: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _atof_l(_String: *const ::std::os::raw::c_char, _Locale: _locale_t) -> f64;
}
unsafe extern "C" {
    pub fn _atoi_l(
        _String: *const ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _atol_l(
        _String: *const ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
    pub fn _atoll_l(
        _String: *const ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _atoi64_l(
        _String: *const ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _atoflt(
        _Result: *mut _CRT_FLOAT,
        _String: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _atodbl(
        _Result: *mut _CRT_DOUBLE,
        _String: *mut ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _atoldbl(
        _Result: *mut _LDOUBLE,
        _String: *mut ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _atoflt_l(
        _Result: *mut _CRT_FLOAT,
        _String: *const ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _atodbl_l(
        _Result: *mut _CRT_DOUBLE,
        _String: *mut ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _atoldbl_l(
        _Result: *mut _LDOUBLE,
        _String: *mut ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn strtof(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
    ) -> f32;
}
unsafe extern "C" {
    pub fn _strtof_l(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> f32;
}
unsafe extern "C" {
    pub fn strtod(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
    ) -> f64;
}
unsafe extern "C" {
    pub fn _strtod_l(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> f64;
}
unsafe extern "C" {
    pub fn strtold(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
    ) -> f64;
}
unsafe extern "C" {
    pub fn _strtold_l(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> f64;
}
unsafe extern "C" {
    pub fn strtol(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
    pub fn _strtol_l(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_long;
}
unsafe extern "C" {
    pub fn strtoll(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _strtoll_l(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn strtoul(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn _strtoul_l(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn strtoull(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn _strtoull_l(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn _strtoi64(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _strtoi64_l(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_longlong;
}
unsafe extern "C" {
    pub fn _strtoui64(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn _strtoui64_l(
        _String: *const ::std::os::raw::c_char,
        _EndPtr: *mut *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn _itoa_s(
        _Value: ::std::os::raw::c_int,
        _Buffer: *mut ::std::os::raw::c_char,
        _BufferCount: usize,
        _Radix: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _itoa(
        _Value: ::std::os::raw::c_int,
        _Buffer: *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _ltoa_s(
        _Value: ::std::os::raw::c_long,
        _Buffer: *mut ::std::os::raw::c_char,
        _BufferCount: usize,
        _Radix: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _ltoa(
        _Value: ::std::os::raw::c_long,
        _Buffer: *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _ultoa_s(
        _Value: ::std::os::raw::c_ulong,
        _Buffer: *mut ::std::os::raw::c_char,
        _BufferCount: usize,
        _Radix: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _ultoa(
        _Value: ::std::os::raw::c_ulong,
        _Buffer: *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _i64toa_s(
        _Value: ::std::os::raw::c_longlong,
        _Buffer: *mut ::std::os::raw::c_char,
        _BufferCount: usize,
        _Radix: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _i64toa(
        _Value: ::std::os::raw::c_longlong,
        _Buffer: *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _ui64toa_s(
        _Value: ::std::os::raw::c_ulonglong,
        _Buffer: *mut ::std::os::raw::c_char,
        _BufferCount: usize,
        _Radix: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _ui64toa(
        _Value: ::std::os::raw::c_ulonglong,
        _Buffer: *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _ecvt_s(
        _Buffer: *mut ::std::os::raw::c_char,
        _BufferCount: usize,
        _Value: f64,
        _DigitCount: ::std::os::raw::c_int,
        _PtDec: *mut ::std::os::raw::c_int,
        _PtSign: *mut ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _ecvt(
        _Value: f64,
        _DigitCount: ::std::os::raw::c_int,
        _PtDec: *mut ::std::os::raw::c_int,
        _PtSign: *mut ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _fcvt_s(
        _Buffer: *mut ::std::os::raw::c_char,
        _BufferCount: usize,
        _Value: f64,
        _FractionalDigitCount: ::std::os::raw::c_int,
        _PtDec: *mut ::std::os::raw::c_int,
        _PtSign: *mut ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _fcvt(
        _Value: f64,
        _FractionalDigitCount: ::std::os::raw::c_int,
        _PtDec: *mut ::std::os::raw::c_int,
        _PtSign: *mut ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _gcvt_s(
        _Buffer: *mut ::std::os::raw::c_char,
        _BufferCount: usize,
        _Value: f64,
        _DigitCount: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _gcvt(
        _Value: f64,
        _DigitCount: ::std::os::raw::c_int,
        _Buffer: *mut ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn ___mb_cur_max_func() -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn ___mb_cur_max_l_func(_Locale: _locale_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mblen(_Ch: *const ::std::os::raw::c_char, _MaxCount: usize) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _mblen_l(
        _Ch: *const ::std::os::raw::c_char,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _mbstrlen(_String: *const ::std::os::raw::c_char) -> usize;
}
unsafe extern "C" {
    pub fn _mbstrlen_l(_String: *const ::std::os::raw::c_char, _Locale: _locale_t) -> usize;
}
unsafe extern "C" {
    pub fn _mbstrnlen(_String: *const ::std::os::raw::c_char, _MaxCount: usize) -> usize;
}
unsafe extern "C" {
    pub fn _mbstrnlen_l(
        _String: *const ::std::os::raw::c_char,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> usize;
}
unsafe extern "C" {
    pub fn mbtowc(
        _DstCh: *mut wchar_t,
        _SrcCh: *const ::std::os::raw::c_char,
        _SrcSizeInBytes: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _mbtowc_l(
        _DstCh: *mut wchar_t,
        _SrcCh: *const ::std::os::raw::c_char,
        _SrcSizeInBytes: usize,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mbstowcs_s(
        _PtNumOfCharConverted: *mut usize,
        _DstBuf: *mut wchar_t,
        _SizeInWords: usize,
        _SrcBuf: *const ::std::os::raw::c_char,
        _MaxCount: usize,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn mbstowcs(
        _Dest: *mut wchar_t,
        _Source: *const ::std::os::raw::c_char,
        _MaxCount: usize,
    ) -> usize;
}
unsafe extern "C" {
    pub fn _mbstowcs_s_l(
        _PtNumOfCharConverted: *mut usize,
        _DstBuf: *mut wchar_t,
        _SizeInWords: usize,
        _SrcBuf: *const ::std::os::raw::c_char,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _mbstowcs_l(
        _Dest: *mut wchar_t,
        _Source: *const ::std::os::raw::c_char,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> usize;
}
unsafe extern "C" {
    pub fn wctomb(_MbCh: *mut ::std::os::raw::c_char, _WCh: wchar_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wctomb_l(
        _MbCh: *mut ::std::os::raw::c_char,
        _WCh: wchar_t,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn wctomb_s(
        _SizeConverted: *mut ::std::os::raw::c_int,
        _MbCh: *mut ::std::os::raw::c_char,
        _SizeInBytes: rsize_t,
        _WCh: wchar_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _wctomb_s_l(
        _SizeConverted: *mut ::std::os::raw::c_int,
        _MbCh: *mut ::std::os::raw::c_char,
        _SizeInBytes: usize,
        _WCh: wchar_t,
        _Locale: _locale_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn wcstombs_s(
        _PtNumOfCharConverted: *mut usize,
        _Dst: *mut ::std::os::raw::c_char,
        _DstSizeInBytes: usize,
        _Src: *const wchar_t,
        _MaxCountInBytes: usize,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn wcstombs(
        _Dest: *mut ::std::os::raw::c_char,
        _Source: *const wchar_t,
        _MaxCount: usize,
    ) -> usize;
}
unsafe extern "C" {
    pub fn _wcstombs_s_l(
        _PtNumOfCharConverted: *mut usize,
        _Dst: *mut ::std::os::raw::c_char,
        _DstSizeInBytes: usize,
        _Src: *const wchar_t,
        _MaxCountInBytes: usize,
        _Locale: _locale_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _wcstombs_l(
        _Dest: *mut ::std::os::raw::c_char,
        _Source: *const wchar_t,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> usize;
}
unsafe extern "C" {
    pub fn _fullpath(
        _Buffer: *mut ::std::os::raw::c_char,
        _Path: *const ::std::os::raw::c_char,
        _BufferCount: usize,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _makepath_s(
        _Buffer: *mut ::std::os::raw::c_char,
        _BufferCount: usize,
        _Drive: *const ::std::os::raw::c_char,
        _Dir: *const ::std::os::raw::c_char,
        _Filename: *const ::std::os::raw::c_char,
        _Ext: *const ::std::os::raw::c_char,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _makepath(
        _Buffer: *mut ::std::os::raw::c_char,
        _Drive: *const ::std::os::raw::c_char,
        _Dir: *const ::std::os::raw::c_char,
        _Filename: *const ::std::os::raw::c_char,
        _Ext: *const ::std::os::raw::c_char,
    );
}
unsafe extern "C" {
    pub fn _splitpath(
        _FullPath: *const ::std::os::raw::c_char,
        _Drive: *mut ::std::os::raw::c_char,
        _Dir: *mut ::std::os::raw::c_char,
        _Filename: *mut ::std::os::raw::c_char,
        _Ext: *mut ::std::os::raw::c_char,
    );
}
unsafe extern "C" {
    pub fn _splitpath_s(
        _FullPath: *const ::std::os::raw::c_char,
        _Drive: *mut ::std::os::raw::c_char,
        _DriveCount: usize,
        _Dir: *mut ::std::os::raw::c_char,
        _DirCount: usize,
        _Filename: *mut ::std::os::raw::c_char,
        _FilenameCount: usize,
        _Ext: *mut ::std::os::raw::c_char,
        _ExtCount: usize,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn getenv_s(
        _RequiredCount: *mut usize,
        _Buffer: *mut ::std::os::raw::c_char,
        _BufferCount: rsize_t,
        _VarName: *const ::std::os::raw::c_char,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn __p___argc() -> *mut ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn __p___argv() -> *mut *mut *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn __p___wargv() -> *mut *mut *mut wchar_t;
}
unsafe extern "C" {
    pub fn __p__environ() -> *mut *mut *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn __p__wenviron() -> *mut *mut *mut wchar_t;
}
unsafe extern "C" {
    pub fn getenv(_VarName: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _dupenv_s(
        _Buffer: *mut *mut ::std::os::raw::c_char,
        _BufferCount: *mut usize,
        _VarName: *const ::std::os::raw::c_char,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn system(_Command: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _putenv(_EnvString: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _putenv_s(
        _Name: *const ::std::os::raw::c_char,
        _Value: *const ::std::os::raw::c_char,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _searchenv_s(
        _Filename: *const ::std::os::raw::c_char,
        _VarName: *const ::std::os::raw::c_char,
        _Buffer: *mut ::std::os::raw::c_char,
        _BufferCount: usize,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _searchenv(
        _Filename: *const ::std::os::raw::c_char,
        _VarName: *const ::std::os::raw::c_char,
        _Buffer: *mut ::std::os::raw::c_char,
    );
}
unsafe extern "C" {
    pub fn _seterrormode(_Mode: ::std::os::raw::c_int);
}
unsafe extern "C" {
    pub fn _beep(_Frequency: ::std::os::raw::c_uint, _Duration: ::std::os::raw::c_uint);
}
unsafe extern "C" {
    pub fn _sleep(_Duration: ::std::os::raw::c_ulong);
}
unsafe extern "C" {
    pub fn ecvt(
        _Value: f64,
        _DigitCount: ::std::os::raw::c_int,
        _PtDec: *mut ::std::os::raw::c_int,
        _PtSign: *mut ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn fcvt(
        _Value: f64,
        _FractionalDigitCount: ::std::os::raw::c_int,
        _PtDec: *mut ::std::os::raw::c_int,
        _PtSign: *mut ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn gcvt(
        _Value: f64,
        _DigitCount: ::std::os::raw::c_int,
        _DstBuf: *mut ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn itoa(
        _Value: ::std::os::raw::c_int,
        _Buffer: *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn ltoa(
        _Value: ::std::os::raw::c_long,
        _Buffer: *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn swab(
        _Buf1: *mut ::std::os::raw::c_char,
        _Buf2: *mut ::std::os::raw::c_char,
        _SizeInBytes: ::std::os::raw::c_int,
    );
}
unsafe extern "C" {
    pub fn ultoa(
        _Value: ::std::os::raw::c_ulong,
        _Buffer: *mut ::std::os::raw::c_char,
        _Radix: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn putenv(_EnvString: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn onexit(_Func: _onexit_t) -> _onexit_t;
}
unsafe extern "C" {
    pub fn memchr(
        _Buf: *const ::std::os::raw::c_void,
        _Val: ::std::os::raw::c_int,
        _MaxCount: ::std::os::raw::c_ulonglong,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn memcmp(
        _Buf1: *const ::std::os::raw::c_void,
        _Buf2: *const ::std::os::raw::c_void,
        _Size: ::std::os::raw::c_ulonglong,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn memcpy(
        _Dst: *mut ::std::os::raw::c_void,
        _Src: *const ::std::os::raw::c_void,
        _Size: ::std::os::raw::c_ulonglong,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn memmove(
        _Dst: *mut ::std::os::raw::c_void,
        _Src: *const ::std::os::raw::c_void,
        _Size: ::std::os::raw::c_ulonglong,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn memset(
        _Dst: *mut ::std::os::raw::c_void,
        _Val: ::std::os::raw::c_int,
        _Size: ::std::os::raw::c_ulonglong,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn strchr(
        _Str: *const ::std::os::raw::c_char,
        _Val: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strrchr(
        _Str: *const ::std::os::raw::c_char,
        _Ch: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strstr(
        _Str: *const ::std::os::raw::c_char,
        _SubStr: *const ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn wcschr(
        _Str: *const ::std::os::raw::c_ushort,
        _Ch: ::std::os::raw::c_ushort,
    ) -> *mut ::std::os::raw::c_ushort;
}
unsafe extern "C" {
    pub fn wcsrchr(_Str: *const wchar_t, _Ch: wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcsstr(_Str: *const wchar_t, _SubStr: *const wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _memicmp(
        _Buf1: *const ::std::os::raw::c_void,
        _Buf2: *const ::std::os::raw::c_void,
        _Size: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _memicmp_l(
        _Buf1: *const ::std::os::raw::c_void,
        _Buf2: *const ::std::os::raw::c_void,
        _Size: usize,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn memccpy(
        _Dst: *mut ::std::os::raw::c_void,
        _Src: *const ::std::os::raw::c_void,
        _Val: ::std::os::raw::c_int,
        _Size: ::std::os::raw::c_ulonglong,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn memicmp(
        _Buf1: *const ::std::os::raw::c_void,
        _Buf2: *const ::std::os::raw::c_void,
        _Size: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn wcscat_s(
        _Destination: *mut wchar_t,
        _SizeInWords: rsize_t,
        _Source: *const wchar_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn wcscpy_s(
        _Destination: *mut wchar_t,
        _SizeInWords: rsize_t,
        _Source: *const wchar_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn wcsncat_s(
        _Destination: *mut wchar_t,
        _SizeInWords: rsize_t,
        _Source: *const wchar_t,
        _MaxCount: rsize_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn wcsncpy_s(
        _Destination: *mut wchar_t,
        _SizeInWords: rsize_t,
        _Source: *const wchar_t,
        _MaxCount: rsize_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn wcstok_s(
        _String: *mut wchar_t,
        _Delimiter: *const wchar_t,
        _Context: *mut *mut wchar_t,
    ) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _wcsdup(_String: *const wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcscat(_Destination: *mut wchar_t, _Source: *const wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcscmp(
        _String1: *const ::std::os::raw::c_ushort,
        _String2: *const ::std::os::raw::c_ushort,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn wcscpy(_Destination: *mut wchar_t, _Source: *const wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcscspn(_String: *const wchar_t, _Control: *const wchar_t) -> usize;
}
unsafe extern "C" {
    pub fn wcslen(_String: *const ::std::os::raw::c_ushort) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn wcsnlen(_Source: *const wchar_t, _MaxCount: usize) -> usize;
}
unsafe extern "C" {
    pub fn wcsncat(
        _Destination: *mut wchar_t,
        _Source: *const wchar_t,
        _Count: usize,
    ) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcsncmp(
        _String1: *const ::std::os::raw::c_ushort,
        _String2: *const ::std::os::raw::c_ushort,
        _MaxCount: ::std::os::raw::c_ulonglong,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn wcsncpy(
        _Destination: *mut wchar_t,
        _Source: *const wchar_t,
        _Count: usize,
    ) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcspbrk(_String: *const wchar_t, _Control: *const wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcsspn(_String: *const wchar_t, _Control: *const wchar_t) -> usize;
}
unsafe extern "C" {
    pub fn wcstok(
        _String: *mut wchar_t,
        _Delimiter: *const wchar_t,
        _Context: *mut *mut wchar_t,
    ) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _wcserror(_ErrorNumber: ::std::os::raw::c_int) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _wcserror_s(
        _Buffer: *mut wchar_t,
        _SizeInWords: usize,
        _ErrorNumber: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn __wcserror(_String: *const wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn __wcserror_s(
        _Buffer: *mut wchar_t,
        _SizeInWords: usize,
        _ErrorMessage: *const wchar_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _wcsicmp(_String1: *const wchar_t, _String2: *const wchar_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wcsicmp_l(
        _String1: *const wchar_t,
        _String2: *const wchar_t,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wcsnicmp(
        _String1: *const wchar_t,
        _String2: *const wchar_t,
        _MaxCount: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wcsnicmp_l(
        _String1: *const wchar_t,
        _String2: *const wchar_t,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wcsnset_s(
        _Destination: *mut wchar_t,
        _SizeInWords: usize,
        _Value: wchar_t,
        _MaxCount: usize,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _wcsnset(_String: *mut wchar_t, _Value: wchar_t, _MaxCount: usize) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _wcsrev(_String: *mut wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _wcsset_s(_Destination: *mut wchar_t, _SizeInWords: usize, _Value: wchar_t) -> errno_t;
}
unsafe extern "C" {
    pub fn _wcsset(_String: *mut wchar_t, _Value: wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _wcslwr_s(_String: *mut wchar_t, _SizeInWords: usize) -> errno_t;
}
unsafe extern "C" {
    pub fn _wcslwr(_String: *mut wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _wcslwr_s_l(_String: *mut wchar_t, _SizeInWords: usize, _Locale: _locale_t) -> errno_t;
}
unsafe extern "C" {
    pub fn _wcslwr_l(_String: *mut wchar_t, _Locale: _locale_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _wcsupr_s(_String: *mut wchar_t, _Size: usize) -> errno_t;
}
unsafe extern "C" {
    pub fn _wcsupr(_String: *mut wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn _wcsupr_s_l(_String: *mut wchar_t, _Size: usize, _Locale: _locale_t) -> errno_t;
}
unsafe extern "C" {
    pub fn _wcsupr_l(_String: *mut wchar_t, _Locale: _locale_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcsxfrm(_Destination: *mut wchar_t, _Source: *const wchar_t, _MaxCount: usize) -> usize;
}
unsafe extern "C" {
    pub fn _wcsxfrm_l(
        _Destination: *mut wchar_t,
        _Source: *const wchar_t,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> usize;
}
unsafe extern "C" {
    pub fn wcscoll(_String1: *const wchar_t, _String2: *const wchar_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wcscoll_l(
        _String1: *const wchar_t,
        _String2: *const wchar_t,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wcsicoll(_String1: *const wchar_t, _String2: *const wchar_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wcsicoll_l(
        _String1: *const wchar_t,
        _String2: *const wchar_t,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wcsncoll(
        _String1: *const wchar_t,
        _String2: *const wchar_t,
        _MaxCount: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wcsncoll_l(
        _String1: *const wchar_t,
        _String2: *const wchar_t,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wcsnicoll(
        _String1: *const wchar_t,
        _String2: *const wchar_t,
        _MaxCount: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _wcsnicoll_l(
        _String1: *const wchar_t,
        _String2: *const wchar_t,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn wcsdup(_String: *const wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcsicmp(_String1: *const wchar_t, _String2: *const wchar_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn wcsnicmp(
        _String1: *const wchar_t,
        _String2: *const wchar_t,
        _MaxCount: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn wcsnset(_String: *mut wchar_t, _Value: wchar_t, _MaxCount: usize) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcsrev(_String: *mut wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcsset(_String: *mut wchar_t, _Value: wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcslwr(_String: *mut wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcsupr(_String: *mut wchar_t) -> *mut wchar_t;
}
unsafe extern "C" {
    pub fn wcsicoll(_String1: *const wchar_t, _String2: *const wchar_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn strcpy_s(
        _Destination: *mut ::std::os::raw::c_char,
        _SizeInBytes: rsize_t,
        _Source: *const ::std::os::raw::c_char,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn strcat_s(
        _Destination: *mut ::std::os::raw::c_char,
        _SizeInBytes: rsize_t,
        _Source: *const ::std::os::raw::c_char,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn strerror_s(
        _Buffer: *mut ::std::os::raw::c_char,
        _SizeInBytes: usize,
        _ErrorNumber: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn strncat_s(
        _Destination: *mut ::std::os::raw::c_char,
        _SizeInBytes: rsize_t,
        _Source: *const ::std::os::raw::c_char,
        _MaxCount: rsize_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn strncpy_s(
        _Destination: *mut ::std::os::raw::c_char,
        _SizeInBytes: rsize_t,
        _Source: *const ::std::os::raw::c_char,
        _MaxCount: rsize_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn strtok_s(
        _String: *mut ::std::os::raw::c_char,
        _Delimiter: *const ::std::os::raw::c_char,
        _Context: *mut *mut ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _memccpy(
        _Dst: *mut ::std::os::raw::c_void,
        _Src: *const ::std::os::raw::c_void,
        _Val: ::std::os::raw::c_int,
        _MaxCount: usize,
    ) -> *mut ::std::os::raw::c_void;
}
unsafe extern "C" {
    pub fn strcat(
        _Destination: *mut ::std::os::raw::c_char,
        _Source: *const ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strcmp(
        _Str1: *const ::std::os::raw::c_char,
        _Str2: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _strcmpi(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn strcoll(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _strcoll_l(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn strcpy(
        _Destination: *mut ::std::os::raw::c_char,
        _Source: *const ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strcspn(
        _Str: *const ::std::os::raw::c_char,
        _Control: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn _strdup(_Source: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _strerror(_ErrorMessage: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _strerror_s(
        _Buffer: *mut ::std::os::raw::c_char,
        _SizeInBytes: usize,
        _ErrorMessage: *const ::std::os::raw::c_char,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn strerror(_ErrorMessage: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _stricmp(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _stricoll(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _stricoll_l(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _stricmp_l(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn strlen(_Str: *const ::std::os::raw::c_char) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn _strlwr_s(_String: *mut ::std::os::raw::c_char, _Size: usize) -> errno_t;
}
unsafe extern "C" {
    pub fn _strlwr(_String: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _strlwr_s_l(
        _String: *mut ::std::os::raw::c_char,
        _Size: usize,
        _Locale: _locale_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _strlwr_l(
        _String: *mut ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strncat(
        _Destination: *mut ::std::os::raw::c_char,
        _Source: *const ::std::os::raw::c_char,
        _Count: ::std::os::raw::c_ulonglong,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strncmp(
        _Str1: *const ::std::os::raw::c_char,
        _Str2: *const ::std::os::raw::c_char,
        _MaxCount: ::std::os::raw::c_ulonglong,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _strnicmp(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
        _MaxCount: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _strnicmp_l(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _strnicoll(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
        _MaxCount: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _strnicoll_l(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _strncoll(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
        _MaxCount: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn _strncoll_l(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn __strncnt(_String: *const ::std::os::raw::c_char, _Count: usize) -> usize;
}
unsafe extern "C" {
    pub fn strncpy(
        _Destination: *mut ::std::os::raw::c_char,
        _Source: *const ::std::os::raw::c_char,
        _Count: ::std::os::raw::c_ulonglong,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strnlen(_String: *const ::std::os::raw::c_char, _MaxCount: usize) -> usize;
}
unsafe extern "C" {
    pub fn _strnset_s(
        _String: *mut ::std::os::raw::c_char,
        _SizeInBytes: usize,
        _Value: ::std::os::raw::c_int,
        _MaxCount: usize,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _strnset(
        _Destination: *mut ::std::os::raw::c_char,
        _Value: ::std::os::raw::c_int,
        _Count: usize,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strpbrk(
        _Str: *const ::std::os::raw::c_char,
        _Control: *const ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _strrev(_Str: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _strset_s(
        _Destination: *mut ::std::os::raw::c_char,
        _DestinationSize: usize,
        _Value: ::std::os::raw::c_int,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _strset(
        _Destination: *mut ::std::os::raw::c_char,
        _Value: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strspn(
        _Str: *const ::std::os::raw::c_char,
        _Control: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn strtok(
        _String: *mut ::std::os::raw::c_char,
        _Delimiter: *const ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _strupr_s(_String: *mut ::std::os::raw::c_char, _Size: usize) -> errno_t;
}
unsafe extern "C" {
    pub fn _strupr(_String: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn _strupr_s_l(
        _String: *mut ::std::os::raw::c_char,
        _Size: usize,
        _Locale: _locale_t,
    ) -> errno_t;
}
unsafe extern "C" {
    pub fn _strupr_l(
        _String: *mut ::std::os::raw::c_char,
        _Locale: _locale_t,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strxfrm(
        _Destination: *mut ::std::os::raw::c_char,
        _Source: *const ::std::os::raw::c_char,
        _MaxCount: ::std::os::raw::c_ulonglong,
    ) -> ::std::os::raw::c_ulonglong;
}
unsafe extern "C" {
    pub fn _strxfrm_l(
        _Destination: *mut ::std::os::raw::c_char,
        _Source: *const ::std::os::raw::c_char,
        _MaxCount: usize,
        _Locale: _locale_t,
    ) -> usize;
}
unsafe extern "C" {
    pub fn strdup(_String: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strcmpi(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn stricmp(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn strlwr(_String: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strnicmp(
        _String1: *const ::std::os::raw::c_char,
        _String2: *const ::std::os::raw::c_char,
        _MaxCount: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn strnset(
        _String: *mut ::std::os::raw::c_char,
        _Value: ::std::os::raw::c_int,
        _MaxCount: usize,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strrev(_String: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strset(
        _String: *mut ::std::os::raw::c_char,
        _Value: ::std::os::raw::c_int,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn strupr(_String: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
}
#[repr(i32)]
#[non_exhaustive]
#[doc = " Copied from TensorProto::DataType\n Currently, Ort doesn't support complex64, complex128"]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ONNXTensorElementDataType {
    ONNX_TENSOR_ELEMENT_DATA_TYPE_UNDEFINED = 0,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT = 1,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_UINT8 = 2,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_INT8 = 3,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_UINT16 = 4,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_INT16 = 5,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_INT32 = 6,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_INT64 = 7,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_STRING = 8,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_BOOL = 9,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT16 = 10,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_DOUBLE = 11,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_UINT32 = 12,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_UINT64 = 13,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_COMPLEX64 = 14,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_COMPLEX128 = 15,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_BFLOAT16 = 16,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT8E4M3FN = 17,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT8E4M3FNUZ = 18,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT8E5M2 = 19,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT8E5M2FNUZ = 20,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_UINT4 = 21,
    ONNX_TENSOR_ELEMENT_DATA_TYPE_INT4 = 22,
}
#[repr(i32)]
#[non_exhaustive]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ONNXType {
    ONNX_TYPE_UNKNOWN = 0,
    ONNX_TYPE_TENSOR = 1,
    ONNX_TYPE_SEQUENCE = 2,
    ONNX_TYPE_MAP = 3,
    ONNX_TYPE_OPAQUE = 4,
    ONNX_TYPE_SPARSETENSOR = 5,
    ONNX_TYPE_OPTIONAL = 6,
}
#[repr(i32)]
#[non_exhaustive]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum OrtSparseFormat {
    ORT_SPARSE_UNDEFINED = 0,
    ORT_SPARSE_COO = 1,
    ORT_SPARSE_CSRC = 2,
    ORT_SPARSE_BLOCK_SPARSE = 4,
}
#[repr(i32)]
#[non_exhaustive]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum OrtSparseIndicesFormat {
    ORT_SPARSE_COO_INDICES = 0,
    ORT_SPARSE_CSR_INNER_INDICES = 1,
    ORT_SPARSE_CSR_OUTER_INDICES = 2,
    ORT_SPARSE_BLOCK_SPARSE_INDICES = 3,
}
#[repr(i32)]
#[non_exhaustive]
#[doc = " \\brief Logging severity levels\n\n In typical API usage, specifying a logging severity level specifies the minimum severity of log messages to show."]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum OrtLoggingLevel {
    #[doc = "< Verbose informational messages (least severe)."]
    ORT_LOGGING_LEVEL_VERBOSE = 0,
    #[doc = "< Informational messages."]
    ORT_LOGGING_LEVEL_INFO = 1,
    #[doc = "< Warning messages."]
    ORT_LOGGING_LEVEL_WARNING = 2,
    #[doc = "< Error messages."]
    ORT_LOGGING_LEVEL_ERROR = 3,
    #[doc = "< Fatal error messages (most severe)."]
    ORT_LOGGING_LEVEL_FATAL = 4,
}
#[repr(i32)]
#[non_exhaustive]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum OrtErrorCode {
    ORT_OK = 0,
    ORT_FAIL = 1,
    ORT_INVALID_ARGUMENT = 2,
    ORT_NO_SUCHFILE = 3,
    ORT_NO_MODEL = 4,
    ORT_ENGINE_ERROR = 5,
    ORT_RUNTIME_EXCEPTION = 6,
    ORT_INVALID_PROTOBUF = 7,
    ORT_MODEL_LOADED = 8,
    ORT_NOT_IMPLEMENTED = 9,
    ORT_INVALID_GRAPH = 10,
    ORT_EP_FAIL = 11,
}
#[repr(i32)]
#[non_exhaustive]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum OrtOpAttrType {
    ORT_OP_ATTR_UNDEFINED = 0,
    ORT_OP_ATTR_INT = 1,
    ORT_OP_ATTR_INTS = 2,
    ORT_OP_ATTR_FLOAT = 3,
    ORT_OP_ATTR_FLOATS = 4,
    ORT_OP_ATTR_STRING = 5,
    ORT_OP_ATTR_STRINGS = 6,
}
#[doc = " \\addtogroup Global\n ONNX Runtime C API\n @{"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtEnv {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtStatus {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtMemoryInfo {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtIoBinding {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtSession {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtValue {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtRunOptions {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtTypeInfo {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtTensorTypeAndShapeInfo {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtMapTypeInfo {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtSequenceTypeInfo {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtOptionalTypeInfo {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtSessionOptions {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtCustomOpDomain {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtModelMetadata {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtThreadPoolParams {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtThreadingOptions {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtArenaCfg {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtPrepackedWeightsContainer {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtTensorRTProviderOptionsV2 {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtCUDAProviderOptionsV2 {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtCANNProviderOptions {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtDnnlProviderOptions {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtOp {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtOpAttr {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtLogger {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtShapeInferContext {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtLoraAdapter {
    _unused: [u8; 0],
}
pub type OrtStatusPtr = *mut OrtStatus;
#[doc = " \\brief Memory allocation interface\n\n Structure of function pointers that defines a memory allocator. This can be created and filled in by the user for custom allocators.\n\n When an allocator is passed to any function, be sure that the allocator object is not destroyed until the last allocated object using it is freed."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtAllocator {
    #[doc = "< Must be initialized to ORT_API_VERSION"]
    pub version: u32,
    #[doc = "< Returns a pointer to an allocated block of `size` bytes"]
    pub Alloc: ::std::option::Option<
        unsafe extern "C" fn(this_: *mut OrtAllocator, size: usize) -> *mut ::std::os::raw::c_void,
    >,
    #[doc = "< Free a block of memory previously allocated with OrtAllocator::Alloc"]
    pub Free: ::std::option::Option<
        unsafe extern "C" fn(this_: *mut OrtAllocator, p: *mut ::std::os::raw::c_void),
    >,
    #[doc = "< Return a pointer to an ::OrtMemoryInfo that describes this allocator"]
    pub Info: ::std::option::Option<
        unsafe extern "C" fn(this_: *const OrtAllocator) -> *const OrtMemoryInfo,
    >,
    #[doc = "< Returns a pointer to an allocated block of `size` bytes"]
    pub Reserve: ::std::option::Option<
        unsafe extern "C" fn(this_: *mut OrtAllocator, size: usize) -> *mut ::std::os::raw::c_void,
    >,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of OrtAllocator"][::std::mem::size_of::<OrtAllocator>() - 40usize];
    ["Alignment of OrtAllocator"][::std::mem::align_of::<OrtAllocator>() - 8usize];
    ["Offset of field: OrtAllocator::version"]
        [::std::mem::offset_of!(OrtAllocator, version) - 0usize];
    ["Offset of field: OrtAllocator::Alloc"][::std::mem::offset_of!(OrtAllocator, Alloc) - 8usize];
    ["Offset of field: OrtAllocator::Free"][::std::mem::offset_of!(OrtAllocator, Free) - 16usize];
    ["Offset of field: OrtAllocator::Info"][::std::mem::offset_of!(OrtAllocator, Info) - 24usize];
    ["Offset of field: OrtAllocator::Reserve"]
        [::std::mem::offset_of!(OrtAllocator, Reserve) - 32usize];
};
pub type OrtLoggingFunction = ::std::option::Option<
    unsafe extern "C" fn(
        param: *mut ::std::os::raw::c_void,
        severity: OrtLoggingLevel,
        category: *const ::std::os::raw::c_char,
        logid: *const ::std::os::raw::c_char,
        code_location: *const ::std::os::raw::c_char,
        message: *const ::std::os::raw::c_char,
    ),
>;
#[repr(i32)]
#[non_exhaustive]
#[doc = " \\brief Graph optimization level\n\n Refer to https://www.onnxruntime.ai/docs/performance/graph-optimizations.html#graph-optimization-levels\n for an in-depth understanding of the Graph Optimization Levels."]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum GraphOptimizationLevel {
    ORT_DISABLE_ALL = 0,
    ORT_ENABLE_BASIC = 1,
    ORT_ENABLE_EXTENDED = 2,
    ORT_ENABLE_ALL = 99,
}
#[repr(i32)]
#[non_exhaustive]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum ExecutionMode {
    ORT_SEQUENTIAL = 0,
    ORT_PARALLEL = 1,
}
#[repr(i32)]
#[non_exhaustive]
#[doc = " \\brief Language projection identifiers\n /see OrtApi::SetLanguageProjection"]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum OrtLanguageProjection {
    ORT_PROJECTION_C = 0,
    ORT_PROJECTION_CPLUSPLUS = 1,
    ORT_PROJECTION_CSHARP = 2,
    ORT_PROJECTION_PYTHON = 3,
    ORT_PROJECTION_JAVA = 4,
    ORT_PROJECTION_WINML = 5,
    ORT_PROJECTION_NODEJS = 6,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtKernelInfo {
    _unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtKernelContext {
    _unused: [u8; 0],
}
#[repr(i32)]
#[non_exhaustive]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum OrtAllocatorType {
    OrtInvalidAllocator = -1,
    OrtDeviceAllocator = 0,
    OrtArenaAllocator = 1,
}
impl OrtMemType {
    pub const OrtMemTypeCPU: OrtMemType = OrtMemType::OrtMemTypeCPUOutput;
}
#[repr(i32)]
#[non_exhaustive]
#[doc = " \\brief Memory types for allocated memory, execution provider specific types should be extended in each provider."]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum OrtMemType {
    #[doc = "< Any CPU memory used by non-CPU execution provider"]
    OrtMemTypeCPUInput = -2,
    #[doc = "< CPU accessible memory outputted by non-CPU execution provider, i.e. CUDA_PINNED"]
    OrtMemTypeCPUOutput = -1,
    #[doc = "< The default allocator for execution provider"]
    OrtMemTypeDefault = 0,
}
#[repr(i32)]
#[non_exhaustive]
#[doc = " \\brief This mimics OrtDevice type constants so they can be returned in the API"]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum OrtMemoryInfoDeviceType {
    OrtMemoryInfoDeviceType_CPU = 0,
    OrtMemoryInfoDeviceType_GPU = 1,
    OrtMemoryInfoDeviceType_FPGA = 2,
}
#[repr(i32)]
#[non_exhaustive]
#[doc = " \\brief Algorithm to use for cuDNN Convolution Op"]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum OrtCudnnConvAlgoSearch {
    OrtCudnnConvAlgoSearchExhaustive = 0,
    OrtCudnnConvAlgoSearchHeuristic = 1,
    OrtCudnnConvAlgoSearchDefault = 2,
}
#[doc = " \\brief CUDA Provider Options\n\n \\see OrtApi::SessionOptionsAppendExecutionProvider_CUDA"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtCUDAProviderOptions {
    #[doc = " \\brief CUDA device Id\n   Defaults to 0."]
    pub device_id: ::std::os::raw::c_int,
    #[doc = " \\brief CUDA Convolution algorithm search configuration.\n   See enum OrtCudnnConvAlgoSearch for more details.\n   Defaults to OrtCudnnConvAlgoSearchExhaustive."]
    pub cudnn_conv_algo_search: OrtCudnnConvAlgoSearch,
    #[doc = " \\brief CUDA memory limit (To use all possible memory pass in maximum size_t)\n   Defaults to SIZE_MAX.\n   \\note If a ::OrtArenaCfg has been applied, it will override this field"]
    pub gpu_mem_limit: usize,
    #[doc = " \\brief Strategy used to grow the memory arena\n   0 = kNextPowerOfTwo<br>\n   1 = kSameAsRequested<br>\n   Defaults to 0.\n   \\note If a ::OrtArenaCfg has been applied, it will override this field"]
    pub arena_extend_strategy: ::std::os::raw::c_int,
    #[doc = " \\brief Flag indicating if copying needs to take place on the same stream as the compute stream in the CUDA EP\n   0 = Use separate streams for copying and compute.\n   1 = Use the same stream for copying and compute.\n   Defaults to 1.\n   WARNING: Setting this to 0 may result in data races for some models.\n   Please see issue #4829 for more details."]
    pub do_copy_in_default_stream: ::std::os::raw::c_int,
    #[doc = " \\brief Flag indicating if there is a user provided compute stream\n   Defaults to 0."]
    pub has_user_compute_stream: ::std::os::raw::c_int,
    #[doc = " \\brief User provided compute stream.\n   If provided, please set `has_user_compute_stream` to 1."]
    pub user_compute_stream: *mut ::std::os::raw::c_void,
    #[doc = " \\brief CUDA memory arena configuration parameters"]
    pub default_memory_arena_cfg: *mut OrtArenaCfg,
    #[doc = " \\brief Enable TunableOp for using.\n   Set it to 1/0 to enable/disable TunableOp. Otherwise, it is disabled by default.\n   This option can be overridden by environment variable ORT_CUDA_TUNABLE_OP_ENABLE."]
    pub tunable_op_enable: ::std::os::raw::c_int,
    #[doc = " \\brief Enable TunableOp for tuning.\n   Set it to 1/0 to enable/disable TunableOp tuning. Otherwise, it is disabled by default.\n   This option can be overridden by environment variable ORT_CUDA_TUNABLE_OP_TUNING_ENABLE."]
    pub tunable_op_tuning_enable: ::std::os::raw::c_int,
    #[doc = " \\brief Max tuning duration time limit for each instance of TunableOp.\n   Defaults to 0 to disable the limit."]
    pub tunable_op_max_tuning_duration_ms: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of OrtCUDAProviderOptions"][::std::mem::size_of::<OrtCUDAProviderOptions>() - 64usize];
    ["Alignment of OrtCUDAProviderOptions"]
        [::std::mem::align_of::<OrtCUDAProviderOptions>() - 8usize];
    ["Offset of field: OrtCUDAProviderOptions::device_id"]
        [::std::mem::offset_of!(OrtCUDAProviderOptions, device_id) - 0usize];
    ["Offset of field: OrtCUDAProviderOptions::cudnn_conv_algo_search"]
        [::std::mem::offset_of!(OrtCUDAProviderOptions, cudnn_conv_algo_search) - 4usize];
    ["Offset of field: OrtCUDAProviderOptions::gpu_mem_limit"]
        [::std::mem::offset_of!(OrtCUDAProviderOptions, gpu_mem_limit) - 8usize];
    ["Offset of field: OrtCUDAProviderOptions::arena_extend_strategy"]
        [::std::mem::offset_of!(OrtCUDAProviderOptions, arena_extend_strategy) - 16usize];
    ["Offset of field: OrtCUDAProviderOptions::do_copy_in_default_stream"]
        [::std::mem::offset_of!(OrtCUDAProviderOptions, do_copy_in_default_stream) - 20usize];
    ["Offset of field: OrtCUDAProviderOptions::has_user_compute_stream"]
        [::std::mem::offset_of!(OrtCUDAProviderOptions, has_user_compute_stream) - 24usize];
    ["Offset of field: OrtCUDAProviderOptions::user_compute_stream"]
        [::std::mem::offset_of!(OrtCUDAProviderOptions, user_compute_stream) - 32usize];
    ["Offset of field: OrtCUDAProviderOptions::default_memory_arena_cfg"]
        [::std::mem::offset_of!(OrtCUDAProviderOptions, default_memory_arena_cfg) - 40usize];
    ["Offset of field: OrtCUDAProviderOptions::tunable_op_enable"]
        [::std::mem::offset_of!(OrtCUDAProviderOptions, tunable_op_enable) - 48usize];
    ["Offset of field: OrtCUDAProviderOptions::tunable_op_tuning_enable"]
        [::std::mem::offset_of!(OrtCUDAProviderOptions, tunable_op_tuning_enable) - 52usize];
    ["Offset of field: OrtCUDAProviderOptions::tunable_op_max_tuning_duration_ms"][::std::mem::offset_of!(
        OrtCUDAProviderOptions,
        tunable_op_max_tuning_duration_ms
    ) - 56usize];
};
#[doc = " \\brief ROCM Provider Options\n\n \\see OrtApi::SessionOptionsAppendExecutionProvider_ROCM"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtROCMProviderOptions {
    #[doc = " \\brief ROCM device Id\n   Defaults to 0."]
    pub device_id: ::std::os::raw::c_int,
    #[doc = " \\brief ROCM MIOpen Convolution algorithm exaustive search option.\n   Defaults to 0 (false)."]
    pub miopen_conv_exhaustive_search: ::std::os::raw::c_int,
    #[doc = " \\brief ROCM memory limit (To use all possible memory pass in maximum size_t)\n   Defaults to SIZE_MAX.\n   \\note If a ::OrtArenaCfg has been applied, it will override this field"]
    pub gpu_mem_limit: usize,
    #[doc = " \\brief Strategy used to grow the memory arena\n   0 = kNextPowerOfTwo<br>\n   1 = kSameAsRequested<br>\n   Defaults to 0.\n   \\note If a ::OrtArenaCfg has been applied, it will override this field"]
    pub arena_extend_strategy: ::std::os::raw::c_int,
    #[doc = " \\brief Flag indicating if copying needs to take place on the same stream as the compute stream in the ROCM EP\n   0 = Use separate streams for copying and compute.\n   1 = Use the same stream for copying and compute.\n   Defaults to 1.\n   WARNING: Setting this to 0 may result in data races for some models.\n   Please see issue #4829 for more details."]
    pub do_copy_in_default_stream: ::std::os::raw::c_int,
    #[doc = " \\brief Flag indicating if there is a user provided compute stream\n   Defaults to 0."]
    pub has_user_compute_stream: ::std::os::raw::c_int,
    #[doc = " \\brief User provided compute stream.\n   If provided, please set `has_user_compute_stream` to 1."]
    pub user_compute_stream: *mut ::std::os::raw::c_void,
    #[doc = " \\brief ROCM memory arena configuration parameters"]
    pub default_memory_arena_cfg: *mut OrtArenaCfg,
    pub enable_hip_graph: ::std::os::raw::c_int,
    #[doc = " \\brief Enable TunableOp for using.\n   Set it to 1/0 to enable/disable TunableOp. Otherwise, it is disabled by default.\n   This option can be overridden by environment variable ORT_ROCM_TUNABLE_OP_ENABLE."]
    pub tunable_op_enable: ::std::os::raw::c_int,
    #[doc = " \\brief Enable TunableOp for tuning.\n   Set it to 1/0 to enable/disable TunableOp tuning. Otherwise, it is disabled by default.\n   This option can be overridden by environment variable ORT_ROCM_TUNABLE_OP_TUNING_ENABLE."]
    pub tunable_op_tuning_enable: ::std::os::raw::c_int,
    #[doc = " \\brief Max tuning duration time limit for each instance of TunableOp.\n   Defaults to 0 to disable the limit."]
    pub tunable_op_max_tuning_duration_ms: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of OrtROCMProviderOptions"][::std::mem::size_of::<OrtROCMProviderOptions>() - 64usize];
    ["Alignment of OrtROCMProviderOptions"]
        [::std::mem::align_of::<OrtROCMProviderOptions>() - 8usize];
    ["Offset of field: OrtROCMProviderOptions::device_id"]
        [::std::mem::offset_of!(OrtROCMProviderOptions, device_id) - 0usize];
    ["Offset of field: OrtROCMProviderOptions::miopen_conv_exhaustive_search"]
        [::std::mem::offset_of!(OrtROCMProviderOptions, miopen_conv_exhaustive_search) - 4usize];
    ["Offset of field: OrtROCMProviderOptions::gpu_mem_limit"]
        [::std::mem::offset_of!(OrtROCMProviderOptions, gpu_mem_limit) - 8usize];
    ["Offset of field: OrtROCMProviderOptions::arena_extend_strategy"]
        [::std::mem::offset_of!(OrtROCMProviderOptions, arena_extend_strategy) - 16usize];
    ["Offset of field: OrtROCMProviderOptions::do_copy_in_default_stream"]
        [::std::mem::offset_of!(OrtROCMProviderOptions, do_copy_in_default_stream) - 20usize];
    ["Offset of field: OrtROCMProviderOptions::has_user_compute_stream"]
        [::std::mem::offset_of!(OrtROCMProviderOptions, has_user_compute_stream) - 24usize];
    ["Offset of field: OrtROCMProviderOptions::user_compute_stream"]
        [::std::mem::offset_of!(OrtROCMProviderOptions, user_compute_stream) - 32usize];
    ["Offset of field: OrtROCMProviderOptions::default_memory_arena_cfg"]
        [::std::mem::offset_of!(OrtROCMProviderOptions, default_memory_arena_cfg) - 40usize];
    ["Offset of field: OrtROCMProviderOptions::enable_hip_graph"]
        [::std::mem::offset_of!(OrtROCMProviderOptions, enable_hip_graph) - 48usize];
    ["Offset of field: OrtROCMProviderOptions::tunable_op_enable"]
        [::std::mem::offset_of!(OrtROCMProviderOptions, tunable_op_enable) - 52usize];
    ["Offset of field: OrtROCMProviderOptions::tunable_op_tuning_enable"]
        [::std::mem::offset_of!(OrtROCMProviderOptions, tunable_op_tuning_enable) - 56usize];
    ["Offset of field: OrtROCMProviderOptions::tunable_op_max_tuning_duration_ms"][::std::mem::offset_of!(
        OrtROCMProviderOptions,
        tunable_op_max_tuning_duration_ms
    ) - 60usize];
};
#[doc = " \\brief TensorRT Provider Options\n\n \\see OrtApi::SessionOptionsAppendExecutionProvider_TensorRT"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtTensorRTProviderOptions {
    #[doc = "< CUDA device id (0 = default device)"]
    pub device_id: ::std::os::raw::c_int,
    pub has_user_compute_stream: ::std::os::raw::c_int,
    pub user_compute_stream: *mut ::std::os::raw::c_void,
    pub trt_max_partition_iterations: ::std::os::raw::c_int,
    pub trt_min_subgraph_size: ::std::os::raw::c_int,
    pub trt_max_workspace_size: usize,
    pub trt_fp16_enable: ::std::os::raw::c_int,
    pub trt_int8_enable: ::std::os::raw::c_int,
    pub trt_int8_calibration_table_name: *const ::std::os::raw::c_char,
    pub trt_int8_use_native_calibration_table: ::std::os::raw::c_int,
    pub trt_dla_enable: ::std::os::raw::c_int,
    pub trt_dla_core: ::std::os::raw::c_int,
    pub trt_dump_subgraphs: ::std::os::raw::c_int,
    pub trt_engine_cache_enable: ::std::os::raw::c_int,
    pub trt_engine_cache_path: *const ::std::os::raw::c_char,
    pub trt_engine_decryption_enable: ::std::os::raw::c_int,
    pub trt_engine_decryption_lib_path: *const ::std::os::raw::c_char,
    pub trt_force_sequential_engine_build: ::std::os::raw::c_int,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of OrtTensorRTProviderOptions"]
        [::std::mem::size_of::<OrtTensorRTProviderOptions>() - 104usize];
    ["Alignment of OrtTensorRTProviderOptions"]
        [::std::mem::align_of::<OrtTensorRTProviderOptions>() - 8usize];
    ["Offset of field: OrtTensorRTProviderOptions::device_id"]
        [::std::mem::offset_of!(OrtTensorRTProviderOptions, device_id) - 0usize];
    ["Offset of field: OrtTensorRTProviderOptions::has_user_compute_stream"]
        [::std::mem::offset_of!(OrtTensorRTProviderOptions, has_user_compute_stream) - 4usize];
    ["Offset of field: OrtTensorRTProviderOptions::user_compute_stream"]
        [::std::mem::offset_of!(OrtTensorRTProviderOptions, user_compute_stream) - 8usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_max_partition_iterations"][::std::mem::offset_of!(
        OrtTensorRTProviderOptions,
        trt_max_partition_iterations
    ) - 16usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_min_subgraph_size"]
        [::std::mem::offset_of!(OrtTensorRTProviderOptions, trt_min_subgraph_size) - 20usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_max_workspace_size"]
        [::std::mem::offset_of!(OrtTensorRTProviderOptions, trt_max_workspace_size) - 24usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_fp16_enable"]
        [::std::mem::offset_of!(OrtTensorRTProviderOptions, trt_fp16_enable) - 32usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_int8_enable"]
        [::std::mem::offset_of!(OrtTensorRTProviderOptions, trt_int8_enable) - 36usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_int8_calibration_table_name"][::std::mem::offset_of!(
        OrtTensorRTProviderOptions,
        trt_int8_calibration_table_name
    ) - 40usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_int8_use_native_calibration_table"][::std::mem::offset_of!(
        OrtTensorRTProviderOptions,
        trt_int8_use_native_calibration_table
    )
        - 48usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_dla_enable"]
        [::std::mem::offset_of!(OrtTensorRTProviderOptions, trt_dla_enable) - 52usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_dla_core"]
        [::std::mem::offset_of!(OrtTensorRTProviderOptions, trt_dla_core) - 56usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_dump_subgraphs"]
        [::std::mem::offset_of!(OrtTensorRTProviderOptions, trt_dump_subgraphs) - 60usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_engine_cache_enable"]
        [::std::mem::offset_of!(OrtTensorRTProviderOptions, trt_engine_cache_enable) - 64usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_engine_cache_path"]
        [::std::mem::offset_of!(OrtTensorRTProviderOptions, trt_engine_cache_path) - 72usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_engine_decryption_enable"][::std::mem::offset_of!(
        OrtTensorRTProviderOptions,
        trt_engine_decryption_enable
    ) - 80usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_engine_decryption_lib_path"][::std::mem::offset_of!(
        OrtTensorRTProviderOptions,
        trt_engine_decryption_lib_path
    ) - 88usize];
    ["Offset of field: OrtTensorRTProviderOptions::trt_force_sequential_engine_build"][::std::mem::offset_of!(
        OrtTensorRTProviderOptions,
        trt_force_sequential_engine_build
    ) - 96usize];
};
#[doc = " \\brief MIGraphX Provider Options\n\n \\see OrtApi::SessionOptionsAppendExecutionProvider_MIGraphX"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtMIGraphXProviderOptions {
    pub device_id: ::std::os::raw::c_int,
    pub migraphx_fp16_enable: ::std::os::raw::c_int,
    pub migraphx_int8_enable: ::std::os::raw::c_int,
    pub migraphx_use_native_calibration_table: ::std::os::raw::c_int,
    pub migraphx_int8_calibration_table_name: *const ::std::os::raw::c_char,
    pub migraphx_save_compiled_model: ::std::os::raw::c_int,
    pub migraphx_save_model_path: *const ::std::os::raw::c_char,
    pub migraphx_load_compiled_model: ::std::os::raw::c_int,
    pub migraphx_load_model_path: *const ::std::os::raw::c_char,
    pub migraphx_exhaustive_tune: bool,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of OrtMIGraphXProviderOptions"]
        [::std::mem::size_of::<OrtMIGraphXProviderOptions>() - 64usize];
    ["Alignment of OrtMIGraphXProviderOptions"]
        [::std::mem::align_of::<OrtMIGraphXProviderOptions>() - 8usize];
    ["Offset of field: OrtMIGraphXProviderOptions::device_id"]
        [::std::mem::offset_of!(OrtMIGraphXProviderOptions, device_id) - 0usize];
    ["Offset of field: OrtMIGraphXProviderOptions::migraphx_fp16_enable"]
        [::std::mem::offset_of!(OrtMIGraphXProviderOptions, migraphx_fp16_enable) - 4usize];
    ["Offset of field: OrtMIGraphXProviderOptions::migraphx_int8_enable"]
        [::std::mem::offset_of!(OrtMIGraphXProviderOptions, migraphx_int8_enable) - 8usize];
    ["Offset of field: OrtMIGraphXProviderOptions::migraphx_use_native_calibration_table"][::std::mem::offset_of!(
        OrtMIGraphXProviderOptions,
        migraphx_use_native_calibration_table
    )
        - 12usize];
    ["Offset of field: OrtMIGraphXProviderOptions::migraphx_int8_calibration_table_name"][::std::mem::offset_of!(
        OrtMIGraphXProviderOptions,
        migraphx_int8_calibration_table_name
    )
        - 16usize];
    ["Offset of field: OrtMIGraphXProviderOptions::migraphx_save_compiled_model"][::std::mem::offset_of!(
        OrtMIGraphXProviderOptions,
        migraphx_save_compiled_model
    ) - 24usize];
    ["Offset of field: OrtMIGraphXProviderOptions::migraphx_save_model_path"]
        [::std::mem::offset_of!(OrtMIGraphXProviderOptions, migraphx_save_model_path) - 32usize];
    ["Offset of field: OrtMIGraphXProviderOptions::migraphx_load_compiled_model"][::std::mem::offset_of!(
        OrtMIGraphXProviderOptions,
        migraphx_load_compiled_model
    ) - 40usize];
    ["Offset of field: OrtMIGraphXProviderOptions::migraphx_load_model_path"]
        [::std::mem::offset_of!(OrtMIGraphXProviderOptions, migraphx_load_model_path) - 48usize];
    ["Offset of field: OrtMIGraphXProviderOptions::migraphx_exhaustive_tune"]
        [::std::mem::offset_of!(OrtMIGraphXProviderOptions, migraphx_exhaustive_tune) - 56usize];
};
#[doc = " \\brief OpenVINO Provider Options\n\n \\see OrtApi::SessionOptionsAppendExecutionProvider_OpenVINO"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtOpenVINOProviderOptions {
    #[doc = " \\brief Device type string\n\n Valid settings are one of: \"CPU_FP32\", \"CPU_FP16\", \"GPU_FP32\", \"GPU_FP16\""]
    pub device_type: *const ::std::os::raw::c_char,
    pub enable_npu_fast_compile: ::std::os::raw::c_uchar,
    pub device_id: *const ::std::os::raw::c_char,
    #[doc = "< 0 = Use default number of threads"]
    pub num_of_threads: usize,
    pub cache_dir: *const ::std::os::raw::c_char,
    pub context: *mut ::std::os::raw::c_void,
    #[doc = "< 0 = disabled, nonzero = enabled"]
    pub enable_opencl_throttling: ::std::os::raw::c_uchar,
    #[doc = "< 0 = disabled, nonzero = enabled"]
    pub enable_dynamic_shapes: ::std::os::raw::c_uchar,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of OrtOpenVINOProviderOptions"]
        [::std::mem::size_of::<OrtOpenVINOProviderOptions>() - 56usize];
    ["Alignment of OrtOpenVINOProviderOptions"]
        [::std::mem::align_of::<OrtOpenVINOProviderOptions>() - 8usize];
    ["Offset of field: OrtOpenVINOProviderOptions::device_type"]
        [::std::mem::offset_of!(OrtOpenVINOProviderOptions, device_type) - 0usize];
    ["Offset of field: OrtOpenVINOProviderOptions::enable_npu_fast_compile"]
        [::std::mem::offset_of!(OrtOpenVINOProviderOptions, enable_npu_fast_compile) - 8usize];
    ["Offset of field: OrtOpenVINOProviderOptions::device_id"]
        [::std::mem::offset_of!(OrtOpenVINOProviderOptions, device_id) - 16usize];
    ["Offset of field: OrtOpenVINOProviderOptions::num_of_threads"]
        [::std::mem::offset_of!(OrtOpenVINOProviderOptions, num_of_threads) - 24usize];
    ["Offset of field: OrtOpenVINOProviderOptions::cache_dir"]
        [::std::mem::offset_of!(OrtOpenVINOProviderOptions, cache_dir) - 32usize];
    ["Offset of field: OrtOpenVINOProviderOptions::context"]
        [::std::mem::offset_of!(OrtOpenVINOProviderOptions, context) - 40usize];
    ["Offset of field: OrtOpenVINOProviderOptions::enable_opencl_throttling"]
        [::std::mem::offset_of!(OrtOpenVINOProviderOptions, enable_opencl_throttling) - 48usize];
    ["Offset of field: OrtOpenVINOProviderOptions::enable_dynamic_shapes"]
        [::std::mem::offset_of!(OrtOpenVINOProviderOptions, enable_dynamic_shapes) - 49usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtTrainingApi {
    _unused: [u8; 0],
}
#[doc = " \\brief The helper interface to get the right version of OrtApi\n\n Get a pointer to this structure through ::OrtGetApiBase"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtApiBase {
    #[doc = " \\brief Get a pointer to the requested version of the ::OrtApi\n\n \\param[in] version Must be ::ORT_API_VERSION\n \\return The ::OrtApi for the version requested, nullptr will be returned if this version is unsupported, for example when using a runtime\n   older than the version created with this header file.\n\n One can call GetVersionString() to get the version of the Onnxruntime library for logging\n and error reporting purposes."]
    pub GetApi: ::std::option::Option<unsafe extern "C" fn(version: u32) -> *const OrtApi>,
    #[doc = " \\brief Returns a null terminated string of the version of the Onnxruntime library (eg: \"1.8.1\")\n\n  \\return UTF-8 encoded version string. Do not deallocate the returned buffer."]
    pub GetVersionString:
        ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of OrtApiBase"][::std::mem::size_of::<OrtApiBase>() - 16usize];
    ["Alignment of OrtApiBase"][::std::mem::align_of::<OrtApiBase>() - 8usize];
    ["Offset of field: OrtApiBase::GetApi"][::std::mem::offset_of!(OrtApiBase, GetApi) - 0usize];
    ["Offset of field: OrtApiBase::GetVersionString"]
        [::std::mem::offset_of!(OrtApiBase, GetVersionString) - 8usize];
};
unsafe extern "C" {
    #[doc = " \\brief The Onnxruntime library's entry point to access the C API\n\n Call this to get the a pointer to an ::OrtApiBase"]
    pub fn OrtGetApiBase() -> *const OrtApiBase;
}
#[doc = " \\brief Thread work loop function\n\n Onnxruntime will provide the working loop on custom thread creation\n Argument is an onnxruntime built-in type which will be provided when thread pool calls OrtCustomCreateThreadFn"]
pub type OrtThreadWorkerFn =
    ::std::option::Option<unsafe extern "C" fn(ort_worker_fn_param: *mut ::std::os::raw::c_void)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtCustomHandleType {
    pub __place_holder: ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of OrtCustomHandleType"][::std::mem::size_of::<OrtCustomHandleType>() - 1usize];
    ["Alignment of OrtCustomHandleType"][::std::mem::align_of::<OrtCustomHandleType>() - 1usize];
    ["Offset of field: OrtCustomHandleType::__place_holder"]
        [::std::mem::offset_of!(OrtCustomHandleType, __place_holder) - 0usize];
};
pub type OrtCustomThreadHandle = *const OrtCustomHandleType;
#[doc = " \\brief Ort custom thread creation function\n\n The function should return a thread handle to be used in onnxruntime thread pools\n Onnxruntime will throw exception on return value of nullptr or 0, indicating that the function failed to create a thread"]
pub type OrtCustomCreateThreadFn = ::std::option::Option<
    unsafe extern "C" fn(
        ort_custom_thread_creation_options: *mut ::std::os::raw::c_void,
        ort_thread_worker_fn: OrtThreadWorkerFn,
        ort_worker_fn_param: *mut ::std::os::raw::c_void,
    ) -> OrtCustomThreadHandle,
>;
#[doc = " \\brief Custom thread join function\n\n Onnxruntime thread pool destructor will call the function to join a custom thread.\n Argument ort_custom_thread_handle is the value returned by OrtCustomCreateThreadFn"]
pub type OrtCustomJoinThreadFn =
    ::std::option::Option<unsafe extern "C" fn(ort_custom_thread_handle: OrtCustomThreadHandle)>;
pub type RegisterCustomOpsFn = ::std::option::Option<
    unsafe extern "C" fn(options: *mut OrtSessionOptions, api: *const OrtApiBase) -> *mut OrtStatus,
>;
#[doc = " \\brief Callback function for RunAsync\n\n \\param[in] user_data User specific data that passed back to the callback\n \\param[out] outputs On succeed, outputs host inference results, on error, the value will be nullptr\n \\param[out] num_outputs Number of outputs, on error, the value will be zero\n \\param[out] status On error, status will provide details"]
pub type RunAsyncCallbackFn = ::std::option::Option<
    unsafe extern "C" fn(
        user_data: *mut ::std::os::raw::c_void,
        outputs: *mut *mut OrtValue,
        num_outputs: usize,
        status: OrtStatusPtr,
    ),
>;
#[doc = " \\brief The C API\n\n All C API functions are defined inside this structure as pointers to functions.\n Call OrtApiBase::GetApi to get a pointer to it\n\n \\nosubgrouping"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtApi {
    #[doc = " \\brief Create an OrtStatus from a null terminated string\n\n \\param[in] code\n \\param[in] msg A null-terminated string. Its contents will be copied.\n \\return A new OrtStatus object, must be destroyed with OrtApi::ReleaseStatus"]
    pub CreateStatus: ::std::option::Option<
        unsafe extern "C" fn(
            code: OrtErrorCode,
            msg: *const ::std::os::raw::c_char,
        ) -> *mut OrtStatus,
    >,
    #[doc = " \\brief Get OrtErrorCode from OrtStatus\n\n \\param[in] status\n \\return OrtErrorCode that \\p status was created with"]
    pub GetErrorCode:
        ::std::option::Option<unsafe extern "C" fn(status: *const OrtStatus) -> OrtErrorCode>,
    #[doc = " \\brief Get error string from OrtStatus\n\n \\param[in] status\n \\return The error message inside the `status`. Do not free the returned value."]
    pub GetErrorMessage: ::std::option::Option<
        unsafe extern "C" fn(status: *const OrtStatus) -> *const ::std::os::raw::c_char,
    >,
    #[doc = " \\brief Create an OrtEnv\n\n \\note Invoking this function will return the same instance of the environment as that returned by a previous call\n to another env creation function; all arguments to this function will be ignored.\n \\param[in] log_severity_level The log severity level.\n \\param[in] logid The log identifier.\n \\param[out] out Returned newly created OrtEnv. Must be freed with OrtApi::ReleaseEnv\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateEnv: ::std::option::Option<
        unsafe extern "C" fn(
            log_severity_level: OrtLoggingLevel,
            logid: *const ::std::os::raw::c_char,
            out: *mut *mut OrtEnv,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an OrtEnv\n\n \\note Invoking this function will return the same instance of the environment as that returned by a previous call\n to another env creation function; all arguments to this function will be ignored. If you want to provide your\n own logging function, consider setting it using the SetUserLoggingFunction API instead.\n \\param[in] logging_function A pointer to a logging function.\n \\param[in] logger_param A pointer to arbitrary data passed as the ::OrtLoggingFunction `param` parameter to\n                         `logging_function`. This parameter is optional.\n \\param[in] log_severity_level The log severity level.\n \\param[in] logid The log identifier.\n \\param[out] out Returned newly created OrtEnv. Must be freed with OrtApi::ReleaseEnv\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateEnvWithCustomLogger: ::std::option::Option<
        unsafe extern "C" fn(
            logging_function: OrtLoggingFunction,
            logger_param: *mut ::std::os::raw::c_void,
            log_severity_level: OrtLoggingLevel,
            logid: *const ::std::os::raw::c_char,
            out: *mut *mut OrtEnv,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Enable Telemetry\n\n \\note Telemetry events are on by default since they are lightweight\n \\param[in] env\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub EnableTelemetryEvents:
        ::std::option::Option<unsafe extern "C" fn(env: *const OrtEnv) -> OrtStatusPtr>,
    #[doc = " \\brief Disable Telemetry\n\n \\see OrtApi::EnableTelemetryEvents\n \\param[in] env\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub DisableTelemetryEvents:
        ::std::option::Option<unsafe extern "C" fn(env: *const OrtEnv) -> OrtStatusPtr>,
    #[doc = " \\brief Create an OrtSession from a model file\n\n \\param[in] env\n \\param[in] model_path\n \\param[in] options\n \\param[out] out Returned newly created OrtSession. Must be freed with OrtApi::ReleaseSession\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateSession: ::std::option::Option<
        unsafe extern "C" fn(
            env: *const OrtEnv,
            model_path: *const wchar_t,
            options: *const OrtSessionOptions,
            out: *mut *mut OrtSession,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an OrtSession from memory\n\n \\param[in] env\n \\param[in] model_data\n \\param[in] model_data_length\n \\param[in] options\n \\param[out] out Returned newly created OrtSession. Must be freed with OrtApi::ReleaseSession\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateSessionFromArray: ::std::option::Option<
        unsafe extern "C" fn(
            env: *const OrtEnv,
            model_data: *const ::std::os::raw::c_void,
            model_data_length: usize,
            options: *const OrtSessionOptions,
            out: *mut *mut OrtSession,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Run the model in an ::OrtSession\n\n Will not return until the model run has completed. Multiple threads might be used to run the model based on\n the options in the ::OrtSession and settings used when creating the ::OrtEnv\n\n \\param[in] session\n \\param[in] run_options If nullptr, will use a default ::OrtRunOptions\n \\param[in] input_names Array of null terminated UTF8 encoded strings of the input names\n \\param[in] inputs Array of ::OrtValue%s of the input values\n \\param[in] input_len Number of elements in the input_names and inputs arrays\n \\param[in] output_names Array of null terminated UTF8 encoded strings of the output names\n \\param[in] output_names_len Number of elements in the output_names and outputs array\n \\param[out] outputs Array of ::OrtValue%s that the outputs are stored in. This can also be\n     an array of nullptr values, in this case ::OrtValue objects will be allocated and pointers\n     to them will be set into the `outputs` array.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub Run: ::std::option::Option<
        unsafe extern "C" fn(
            session: *mut OrtSession,
            run_options: *const OrtRunOptions,
            input_names: *const *const ::std::os::raw::c_char,
            inputs: *const *const OrtValue,
            input_len: usize,
            output_names: *const *const ::std::os::raw::c_char,
            output_names_len: usize,
            outputs: *mut *mut OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an ::OrtSessionOptions object\n\n To use additional providers, you must build ORT with the extra providers enabled. Then call one of these\n functions to enable them in the session:<br>\n   OrtSessionOptionsAppendExecutionProvider_CPU<br>\n   OrtSessionOptionsAppendExecutionProvider_CUDA<br>\n   OrtSessionOptionsAppendExecutionProvider_(remaining providers...)<br>\n The order they are called indicates the preference order as well. In other words call this method\n on your most preferred execution provider first followed by the less preferred ones.\n If none are called Ort will use its internal CPU execution provider.\n\n \\param[out] options The newly created OrtSessionOptions. Must be freed with OrtApi::ReleaseSessionOptions\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateSessionOptions: ::std::option::Option<
        unsafe extern "C" fn(options: *mut *mut OrtSessionOptions) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set filepath to save optimized model after graph level transformations\n\n \\param[in] options\n \\param[in] optimized_model_filepath\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetOptimizedModelFilePath: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            optimized_model_filepath: *const wchar_t,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create a copy of an existing ::OrtSessionOptions\n\n \\param[in] in_options OrtSessionOptions to copy\n \\param[out] out_options Returned newly created ::OrtSessionOptions. Must be freed with OrtApi::ReleaseSessionOptions\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CloneSessionOptions: ::std::option::Option<
        unsafe extern "C" fn(
            in_options: *const OrtSessionOptions,
            out_options: *mut *mut OrtSessionOptions,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set execution mode\n\n Controls whether you want to execute operators in your graph sequentially or in parallel. Usually when the model\n  has many branches, setting this option to ExecutionMode.ORT_PARALLEL will give you better performance.\n  See [docs/ONNX_Runtime_Perf_Tuning.md] for more details.\n\n \\param[in] options\n \\param[in] execution_mode\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetSessionExecutionMode: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            execution_mode: ExecutionMode,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Enable profiling for a session\n\n \\param[in] options\n \\param[in] profile_file_prefix\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub EnableProfiling: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            profile_file_prefix: *const wchar_t,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Disable profiling for a session\n\n \\param[in] options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub DisableProfiling: ::std::option::Option<
        unsafe extern "C" fn(options: *mut OrtSessionOptions) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Enable the memory pattern optimization\n\n The idea is if the input shapes are the same, we could trace the internal memory allocation\n and generate a memory pattern for future request. So next time we could just do one allocation\n with a big chunk for all the internal memory allocation.\n \\note Memory pattern optimization is only available when Sequential Execution mode is enabled (see OrtApi::SetSessionExecutionMode)\n\n \\see OrtApi::DisableMemPattern\n\n \\param[in] options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub EnableMemPattern: ::std::option::Option<
        unsafe extern "C" fn(options: *mut OrtSessionOptions) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Disable the memory pattern optimization\n\n \\see OrtApi::EnableMemPattern\n\n \\param[in] options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub DisableMemPattern: ::std::option::Option<
        unsafe extern "C" fn(options: *mut OrtSessionOptions) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Enable the memory arena on CPU\n\n Arena may pre-allocate memory for future usage.\n\n \\param[in] options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub EnableCpuMemArena: ::std::option::Option<
        unsafe extern "C" fn(options: *mut OrtSessionOptions) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Disable the memory arena on CPU\n\n \\param[in] options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub DisableCpuMemArena: ::std::option::Option<
        unsafe extern "C" fn(options: *mut OrtSessionOptions) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set session log id\n\n \\param[in] options\n \\param[in] logid The log identifier.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetSessionLogId: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            logid: *const ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set session log verbosity level\n\n Applies to session load, initialization, etc\n\n \\param[in] options\n \\param[in] session_log_verbosity_level \\snippet{doc} snippets.dox Log Verbosity Level\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetSessionLogVerbosityLevel: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            session_log_verbosity_level: ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set session log severity level\n\n \\param[in] options\n \\param[in] session_log_severity_level The log severity level (refer to ::OrtLoggingLevel for possible values).\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetSessionLogSeverityLevel: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            session_log_severity_level: ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set the optimization level to apply when loading a graph\n\n Please see https://onnxruntime.ai/docs/performance/model-optimizations/graph-optimizations.html for an in-depth explanation\n \\param[in,out] options The session options object\n \\param[in] graph_optimization_level The optimization level\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetSessionGraphOptimizationLevel: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            graph_optimization_level: GraphOptimizationLevel,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Sets the number of threads used to parallelize the execution within nodes\n\n When running a single node operation, ex. add, this sets the maximum number of threads to use.\n\n \\note If built with OpenMP, this has no effect on the number of threads used. In this case\n       use the OpenMP env variables to configure the number of intra op num threads.\n\n \\param[in] options\n \\param[in] intra_op_num_threads Number of threads to use<br>\n   A value of 0 will use the default number of threads<br>\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetIntraOpNumThreads: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            intra_op_num_threads: ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Sets the number of threads used to parallelize the execution of the graph\n\n If nodes can be run in parallel, this sets the maximum number of threads to use to run them in parallel.\n\n \\note If sequential execution is enabled this value is ignored, it acts as if it was set to 1.\n\n \\param[in] options\n \\param[in] inter_op_num_threads Number of threads to use<br>\n   A value of 0 will use the default number of threads<br>\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetInterOpNumThreads: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            inter_op_num_threads: ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create a custom op domain\n\n \\param[in] domain\n \\param[out] out Newly created domain. Must be freed with OrtApi::ReleaseCustomOpDomain\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateCustomOpDomain: ::std::option::Option<
        unsafe extern "C" fn(
            domain: *const ::std::os::raw::c_char,
            out: *mut *mut OrtCustomOpDomain,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Add a custom op to a custom op domain\n\n \\note The OrtCustomOp* pointer must remain valid until the ::OrtCustomOpDomain using it is released\n\n \\param[in] custom_op_domain\n \\param[in] op\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CustomOpDomain_Add: ::std::option::Option<
        unsafe extern "C" fn(
            custom_op_domain: *mut OrtCustomOpDomain,
            op: *const OrtCustomOp,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Add custom op domain to a session options\n\n \\note The OrtCustomOpDomain* must not be deleted until all sessions using it are released\n\n \\param[in] options\n \\param[in] custom_op_domain\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub AddCustomOpDomain: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            custom_op_domain: *mut OrtCustomOpDomain,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\deprecated Use OrtApi::RegisterCustomOpsLibrary_V2.\n\n Registers custom ops from a shared library.\n\n Loads a shared library (dll on windows, so on linux, etc) named 'library_path' and looks for this entry point:\n\t\tOrtStatus* RegisterCustomOps(OrtSessionOptions * options, const OrtApiBase* api);\n It then passes in the provided session options to this function along with the api base.\n The handle to the loaded library is returned in library_handle. It can be freed by the caller after all sessions using the passed in\n session options are destroyed, or if an error occurs and it is non null.\n\n \\param[in] options\n \\param[in] library_path\n \\param[out] library_handle OS specific handle to the loaded library (Use FreeLibrary on Windows, dlclose on Linux, etc.. to unload)\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub RegisterCustomOpsLibrary: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            library_path: *const ::std::os::raw::c_char,
            library_handle: *mut *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get input count for a session\n\n This number must also match the number of inputs passed to OrtApi::Run\n\n \\see OrtApi::SessionGetInputTypeInfo, OrtApi::SessionGetInputName, OrtApi::Session\n\n \\param[in] session\n \\param[out] out Number of inputs\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionGetInputCount: ::std::option::Option<
        unsafe extern "C" fn(session: *const OrtSession, out: *mut usize) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get output count for a session\n\n This number must also match the number of outputs returned by OrtApi::Run\n\n \\see OrtApi::SessionGetOutputTypeInfo, OrtApi::SessionGetOutputName, OrtApi::Session\n\n \\param[in] session\n \\param[out] out Number of outputs\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionGetOutputCount: ::std::option::Option<
        unsafe extern "C" fn(session: *const OrtSession, out: *mut usize) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get overridable initializer count\n\n \\see OrtApi::SessionGetOverridableInitializerTypeInfo, OrtApi::SessionGetOverridableInitializerName\n\n \\param[in] session\n \\param[in] out\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionGetOverridableInitializerCount: ::std::option::Option<
        unsafe extern "C" fn(session: *const OrtSession, out: *mut usize) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get input type information\n\n \\param[in] session\n \\param[in] index Must be between 0 (inclusive) and what OrtApi::SessionGetInputCount returns (exclusive)\n \\param[out] type_info Must be freed with OrtApi::ReleaseTypeInfo\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionGetInputTypeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            session: *const OrtSession,
            index: usize,
            type_info: *mut *mut OrtTypeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get output type information\n\n \\param[in] session\n \\param[in] index Must be between 0 (inclusive) and what OrtApi::SessionGetOutputCount returns (exclusive)\n \\param[out] type_info Must be freed with OrtApi::ReleaseTypeInfo\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionGetOutputTypeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            session: *const OrtSession,
            index: usize,
            type_info: *mut *mut OrtTypeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get overridable initializer type information\n\n \\param[in] session\n \\param[in] index Must be between 0 (inclusive) and what OrtApi::SessionGetOverridableInitializerCount returns (exclusive)\n \\param[out] type_info Must be freed with OrtApi::ReleaseTypeInfo\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionGetOverridableInitializerTypeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            session: *const OrtSession,
            index: usize,
            type_info: *mut *mut OrtTypeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get input name\n\n \\param[in] session\n \\param[in] index Must be between 0 (inclusive) and what OrtApi::SessionGetInputCount returns (exclusive)\n \\param[in] allocator\n \\param[out] value Set to a null terminated UTF-8 encoded string allocated using `allocator`. Must be freed using `allocator`.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionGetInputName: ::std::option::Option<
        unsafe extern "C" fn(
            session: *const OrtSession,
            index: usize,
            allocator: *mut OrtAllocator,
            value: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get output name\n\n \\param[in] session\n \\param[in] index Must be between 0 (inclusive) and what OrtApi::SessionGetOutputCount returns (exclusive)\n \\param[in] allocator\n \\param[out] value Set to a null terminated UTF-8 encoded string allocated using `allocator`. Must be freed using `allocator`.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionGetOutputName: ::std::option::Option<
        unsafe extern "C" fn(
            session: *const OrtSession,
            index: usize,
            allocator: *mut OrtAllocator,
            value: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get overridable initializer name\n\n \\param[in] session\n \\param[in] index Must be between 0 (inclusive) and what OrtApi::SessionGetOverridableInitializerCount returns (exclusive)\n \\param[in] allocator\n \\param[out] value Set to a null terminated UTF-8 encoded string allocated using `allocator`. Must be freed using `allocator`.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionGetOverridableInitializerName: ::std::option::Option<
        unsafe extern "C" fn(
            session: *const OrtSession,
            index: usize,
            allocator: *mut OrtAllocator,
            value: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an OrtRunOptions\n\n \\param[out] out Returned newly created ::OrtRunOptions. Must be freed with OrtApi::ReleaseRunOptions\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateRunOptions:
        ::std::option::Option<unsafe extern "C" fn(out: *mut *mut OrtRunOptions) -> OrtStatusPtr>,
    #[doc = " \\brief Set per-run log verbosity level\n\n \\see OrtApi::RunOptionsGetRunLogVerbosityLevel\n\n \\param[in] options\n \\param[in] log_verbosity_level \\snippet{doc} snippets.dox Log Verbosity Level\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub RunOptionsSetRunLogVerbosityLevel: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtRunOptions,
            log_verbosity_level: ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set per-run log severity level\n\n \\see OrtApi::RunOptionsGetRunLogSeverityLevel\n\n \\param[in] options\n \\param[in] log_severity_level The log severity level (refer to ::OrtLoggingLevel for possible values)."]
    pub RunOptionsSetRunLogSeverityLevel: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtRunOptions,
            log_severity_level: ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set per-run tag\n\n This is used in a per-run log identifier.\n\n \\see OrtApi::RunOptionsGetRunTag\n\n \\param[in] options\n \\param[in] run_tag The run tag."]
    pub RunOptionsSetRunTag: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtRunOptions,
            run_tag: *const ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get per-run log verbosity level\n\n \\see OrtApi::RunOptionsSetRunLogVerbosityLevel\n\n \\param[in] options\n \\param[out] log_verbosity_level \\snippet{doc} snippets.dox Log Verbosity Level\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub RunOptionsGetRunLogVerbosityLevel: ::std::option::Option<
        unsafe extern "C" fn(
            options: *const OrtRunOptions,
            log_verbosity_level: *mut ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get per-run log severity level\n\n \\see OrtApi::RunOptionsSetRunLogSeverityLevel\n\n \\param[in] options\n \\param[out] log_severity_level The log severity level (refer to ::OrtLoggingLevel for possible values)."]
    pub RunOptionsGetRunLogSeverityLevel: ::std::option::Option<
        unsafe extern "C" fn(
            options: *const OrtRunOptions,
            log_severity_level: *mut ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get per-run tag\n\n This is used in a per-run log identifier.\n\n \\see OrtApi::RunOptionsSetRunTag\n\n \\param[in] options\n \\param[out] run_tag The run tag.\n                     Do not free this value, it is owned by `options`. It will be invalidated if the run tag\n                     changes (i.e., with OrtApi::RunOptionsSetRunTag) or `options` is freed."]
    pub RunOptionsGetRunTag: ::std::option::Option<
        unsafe extern "C" fn(
            options: *const OrtRunOptions,
            run_tag: *mut *const ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set terminate flag\n\n If a currently executing session needs to be force terminated, this can be called from another thread to force it to fail with an error.\n\n \\param[in] options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub RunOptionsSetTerminate:
        ::std::option::Option<unsafe extern "C" fn(options: *mut OrtRunOptions) -> OrtStatusPtr>,
    #[doc = " \\brief Clears the terminate flag\n\n Used so the OrtRunOptions instance can be used in a new OrtApi::Run call without it instantly terminating\n\n \\param[in] options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub RunOptionsUnsetTerminate:
        ::std::option::Option<unsafe extern "C" fn(options: *mut OrtRunOptions) -> OrtStatusPtr>,
    #[doc = " \\brief Create a tensor\n\n Create a tensor using a supplied ::OrtAllocator\n\n \\param[in] allocator\n \\param[in] shape Pointer to the tensor shape dimensions.\n \\param[in] shape_len The number of tensor shape dimensions.\n \\param[in] type\n \\param[out] out Returns newly created ::OrtValue. Must be freed with OrtApi::ReleaseValue\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateTensorAsOrtValue: ::std::option::Option<
        unsafe extern "C" fn(
            allocator: *mut OrtAllocator,
            shape: *const i64,
            shape_len: usize,
            type_: ONNXTensorElementDataType,
            out: *mut *mut OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create a tensor backed by a user supplied buffer\n\n Create a tensor with user's buffer. You can fill the buffer either before calling this function or after.\n p_data is owned by caller. ReleaseValue won't release p_data.\n\n \\param[in] info Memory description of where the p_data buffer resides (CPU vs GPU etc).\n \\param[in] p_data Pointer to the data buffer.\n \\param[in] p_data_len The number of bytes in the data buffer.\n \\param[in] shape Pointer to the tensor shape dimensions.\n \\param[in] shape_len The number of tensor shape dimensions.\n \\param[in] type The data type.\n \\param[out] out Returns newly created ::OrtValue. Must be freed with OrtApi::ReleaseValue\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateTensorWithDataAsOrtValue: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtMemoryInfo,
            p_data: *mut ::std::os::raw::c_void,
            p_data_len: usize,
            shape: *const i64,
            shape_len: usize,
            type_: ONNXTensorElementDataType,
            out: *mut *mut OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Return if an ::OrtValue is a tensor type\n\n \\param[in] value A tensor type (string tensors are not supported)\n \\param[out] out Set to 1 iff ::OrtValue is a tensor, 0 otherwise\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub IsTensor: ::std::option::Option<
        unsafe extern "C" fn(
            value: *const OrtValue,
            out: *mut ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get a pointer to the raw data inside a tensor\n\n Used to read/write/modify the internal tensor data directly.\n \\note The returned pointer is valid until the \\p value is destroyed.\n\n \\param[in] value A tensor type (string tensors are not supported)\n \\param[out] out Filled in with a pointer to the internal storage\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetTensorMutableData: ::std::option::Option<
        unsafe extern "C" fn(
            value: *mut OrtValue,
            out: *mut *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set all strings at once in a string tensor\n\n \\param[in,out] value A tensor of type ONNX_TENSOR_ELEMENT_DATA_TYPE_STRING\n \\param[in] s An array of strings. Each string in this array must be null terminated.\n \\param[in] s_len Count of strings in s (Must match the size of \\p value's tensor shape)\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub FillStringTensor: ::std::option::Option<
        unsafe extern "C" fn(
            value: *mut OrtValue,
            s: *const *const ::std::os::raw::c_char,
            s_len: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get total byte length for all strings in a string tensor\n\n Typically used with OrtApi::GetStringTensorContent\n\n \\param[in] value A tensor of type ONNX_TENSOR_ELEMENT_DATA_TYPE_STRING\n \\param[out] len Total byte length of all strings (does not include trailing nulls)\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetStringTensorDataLength: ::std::option::Option<
        unsafe extern "C" fn(value: *const OrtValue, len: *mut usize) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get all strings from a string tensor\n\n An example of the results:<br>\n Given \\p value is a string tensor with the strings { \"This\" \"is\" \"a\" \"test\" }<br>\n \\p s must have a size of 11 bytes<br>\n \\p offsets must have 4 elements<br>\n After the call, these values will be filled in:<br>\n \\p s will contain \"Thisisatest\"<br>\n \\p offsets will contain { 0, 4, 6, 7 }<br>\n The length of the last string is just s_len - offsets[last]\n\n \\param[in] value A tensor of type ONNX_TENSOR_ELEMENT_DATA_TYPE_STRING\n \\param[in] s Buffer to sequentially write all tensor strings to. Each string is NOT null-terminated.\n \\param[in] s_len Number of bytes of buffer pointed to by \\p s (Get it from OrtApi::GetStringTensorDataLength)\n \\param[out] offsets Array of start offsets into the strings written to \\p s\n \\param[in] offsets_len Number of elements in offsets\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetStringTensorContent: ::std::option::Option<
        unsafe extern "C" fn(
            value: *const OrtValue,
            s: *mut ::std::os::raw::c_void,
            s_len: usize,
            offsets: *mut usize,
            offsets_len: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get ::OrtTensorTypeAndShapeInfo from an ::OrtTypeInfo\n\n \\param[in] type_info\n \\param[out] out Do not free this value, it will be valid until type_info is freed.\n             If type_info does not represent tensor, this value will be set to nullptr.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CastTypeInfoToTensorInfo: ::std::option::Option<
        unsafe extern "C" fn(
            type_info: *const OrtTypeInfo,
            out: *mut *const OrtTensorTypeAndShapeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get ::ONNXType from ::OrtTypeInfo\n\n \\param[in] type_info\n \\param[out] out\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetOnnxTypeFromTypeInfo: ::std::option::Option<
        unsafe extern "C" fn(type_info: *const OrtTypeInfo, out: *mut ONNXType) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an ::OrtTensorTypeAndShapeInfo object\n\n \\param[out] out Returns newly created ::OrtTensorTypeAndShapeInfo. Must be freed with OrtApi::ReleaseTensorTypeAndShapeInfo\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateTensorTypeAndShapeInfo: ::std::option::Option<
        unsafe extern "C" fn(out: *mut *mut OrtTensorTypeAndShapeInfo) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set element type in ::OrtTensorTypeAndShapeInfo\n\n \\param[in] info\n \\param[in] type\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetTensorElementType: ::std::option::Option<
        unsafe extern "C" fn(
            info: *mut OrtTensorTypeAndShapeInfo,
            type_: ONNXTensorElementDataType,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set shape information in ::OrtTensorTypeAndShapeInfo\n\n \\param[in] info\n \\param[in] dim_values Array with `dim_count` elements. Can contain negative values.\n \\param[in] dim_count Number of elements in `dim_values`\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetDimensions: ::std::option::Option<
        unsafe extern "C" fn(
            info: *mut OrtTensorTypeAndShapeInfo,
            dim_values: *const i64,
            dim_count: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get element type in ::OrtTensorTypeAndShapeInfo\n\n \\see OrtApi::SetTensorElementType\n\n \\param[in] info\n \\param[out] out\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetTensorElementType: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtTensorTypeAndShapeInfo,
            out: *mut ONNXTensorElementDataType,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get dimension count in ::OrtTensorTypeAndShapeInfo\n\n \\see OrtApi::GetDimensions\n\n \\param[in] info\n \\param[out] out\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetDimensionsCount: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtTensorTypeAndShapeInfo,
            out: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get dimensions in ::OrtTensorTypeAndShapeInfo\n\n \\param[in] info\n \\param[out] dim_values Array with `dim_values_length` elements. On return, filled with the dimensions stored in the ::OrtTensorTypeAndShapeInfo\n \\param[in] dim_values_length Number of elements in `dim_values`. Use OrtApi::GetDimensionsCount to get this value\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetDimensions: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtTensorTypeAndShapeInfo,
            dim_values: *mut i64,
            dim_values_length: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get symbolic dimension names in ::OrtTensorTypeAndShapeInfo\n\n \\param[in] info\n \\param[in] dim_params Array with `dim_params_length` elements. On return filled with pointers to null terminated strings of the dimension names\n \\param[in] dim_params_length Number of elements in `dim_params`. Use OrtApi::GetDimensionsCount to get this value\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetSymbolicDimensions: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtTensorTypeAndShapeInfo,
            dim_params: *mut *const ::std::os::raw::c_char,
            dim_params_length: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get total number of elements in a tensor shape from an ::OrtTensorTypeAndShapeInfo\n\n Return the number of elements specified by the tensor shape (all dimensions multiplied by each other).\n For 0 dimensions, 1 is returned. If any dimension is less than 0, the result is always -1.\n\n Examples:<br>\n [] = 1<br>\n [1,3,4] = 12<br>\n [2,0,4] = 0<br>\n [-1,3,4] = -1<br>\n\n \\param[in] info\n \\param[out] out Number of elements\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetTensorShapeElementCount: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtTensorTypeAndShapeInfo,
            out: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get type and shape information from a tensor ::OrtValue\n\n \\param[in] value Must be a tensor (not a map/sequence/etc) or will return failure\n \\param[out] out Newly created ::OrtTensorTypeAndShapeInfo. Must be freed with OrtApi::ReleaseTensorTypeAndShapeInfo\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetTensorTypeAndShape: ::std::option::Option<
        unsafe extern "C" fn(
            value: *const OrtValue,
            out: *mut *mut OrtTensorTypeAndShapeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get type information of an OrtValue\n\n \\param[in] value\n \\param[out] out Newly created ::OrtTypeInfo. Must be freed with OrtApi::ReleaseTypeInfo\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetTypeInfo: ::std::option::Option<
        unsafe extern "C" fn(value: *const OrtValue, out: *mut *mut OrtTypeInfo) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get ONNXType of an ::OrtValue\n\n \\param[in] value\n \\param[out] out\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetValueType: ::std::option::Option<
        unsafe extern "C" fn(value: *const OrtValue, out: *mut ONNXType) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an ::OrtMemoryInfo\n\n \\param[in] name\n \\param[in] type\n \\param[in] id\n \\param[in] mem_type\n \\param[out] out Newly created ::OrtMemoryInfo. Must be freed with OrtAPi::ReleaseMemoryInfo\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateMemoryInfo: ::std::option::Option<
        unsafe extern "C" fn(
            name: *const ::std::os::raw::c_char,
            type_: OrtAllocatorType,
            id: ::std::os::raw::c_int,
            mem_type: OrtMemType,
            out: *mut *mut OrtMemoryInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an ::OrtMemoryInfo for CPU memory\n\n Special case version of OrtApi::CreateMemoryInfo for CPU based memory. Same as using OrtApi::CreateMemoryInfo with name = \"Cpu\" and id = 0.\n\n \\param[in] type\n \\param[in] mem_type\n \\param[out] out\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateCpuMemoryInfo: ::std::option::Option<
        unsafe extern "C" fn(
            type_: OrtAllocatorType,
            mem_type: OrtMemType,
            out: *mut *mut OrtMemoryInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Compare ::OrtMemoryInfo objects for equality\n\n Compares all settings of each ::OrtMemoryInfo for equality\n\n \\param[in] info1\n \\param[in] info2\n \\param[out] out Set to 0 if equal, -1 if not equal\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CompareMemoryInfo: ::std::option::Option<
        unsafe extern "C" fn(
            info1: *const OrtMemoryInfo,
            info2: *const OrtMemoryInfo,
            out: *mut ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get name from ::OrtMemoryInfo\n\n \\param[in] ptr\n \\param[out] out Writes null terminated string to this pointer. Do NOT free the returned pointer. It is valid for the lifetime of the ::OrtMemoryInfo\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub MemoryInfoGetName: ::std::option::Option<
        unsafe extern "C" fn(
            ptr: *const OrtMemoryInfo,
            out: *mut *const ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the id from ::OrtMemoryInfo"]
    pub MemoryInfoGetId: ::std::option::Option<
        unsafe extern "C" fn(
            ptr: *const OrtMemoryInfo,
            out: *mut ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the ::OrtMemType from ::OrtMemoryInfo"]
    pub MemoryInfoGetMemType: ::std::option::Option<
        unsafe extern "C" fn(ptr: *const OrtMemoryInfo, out: *mut OrtMemType) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the ::OrtAllocatorType from ::OrtMemoryInfo"]
    pub MemoryInfoGetType: ::std::option::Option<
        unsafe extern "C" fn(ptr: *const OrtMemoryInfo, out: *mut OrtAllocatorType) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Calls OrtAllocator::Alloc function"]
    pub AllocatorAlloc: ::std::option::Option<
        unsafe extern "C" fn(
            ort_allocator: *mut OrtAllocator,
            size: usize,
            out: *mut *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Calls OrtAllocator::Free function"]
    pub AllocatorFree: ::std::option::Option<
        unsafe extern "C" fn(
            ort_allocator: *mut OrtAllocator,
            p: *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Calls OrtAllocator::Info function"]
    pub AllocatorGetInfo: ::std::option::Option<
        unsafe extern "C" fn(
            ort_allocator: *const OrtAllocator,
            out: *mut *const OrtMemoryInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the default allocator\n\n The default allocator is a CPU based, non-arena. Always returns the same pointer to the same default allocator.\n\n \\param[out] out Returned value should NOT be freed\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetAllocatorWithDefaultOptions:
        ::std::option::Option<unsafe extern "C" fn(out: *mut *mut OrtAllocator) -> OrtStatusPtr>,
    #[doc = " \\brief Override session symbolic dimensions\n\n Override symbolic dimensions (by specific denotation strings) with actual values if known at session initialization time to enable\n optimizations that can take advantage of fixed values (such as memory planning, etc)\n\n \\param[in] options\n \\param[in] dim_denotation\n \\param[in] dim_value\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub AddFreeDimensionOverride: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            dim_denotation: *const ::std::os::raw::c_char,
            dim_value: i64,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get non tensor data from an ::OrtValue\n\n If `value` is of type ONNX_TYPE_MAP, you need to retrieve the keys and values\n separately. Use index=0 to retrieve keys and index=1 to retrieve values.\n If `value` is of type ONNX_TYPE_SEQUENCE, use index to retrieve the index'th element\n of the sequence.\n\n \\param[in] value\n \\param[in] index See above for usage based on `value` type\n \\param[in] allocator Allocator used to allocate ::OrtValue\n \\param[out] out Created ::OrtValue that holds the element requested. Must be freed with OrtApi::ReleaseValue\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetValue: ::std::option::Option<
        unsafe extern "C" fn(
            value: *const OrtValue,
            index: ::std::os::raw::c_int,
            allocator: *mut OrtAllocator,
            out: *mut *mut OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get non tensor value count from an ::OrtValue\n\n If `value` is of type ONNX_TYPE_MAP 2 will always be returned. For ONNX_TYPE_SEQUENCE\n the number of elements in the sequence will be returned\n\n \\param[in] value\n \\param[out] out\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetValueCount: ::std::option::Option<
        unsafe extern "C" fn(value: *const OrtValue, out: *mut usize) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create a map or sequence ::OrtValue\n\n To construct a map (ONNX_TYPE_MAP), use num_values = 2 and `in` should be an array of 2 ::OrtValue%s\n representing keys and values.<br>\n\n To construct a sequence (ONNX_TYPE_SEQUENCE), use num_values = N where N is the number of the elements in the\n sequence. 'in' should be an array of N ::OrtValue%s.\n\n \\param[in] in See above for details\n \\param[in] num_values\n \\param[in] value_type Must be either ONNX_TYPE_MAP or ONNX_TYPE_SEQUENCE\n \\param[out] out Newly created ::OrtValue. Must be freed with OrtApi::ReleaseValue\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateValue: ::std::option::Option<
        unsafe extern "C" fn(
            in_: *const *const OrtValue,
            num_values: usize,
            value_type: ONNXType,
            out: *mut *mut OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an opaque (custom user defined type) ::OrtValue\n\n Constructs an ::OrtValue that contains a value of non-standard type created for\n experiments or while awaiting standardization. ::OrtValue in this case would contain\n an internal representation of the Opaque type. Opaque types are distinguished from\n each other by two strings 1) domain and 2) type name. The combination of the two\n must be unique, so the type representation is properly identified internally. The combination\n must be properly registered from within ORT at both compile/run time or by another API.\n\n To construct the ::OrtValue pass domain and type names, also a pointer to a data container\n the type of which must be known to both ORT and the client program. That data container may or may\n not match the internal representation of the Opaque type. The sizeof(data_container) is passed for\n verification purposes.\n\n \\param[in] domain_name Null terminated string of the domain name\n \\param[in] type_name Null terminated string of the type name\n \\param[in] data_container User pointer Data to populate ::OrtValue\n \\param[in] data_container_size Size in bytes of what `data_container` points to\n \\param[out] out Newly created ::OrtValue. Must be freed with OrtApi::ReleaseValue\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateOpaqueValue: ::std::option::Option<
        unsafe extern "C" fn(
            domain_name: *const ::std::os::raw::c_char,
            type_name: *const ::std::os::raw::c_char,
            data_container: *const ::std::os::raw::c_void,
            data_container_size: usize,
            out: *mut *mut OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get internal data from an opaque (custom user defined type) ::OrtValue\n\n Copies internal data from an opaque value into a user provided buffer\n\n \\see OrtApi::CreateOpaqueValue\n\n \\param[in] domain_name Null terminated string of the domain name\n \\param[in] type_name Null terminated string of the type name\n \\param[in] in The opaque ::OrtValue\n \\param[out] data_container Buffer to copy data into\n \\param[out] data_container_size Size in bytes of the buffer pointed to by data_container. Must match the size of the internal buffer.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetOpaqueValue: ::std::option::Option<
        unsafe extern "C" fn(
            domain_name: *const ::std::os::raw::c_char,
            type_name: *const ::std::os::raw::c_char,
            in_: *const OrtValue,
            data_container: *mut ::std::os::raw::c_void,
            data_container_size: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get a float stored as an attribute in the graph node\n\n \\param[in] info ::OrtKernelInfo instance\n \\param[in] name Null terminated string of the name of the attribute\n \\param[out] out Pointer to memory where the attribute will be stored\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub KernelInfoGetAttribute_float: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            name: *const ::std::os::raw::c_char,
            out: *mut f32,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Fetch a 64-bit int stored as an attribute in the graph node\n\n \\param[in] info ::OrtKernelInfo instance\n \\param[in] name Null terminated string of the name of the attribute\n \\param[out] out Pointer to memory where the attribute will be stored\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub KernelInfoGetAttribute_int64: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            name: *const ::std::os::raw::c_char,
            out: *mut i64,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Fetch a string stored as an attribute in the graph node\n\n If `out` is nullptr, the value of `size` is set to the true size of the string\n attribute, and a success status is returned.\n\n If the `size` parameter is greater than or equal to the actual string attribute's size,\n the value of `size` is set to the true size of the string attribute, the provided memory\n is filled with the attribute's contents, and a success status is returned.\n\n If the `size` parameter is less than the actual string attribute's size and `out`\n is not nullptr, the value of `size` is set to the true size of the string attribute\n and a failure status is returned.)\n\n \\param[in] info ::OrtKernelInfo instance\n \\param[in] name Null terminated string of the name of the attribute\n \\param[out] out Pointer to memory where the attribute will be stored\n \\param[in,out] size See above comments for details\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub KernelInfoGetAttribute_string: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            name: *const ::std::os::raw::c_char,
            out: *mut ::std::os::raw::c_char,
            size: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Used for custom operators, get the input count of a kernel\n\n \\see ::OrtCustomOp"]
    pub KernelContext_GetInputCount: ::std::option::Option<
        unsafe extern "C" fn(context: *const OrtKernelContext, out: *mut usize) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Used for custom operators, get the output count of a kernel\n\n \\see ::OrtCustomOp"]
    pub KernelContext_GetOutputCount: ::std::option::Option<
        unsafe extern "C" fn(context: *const OrtKernelContext, out: *mut usize) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Used for custom operators, get an input of a kernel\n\n The function attempts fetches the input of the kernel. If the input is optional\n and not present, the function returns success and out is set to nullptr.\n\n \\param[in] context ::OrtKernelContext instance\n \\param[in] index See KernelContext_GetInputCount for boundaries check.\n \\param[out] out OrtValue if the input is present otherwise is set nullptr\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub KernelContext_GetInput: ::std::option::Option<
        unsafe extern "C" fn(
            context: *const OrtKernelContext,
            index: usize,
            out: *mut *const OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Used for custom operators, get an output of a kernel\n\n The function attempts fetches the output of the kernel. If the output is optional\n and not present, the function returns success and out is set to nullptr.\n\n \\param[in] context ::OrtKernelContext instance\n \\param[in] index See KernelContext_GetOutputCount for boundaries check.\n \\param[in] dim_values output dimensions\n \\param[in] dim_count number of dimensions\n \\param[out] out a ptr to OrtValue to output otherwise set to nullptr\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub KernelContext_GetOutput: ::std::option::Option<
        unsafe extern "C" fn(
            context: *mut OrtKernelContext,
            index: usize,
            dim_values: *const i64,
            dim_count: usize,
            out: *mut *mut OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " @}\n \\name OrtEnv\n @{"]
    pub ReleaseEnv: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtEnv)>,
    #[doc = " @}\n \\name OrtStatus\n @{"]
    pub ReleaseStatus: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtStatus)>,
    #[doc = " @}\n \\name OrtMemoryInfo\n @{"]
    pub ReleaseMemoryInfo: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtMemoryInfo)>,
    #[doc = " @}\n \\name OrtSession\n @{"]
    pub ReleaseSession: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtSession)>,
    #[doc = " @}\n \\name OrtValue\n @{"]
    pub ReleaseValue: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtValue)>,
    #[doc = " @}\n \\name OrtRunOptions\n @{"]
    pub ReleaseRunOptions: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtRunOptions)>,
    #[doc = " @}\n \\name OrtTypeInfo\n @{"]
    pub ReleaseTypeInfo: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtTypeInfo)>,
    #[doc = " @}\n \\name OrtTensorTypeAndShapeInfo\n @{"]
    pub ReleaseTensorTypeAndShapeInfo:
        ::std::option::Option<unsafe extern "C" fn(input: *mut OrtTensorTypeAndShapeInfo)>,
    #[doc = " @}\n \\name OrtSessionOptions\n @{"]
    pub ReleaseSessionOptions:
        ::std::option::Option<unsafe extern "C" fn(input: *mut OrtSessionOptions)>,
    #[doc = " @}\n \\name OrtCustomOpDomain\n @{"]
    pub ReleaseCustomOpDomain:
        ::std::option::Option<unsafe extern "C" fn(input: *mut OrtCustomOpDomain)>,
    #[doc = " \\brief Get denotation from type information\n\n Augments ::OrtTypeInfo to return denotations on the type.\n\n This is used by WinML to determine if an input/output is intended to be an Image or a Tensor.\n\n \\param[in] type_info\n \\param[out] denotation Pointer to the null terminated denotation string is written to this pointer. This pointer is valid until the object is destroyed or the name is changed, do not free.\n \\param[out] len Length in bytes of the string returned in `denotation`\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetDenotationFromTypeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            type_info: *const OrtTypeInfo,
            denotation: *mut *const ::std::os::raw::c_char,
            len: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get detailed map information from an ::OrtTypeInfo\n\n This augments ::OrtTypeInfo to return an ::OrtMapTypeInfo when the type is a map.\n The OrtMapTypeInfo has additional information about the map's key type and value type.\n\n This is used by WinML to support model reflection APIs.\n\n \\param[out] type_info\n \\param[out] out A pointer to the ::OrtMapTypeInfo. Do not free this value. If type_info\n             does not contain a map, this value will be set to nullptr.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CastTypeInfoToMapTypeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            type_info: *const OrtTypeInfo,
            out: *mut *const OrtMapTypeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Cast ::OrtTypeInfo to an ::OrtSequenceTypeInfo\n\n This api augments ::OrtTypeInfo to return an ::OrtSequenceTypeInfo when the type is a sequence.\n The ::OrtSequenceTypeInfo has additional information about the sequence's element type.\n\n This is used by WinML to support model reflection APIs.\n\n \\param[in] type_info\n \\param[out] out A pointer to the OrtSequenceTypeInfo. Do not free this value. If type_info\n             doesn not contain a sequence, this value will be set to nullptr.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CastTypeInfoToSequenceTypeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            type_info: *const OrtTypeInfo,
            out: *mut *const OrtSequenceTypeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get key type from an ::OrtMapTypeInfo\n\n Key types are restricted to being scalar types.\n\n This is used by WinML to support model reflection APIs.\n\n \\param[in] map_type_info\n \\param[out] out\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetMapKeyType: ::std::option::Option<
        unsafe extern "C" fn(
            map_type_info: *const OrtMapTypeInfo,
            out: *mut ONNXTensorElementDataType,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the value type from an ::OrtMapTypeInfo\n\n \\param[in] map_type_info\n \\param[out] type_info\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetMapValueType: ::std::option::Option<
        unsafe extern "C" fn(
            map_type_info: *const OrtMapTypeInfo,
            type_info: *mut *mut OrtTypeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get element type from an ::OrtSequenceTypeInfo\n\n This is used by WinML to support model reflection APIs.\n\n \\param[in] sequence_type_info\n \\param[out] type_info\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetSequenceElementType: ::std::option::Option<
        unsafe extern "C" fn(
            sequence_type_info: *const OrtSequenceTypeInfo,
            type_info: *mut *mut OrtTypeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " @}\n \\name OrtMapTypeInfo\n @{"]
    pub ReleaseMapTypeInfo: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtMapTypeInfo)>,
    #[doc = " @}\n \\name OrtSequenceTypeInfo\n @{"]
    pub ReleaseSequenceTypeInfo:
        ::std::option::Option<unsafe extern "C" fn(input: *mut OrtSequenceTypeInfo)>,
    #[doc = " \\brief End profiling and return filename of the profile data\n\n Profiling is turned on through OrtApi::EnableProfiling\n\n \\param[in] session\n \\param[in] allocator\n \\param[out] out Null terminated string of the filename, allocated using `allocator`. Must be freed using `allocator`\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionEndProfiling: ::std::option::Option<
        unsafe extern "C" fn(
            session: *mut OrtSession,
            allocator: *mut OrtAllocator,
            out: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get ::OrtModelMetadata from an ::OrtSession\n\n \\param[in] session\n \\param[out] out Newly created ::OrtModelMetadata. Must be freed using OrtApi::ReleaseModelMetadata\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionGetModelMetadata: ::std::option::Option<
        unsafe extern "C" fn(
            session: *const OrtSession,
            out: *mut *mut OrtModelMetadata,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get `producer name` from an ::OrtModelMetadata\n\n \\param[in] model_metadata\n \\param[in] allocator\n \\param[out] value Set to a null terminated string allocated using `allocator`. Must be freed using `allocator`\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub ModelMetadataGetProducerName: ::std::option::Option<
        unsafe extern "C" fn(
            model_metadata: *const OrtModelMetadata,
            allocator: *mut OrtAllocator,
            value: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get `graph name` from an ::OrtModelMetadata\n\n \\param[in] model_metadata\n \\param[in] allocator\n \\param[out] value Set to a null terminated string allocated using `allocator`. Must be freed using `allocator`\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub ModelMetadataGetGraphName: ::std::option::Option<
        unsafe extern "C" fn(
            model_metadata: *const OrtModelMetadata,
            allocator: *mut OrtAllocator,
            value: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get `domain` from an ::OrtModelMetadata\n\n \\param[in] model_metadata\n \\param[in] allocator\n \\param[out] value Set to a null terminated string allocated using `allocator`. Must be freed using `allocator`\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub ModelMetadataGetDomain: ::std::option::Option<
        unsafe extern "C" fn(
            model_metadata: *const OrtModelMetadata,
            allocator: *mut OrtAllocator,
            value: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get `description` from an ::OrtModelMetadata\n\n \\param[in] model_metadata\n \\param[in] allocator\n \\param[out] value Set to a null terminated string allocated using `allocator`. Must be freed using `allocator`\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub ModelMetadataGetDescription: ::std::option::Option<
        unsafe extern "C" fn(
            model_metadata: *const OrtModelMetadata,
            allocator: *mut OrtAllocator,
            value: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Return data for a key in the custom metadata map in an ::OrtModelMetadata\n\n \\param[in] model_metadata\n \\param[in] allocator\n \\param[in] key Null terminated string\n \\param[out] value Set to a null terminated string allocated using `allocator`. Must be freed using `allocator`\n `value` will be set to nullptr if the given key is not found in the custom metadata map.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub ModelMetadataLookupCustomMetadataMap: ::std::option::Option<
        unsafe extern "C" fn(
            model_metadata: *const OrtModelMetadata,
            allocator: *mut OrtAllocator,
            key: *const ::std::os::raw::c_char,
            value: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get version number from an ::OrtModelMetadata\n\n \\param[in] model_metadata\n \\param[out] value Set to the version number\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub ModelMetadataGetVersion: ::std::option::Option<
        unsafe extern "C" fn(
            model_metadata: *const OrtModelMetadata,
            value: *mut i64,
        ) -> OrtStatusPtr,
    >,
    pub ReleaseModelMetadata:
        ::std::option::Option<unsafe extern "C" fn(input: *mut OrtModelMetadata)>,
    #[doc = " \\brief Create an OrtEnv\n\n Create an environment with global threadpools that will be shared across sessions.\n Use this in conjunction with OrtApi::DisablePerSessionThreads or else the session will use\n its own thread pools.\n\n \\param[in] log_severity_level The log severity level.\n \\param[in] logid The log identifier.\n \\param[in] tp_options\n \\param[out] out Returned newly created OrtEnv. Must be freed with OrtApi::ReleaseEnv\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateEnvWithGlobalThreadPools: ::std::option::Option<
        unsafe extern "C" fn(
            log_severity_level: OrtLoggingLevel,
            logid: *const ::std::os::raw::c_char,
            tp_options: *const OrtThreadingOptions,
            out: *mut *mut OrtEnv,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Use global thread pool on a session\n\n Disable using per session thread pool and use the shared global threadpool.\n This should be used in conjunction with OrtApi::CreateEnvWithGlobalThreadPools.\n\n \\param[in] options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub DisablePerSessionThreads: ::std::option::Option<
        unsafe extern "C" fn(options: *mut OrtSessionOptions) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an ::OrtThreadingOptions\n\n \\param[out] out Newly created ::OrtThreadingOptions. Must be freed with OrtApi::ReleaseThreadingOptions\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateThreadingOptions: ::std::option::Option<
        unsafe extern "C" fn(out: *mut *mut OrtThreadingOptions) -> OrtStatusPtr,
    >,
    pub ReleaseThreadingOptions:
        ::std::option::Option<unsafe extern "C" fn(input: *mut OrtThreadingOptions)>,
    #[doc = " \\param[in] model_metadata\n \\param[in] allocator\n \\param[out] keys Array of null terminated strings (array count = num_keys) allocated using `allocator`.\n  The strings and the pointer array must be freed using `allocator`\n  `keys` will be set to nullptr if the custom metadata map is empty.\n \\param[out] num_keys Set to the number of elements in the `keys` array\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub ModelMetadataGetCustomMetadataMapKeys: ::std::option::Option<
        unsafe extern "C" fn(
            model_metadata: *const OrtModelMetadata,
            allocator: *mut OrtAllocator,
            keys: *mut *mut *mut ::std::os::raw::c_char,
            num_keys: *mut i64,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Override symbolic dimensions (by specific name strings) with actual values\n if known at session initialization time to enable optimizations that can\n take advantage of fixed values (such as memory planning, etc)\n"]
    pub AddFreeDimensionOverrideByName: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            dim_name: *const ::std::os::raw::c_char,
            dim_value: i64,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the names of all available providers\n\n \\note The providers in the list are not guaranteed to be usable. They may fail to load due to missing system dependencies.\n    For example, if the CUDA/cuDNN libraries are not installed, the CUDA provider will report an error when it is added to the session options.\n\n \\param[out] out_ptr Set to a pointer to an array of null terminated strings of the available providers. The entries and the\n    array itself must be freed using OrtApi::ReleaseAvailableProviders\n \\param[out] provider_length Set to the number of entries in the `out_ptr` array\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetAvailableProviders: ::std::option::Option<
        unsafe extern "C" fn(
            out_ptr: *mut *mut *mut ::std::os::raw::c_char,
            provider_length: *mut ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Release data from OrtApi::GetAvailableProviders. This API will never fail\n so you can rely on it in a noexcept code.\n\n \\param[in] ptr The `out_ptr` result from OrtApi::GetAvailableProviders.\n \\param[in] providers_length The `provider_length` result from OrtApi::GetAvailableProviders\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub ReleaseAvailableProviders: ::std::option::Option<
        unsafe extern "C" fn(
            ptr: *mut *mut ::std::os::raw::c_char,
            providers_length: ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the length of a single string in a string tensor\n\n \\param[in] value A string tensor\n \\param[in] index Index of the string in the tensor\n \\param[out] out Set to number of bytes of the string element\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetStringTensorElementLength: ::std::option::Option<
        unsafe extern "C" fn(value: *const OrtValue, index: usize, out: *mut usize) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get a single string from a string tensor\n\n \\param[in] value A string tensor\n \\param[in] s_len Number of bytes in the `s` buffer. Must match the value returned by OrtApi::GetStringTensorElementLength.\n \\param[in] index Index of the string in the tensor\n \\param[out] s The string element contents in UTF-8 encoding. The string is NOT null-terminated.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetStringTensorElement: ::std::option::Option<
        unsafe extern "C" fn(
            value: *const OrtValue,
            s_len: usize,
            index: usize,
            s: *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set a single string in a string tensor\n\n \\param[in] value A string tensor\n \\param[in] s A null terminated UTF-8 encoded string\n \\param[in] index Index of the string in the tensor to set\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub FillStringTensorElement: ::std::option::Option<
        unsafe extern "C" fn(
            value: *mut OrtValue,
            s: *const ::std::os::raw::c_char,
            index: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set a session configuration entry as a pair of strings\n\n If a configuration with same key exists, this will overwrite the configuration with the given config_value.\n\n The config_key and the format of config_value are defined in onnxruntime_session_options_config_keys.h\n\n \\param[in] options\n \\param[in] config_key A null terminated string representation of the config key\n \\param[in] config_value A null terminated string representation of the config value\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub AddSessionConfigEntry: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            config_key: *const ::std::os::raw::c_char,
            config_value: *const ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an allocator for an ::OrtSession following an ::OrtMemoryInfo\n\n \\param[in] session\n \\param[in] mem_info valid ::OrtMemoryInfo instance\n \\param[out] out Newly created ::OrtAllocator. Must be freed with OrtApi::ReleaseAllocator\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateAllocator: ::std::option::Option<
        unsafe extern "C" fn(
            session: *const OrtSession,
            mem_info: *const OrtMemoryInfo,
            out: *mut *mut OrtAllocator,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Release an ::OrtAllocator obtained from OrtApi::CreateAllocator"]
    pub ReleaseAllocator: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtAllocator)>,
    #[doc = " \\brief Run a model using Io Bindings for the inputs & outputs\n\n \\see OrtApi::Run\n\n \\param[in] session\n \\param[in] run_options\n \\param[in] binding_ptr\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub RunWithBinding: ::std::option::Option<
        unsafe extern "C" fn(
            session: *mut OrtSession,
            run_options: *const OrtRunOptions,
            binding_ptr: *const OrtIoBinding,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an ::OrtIoBinding instance\n\n An IoBinding object allows one to bind pre-allocated ::OrtValue%s to input names.\n Thus if you want to use a raw on device buffer as input or output you can avoid\n extra copy during runtime.\n\n \\param[in] session\n \\param[out] out Newly created ::OrtIoBinding. Must be freed with OrtApi::ReleaseIoBinding\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateIoBinding: ::std::option::Option<
        unsafe extern "C" fn(session: *mut OrtSession, out: *mut *mut OrtIoBinding) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Release an ::OrtIoBinding obtained from OrtApi::CreateIoBinding"]
    pub ReleaseIoBinding: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtIoBinding)>,
    #[doc = " \\brief Bind an ::OrtValue to an ::OrtIoBinding input\n\n When using OrtApi::RunWithBinding this value is used for the named input\n\n \\param[in] binding_ptr\n \\param[in] name Name for the model input\n \\param[in] val_ptr ::OrtValue of Tensor type.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub BindInput: ::std::option::Option<
        unsafe extern "C" fn(
            binding_ptr: *mut OrtIoBinding,
            name: *const ::std::os::raw::c_char,
            val_ptr: *const OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Bind an ::OrtValue to an ::OrtIoBinding output\n\n When using OrtApi::RunWithBinding this value is used for the named output\n\n \\param[in] binding_ptr\n \\param[in] name Null terminated string of the model output name\n \\param[in] val_ptr ::OrtValue of Tensor type.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub BindOutput: ::std::option::Option<
        unsafe extern "C" fn(
            binding_ptr: *mut OrtIoBinding,
            name: *const ::std::os::raw::c_char,
            val_ptr: *const OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Bind an ::OrtIoBinding output to a device\n\n Binds the ::OrtValue to a device which is specified by ::OrtMemoryInfo.\n You can either create an instance of ::OrtMemoryInfo with a device id or obtain one from the allocator that you have created/are using\n This is useful when one or more outputs have dynamic shapes and, it is hard to pre-allocate and bind a chunk of\n memory within ::OrtValue ahead of time.\n\n \\see OrtApi::RunWithBinding\n\n \\param[in] binding_ptr\n \\param[in] name Null terminated string of the device name\n \\param[in] mem_info_ptr\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub BindOutputToDevice: ::std::option::Option<
        unsafe extern "C" fn(
            binding_ptr: *mut OrtIoBinding,
            name: *const ::std::os::raw::c_char,
            mem_info_ptr: *const OrtMemoryInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the names of an ::OrtIoBinding's outputs\n\n Returns the names of the outputs in the order they were bound. This is useful after running the model\n with bound outputs because the returned names are in order in which output ::OrtValue are returned. This is useful if\n the order of outputs and their names is not known.\n\n \\param[in] binding_ptr\n \\param[in] allocator Allocator used to allocate continuous buffers for output strings and lengths.\n \\param[out] buffer Returns an array of non-null terminated UTF-8 strings. The number of strings stored is returned in the count parameter.\n   This buffer is allocated using `allocator` and must be freed using it.\n \\param[out] lengths Returns an array of `count` lengths of the strings returned in `buffer`\n   This buffer is allocated using `allocator` and must be freed using it.\n \\param[out] count Number of strings returned. If `binding_ptr` has no bound outputs, zero is returned,\n              no memory allocation is performed and buffer and lengths are set to nullptr.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetBoundOutputNames: ::std::option::Option<
        unsafe extern "C" fn(
            binding_ptr: *const OrtIoBinding,
            allocator: *mut OrtAllocator,
            buffer: *mut *mut ::std::os::raw::c_char,
            lengths: *mut *mut usize,
            count: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the output ::OrtValue objects from an ::OrtIoBinding\n\n Returns an array of pointers to individually allocated ::OrtValue%s that contain results of a model execution with OrtApi::RunWithBinding\n The array contains the same number of ::OrtValue%s and they are in the same order as they were bound with OrtApi::BindOutput\n or OrtApi::BindOutputToDevice.\n\n The returned ::OrtValue%s must be released using OrtApi::ReleaseValue after they are no longer needed.\n The array is allocated using the specified instance of the allocator and must be freed using the same allocator after\n all the ::OrtValue%s contained therein are individually released.\n\n \\param[in] binding_ptr\n \\param[in] allocator Allocator used to allocate output array\n \\param[out] output Set to the allocated array of allocated ::OrtValue outputs. Set to nullptr if there are 0 outputs.\n \\param[out] output_count Set to number of ::OrtValue%s returned\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetBoundOutputValues: ::std::option::Option<
        unsafe extern "C" fn(
            binding_ptr: *const OrtIoBinding,
            allocator: *mut OrtAllocator,
            output: *mut *mut *mut OrtValue,
            output_count: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Clears any previously set Inputs for an ::OrtIoBinding"]
    pub ClearBoundInputs:
        ::std::option::Option<unsafe extern "C" fn(binding_ptr: *mut OrtIoBinding)>,
    #[doc = " \\brief Clears any previously set Outputs for an ::OrtIoBinding"]
    pub ClearBoundOutputs:
        ::std::option::Option<unsafe extern "C" fn(binding_ptr: *mut OrtIoBinding)>,
    #[doc = " \\brief Direct memory access to a specified tensor element\n\n For example, given a tensor with shape of [3,224,224], a pointer to the element at location [2,150,128] can be retrieved\n\n This function only works for numeric type tensors (No strings, etc).\n This is a no-copy method whose returned pointer is valid until the passed in ::OrtValue is free'd.\n\n \\param[in] value\n \\param[in] location_values Pointer to an array of index values that specify an element's location relative to its shape\n \\param[in] location_values_count Number of elements in location_values. Must match the number of elements in the tensor's shape.\n \\param[out] out Set to a pointer to the element specified\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub TensorAt: ::std::option::Option<
        unsafe extern "C" fn(
            value: *mut OrtValue,
            location_values: *const i64,
            location_values_count: usize,
            out: *mut *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an allocator and register it with the ::OrtEnv\n\n Enables sharing the allocator between multiple sessions that use the same env instance.\n Lifetime of the created allocator will be valid for the duration of the environment.\n Returns an error if an allocator with the same ::OrtMemoryInfo is already registered.\n\n See https://onnxruntime.ai/docs/get-started/with-c.html for details.\n\n \\param[in] env ::OrtEnv instance\n \\param[in] mem_info\n \\param[in] arena_cfg Pass nullptr for defaults\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateAndRegisterAllocator: ::std::option::Option<
        unsafe extern "C" fn(
            env: *mut OrtEnv,
            mem_info: *const OrtMemoryInfo,
            arena_cfg: *const OrtArenaCfg,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set language projection\n\n Set the language projection for collecting telemetry data when Env is created.\n\n The default is ORT_PROJECTION_C, which means it will classify the language not in the list to C also.\n\n \\param[in] ort_env\n \\param[in] projection\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetLanguageProjection: ::std::option::Option<
        unsafe extern "C" fn(
            ort_env: *const OrtEnv,
            projection: OrtLanguageProjection,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Return the time that profiling was started\n\n \\note The timer precision varies per platform. On Windows and MacOS, the precision will be ~100ns\n\n \\param[in] session\n \\param[out] out nanoseconds of profiling's start time\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionGetProfilingStartTimeNs: ::std::option::Option<
        unsafe extern "C" fn(session: *const OrtSession, out: *mut u64) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set global intra-op thread count\n\n This configures the global thread pool options to be used in the call to OrtApi::CreateEnvWithGlobalThreadPools\n\n \\param[in] tp_options\n \\param[in] intra_op_num_threads Number of threads, special values:<br>\n    0 = Use default thread count<br>\n    1 = The invoking thread will be used; no threads will be created in the thread pool.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetGlobalIntraOpNumThreads: ::std::option::Option<
        unsafe extern "C" fn(
            tp_options: *mut OrtThreadingOptions,
            intra_op_num_threads: ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set global inter-op thread count\n\n This configures the global thread pool options to be used in the call to OrtApi::CreateEnvWithGlobalThreadPools\n\n \\param[in] tp_options\n \\param[in] inter_op_num_threads Number of threads, special values:<br>\n    0 = Use default thread count<br>\n    1 = The invoking thread will be used; no threads will be created in the thread pool.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetGlobalInterOpNumThreads: ::std::option::Option<
        unsafe extern "C" fn(
            tp_options: *mut OrtThreadingOptions,
            inter_op_num_threads: ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set global spin control options\n\n This will configure the global thread pool options to be used in the call to OrtApi::CreateEnvWithGlobalThreadPools.\n Allow spinning of thread pools when their queues are empty. This will set the value for both\n inter_op and intra_op threadpools.\n\n \\param[in] tp_options\n \\param[in] allow_spinning Valid values are 0 or 1.<br>\n   0 = It won't spin (recommended if CPU usage is high)<br>\n   1 = Threadpool will spin to wait for queue to become non-empty\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetGlobalSpinControl: ::std::option::Option<
        unsafe extern "C" fn(
            tp_options: *mut OrtThreadingOptions,
            allow_spinning: ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Add a pre-allocated initializer to a session\n\n If a model contains an initializer with a name that is same as the name passed to this call,\n ORT will use this initializer instance instead of deserializing one from the model file. This\n is useful when you want to share the same initializer across sessions.\n\n \\param[in] options\n \\param[in] name Null terminated string of the initializer name\n \\param[in] val ::OrtValue containing the initializer. Its lifetime and the underlying initializer buffer must be\n   managed by the user (created using the OrtApi::CreateTensorWithDataAsOrtValue) and it must outlive the session object\n   to which it is added.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub AddInitializer: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            name: *const ::std::os::raw::c_char,
            val: *const OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Create a custom environment with global threadpools and logger that will be shared across sessions.\n Use this in conjunction with OrtApi::DisablePerSessionThreads or else the session will use\n its own thread pools.\n\n \\param[in] logging_function A pointer to a logging function.\n \\param[in] logger_param A pointer to arbitrary data passed as the ::OrtLoggingFunction `param` parameter to\n                         `logging_function`.\n \\param[in] log_severity_level The log severity level.\n \\param[in] logid The log identifier.\n \\param[in] tp_options\n \\param[out] out Newly created OrtEnv. Must be freed with OrtApi::ReleaseEnv\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateEnvWithCustomLoggerAndGlobalThreadPools: ::std::option::Option<
        unsafe extern "C" fn(
            logging_function: OrtLoggingFunction,
            logger_param: *mut ::std::os::raw::c_void,
            log_severity_level: OrtLoggingLevel,
            logid: *const ::std::os::raw::c_char,
            tp_options: *const OrtThreadingOptions,
            out: *mut *mut OrtEnv,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Append CUDA provider to session options\n\n If CUDA is not available (due to a non CUDA enabled build, or if CUDA is not installed on the system), this function will return failure.\n\n \\param[in] options\n \\param[in] cuda_options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionOptionsAppendExecutionProvider_CUDA: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            cuda_options: *const OrtCUDAProviderOptions,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Append ROCM execution provider to the session options\n\n If ROCM is not available (due to a non ROCM enabled build, or if ROCM is not installed on the system), this function will return failure.\n\n \\param[in] options\n \\param[in] rocm_options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionOptionsAppendExecutionProvider_ROCM: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            rocm_options: *const OrtROCMProviderOptions,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Append OpenVINO execution provider to the session options\n\n If OpenVINO is not available (due to a non OpenVINO enabled build, or if OpenVINO is not installed on the system), this function will fail.\n\n \\param[in] options\n \\param[in] provider_options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionOptionsAppendExecutionProvider_OpenVINO: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            provider_options: *const OrtOpenVINOProviderOptions,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set threading flush-to-zero and denormal-as-zero\n\n Sets global thread pool options to be used in the call to OrtApi::CreateEnvWithGlobalThreadPools.\n Flush-to-zero and denormal-as-zero are applied to threads in both intra and inter global thread pool.\n \\note This option is not needed if the models used have no denormals. Having no denormals is recommended as this option may hurt model accuracy.\n\n \\param[in] tp_options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetGlobalDenormalAsZero: ::std::option::Option<
        unsafe extern "C" fn(tp_options: *mut OrtThreadingOptions) -> OrtStatusPtr,
    >,
    #[doc = " \\deprecated Use OrtApi::CreateArenaCfgV2\n\n This will create the configuration of an arena that can eventually be used to define an arena based allocator's behavior\n\n \\param[in] max_mem Use 0 to allow ORT to choose the default\n \\param[in] arena_extend_strategy Use -1 to allow ORT to choose the default, 0 = kNextPowerOfTwo, 1 = kSameAsRequested\n \\param[in] initial_chunk_size_bytes Use -1 to allow ORT to choose the default\n \\param[in] max_dead_bytes_per_chunk Use -1 to allow ORT to choose the default\n \\param[in] out A pointer to an OrtArenaCfg instance\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateArenaCfg: ::std::option::Option<
        unsafe extern "C" fn(
            max_mem: usize,
            arena_extend_strategy: ::std::os::raw::c_int,
            initial_chunk_size_bytes: ::std::os::raw::c_int,
            max_dead_bytes_per_chunk: ::std::os::raw::c_int,
            out: *mut *mut OrtArenaCfg,
        ) -> OrtStatusPtr,
    >,
    pub ReleaseArenaCfg: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtArenaCfg)>,
    #[doc = " Use this to obtain the description of the graph present in the model\n (doc_string field of the GraphProto message within the ModelProto message).\n If it doesn't exist, an empty string will be returned.\n\n \\param[in] model_metadata An instance of ::OrtModelMetadata\n \\param[in] allocator Allocator used to allocate the string that will be returned back\n \\param[out] value Set to a null terminated string allocated using `allocator`.  The caller is responsible for freeing it using `allocator`\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub ModelMetadataGetGraphDescription: ::std::option::Option<
        unsafe extern "C" fn(
            model_metadata: *const OrtModelMetadata,
            allocator: *mut OrtAllocator,
            value: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Append TensorRT provider to session options\n\n If TensorRT is not available (due to a non TensorRT enabled build, or if TensorRT is not installed on the system), this function will return failure.\n\n \\param[in] options\n \\param[in] tensorrt_options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionOptionsAppendExecutionProvider_TensorRT: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            tensorrt_options: *const OrtTensorRTProviderOptions,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set current GPU device ID\n\n Set the current device id of the GPU execution provider (CUDA/tensorrt/rocm). The device id should be less\n than the total number of devices available. This is only useful when multiple-GPUs are installed and it is\n required to restrict execution to a single GPU.\n\n \\param[in] device_id\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetCurrentGpuDeviceId: ::std::option::Option<
        unsafe extern "C" fn(device_id: ::std::os::raw::c_int) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get current GPU device ID\n\n Get the current device id of the GPU execution provider (CUDA/tensorrt/rocm).\n\n \\see OrtApi::SetCurrentGpuDeviceId\n\n \\param[out] device_id\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetCurrentGpuDeviceId: ::std::option::Option<
        unsafe extern "C" fn(device_id: *mut ::std::os::raw::c_int) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Fetch an array of int64_t values stored as an attribute in the graph node\n\n\n If `out` is nullptr, the value of `size` is set to the true size of the attribute\n array's size, and a success status is returned.\n\n If the `size` parameter is greater than or equal to the actual attribute array's size,\n the value of `size` is set to the true size of the attribute array's size,\n the provided memory is filled with the attribute's contents,\n and a success status is returned.\n\n If the `size` parameter is less than the actual attribute array's size and `out`\n is not nullptr, the value of `size` is set to the true size of the attribute array's size\n and a failure status is returned.)\n\n \\param[in] info instance\n \\param[in] name name of the attribute to be parsed\n \\param[out] out pointer to memory where the attribute's contents are to be stored\n \\param[in, out] size actual size of attribute array\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub KernelInfoGetAttributeArray_float: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            name: *const ::std::os::raw::c_char,
            out: *mut f32,
            size: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Fetch an array of int64_t values stored as an attribute in the graph node\n\n If `out` is nullptr, the value of `size` is set to the true size of the attribute\n array's size, and a success status is returned.\n\n If the `size` parameter is greater than or equal to the actual attribute array's size,\n the value of `size` is set to the true size of the attribute array's size,\n the provided memory is filled with the attribute's contents,\n and a success status is returned.\n\n If the `size` parameter is less than the actual attribute array's size and `out`\n is not nullptr, the value of `size` is set to the true size of the attribute array's size\n and a failure status is returned.)\n\n \\param[in] info instance\n \\param[in] name name of the attribute to be parsed\n \\param[out] out pointer to memory where the attribute's contents are to be stored\n \\param[in, out] size actual size of attribute array\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub KernelInfoGetAttributeArray_int64: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            name: *const ::std::os::raw::c_char,
            out: *mut i64,
            size: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an ::OrtArenaCfg\n\n Create the configuration of an arena that can eventually be used to define an arena based allocator's behavior.\n\n Supported keys are (See https://onnxruntime.ai/docs/get-started/with-c.html for details on what the\n following parameters mean and how to choose these values.):\n \"max_mem\": Maximum memory that can be allocated by the arena based allocator.\n  Use 0 for ORT to pick the best value. Default is 0.\n \"arena_extend_strategy\": 0 = kNextPowerOfTwo, 1 = kSameAsRequested.\n  Use -1 to allow ORT to choose the default.\n \"initial_chunk_size_bytes\": (Possible) Size of the first allocation in the arena.\n  Only relevant if arena strategy is `kNextPowerOfTwo`. Use -1 to allow ORT to choose the default.\n  Ultimately, the first allocation size is determined by the allocation memory request.\n \"max_dead_bytes_per_chunk\": Threshold of unused memory in an allocated chunk of arena memory after\n  crossing which the current chunk is chunked into 2.\n \"initial_growth_chunk_size_bytes\": (Possible) Size of the second allocation in the arena.\n  Only relevant if arena strategy is `kNextPowerOfTwo`. Use -1 to allow ORT to choose the default.\n \"max_power_of_two_extend_bytes\": The maximum enxtend size if arena strategy is `kNextPowerOfTwo`.\n  It is not an allocation limit, it is only a limit for extension when requested byte is less than the limit.\n  When requested bytes is more than the limit, allocator will still return as requested.\n  Use -1 to allow ORT to choose the default 1GB for max_power_of_two_extend_bytes.\n  Ultimately, the allocation size is determined by the allocation memory request.\n  Further allocation sizes are governed by the arena extend strategy.\n\n \\param[in] arena_config_keys Keys to configure the arena\n \\param[in] arena_config_values Values to configure the arena\n \\param[in] num_keys Number of keys in `arena_config_keys` and `arena_config_values`\n \\param[out] out Newly created ::OrtArenaCfg. Must be freed with OrtApi::ReleaseArenaCfg\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateArenaCfgV2: ::std::option::Option<
        unsafe extern "C" fn(
            arena_config_keys: *const *const ::std::os::raw::c_char,
            arena_config_values: *const usize,
            num_keys: usize,
            out: *mut *mut OrtArenaCfg,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set a single run configuration entry as a pair of strings\n\n If a configuration with same key exists, this will overwrite the configuration with the given config_value\n\n The config_key and the format of config_value are defined in onnxruntime_run_options_config_keys.h\n\n \\param[in] options\n \\param[in] config_key A null terminated string representation of the config key\n \\param[in] config_value  A null terminated string representation of the config value\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub AddRunConfigEntry: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtRunOptions,
            config_key: *const ::std::os::raw::c_char,
            config_value: *const ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an ::OrtPrepackedWeightsContainer\n\n This container will hold pre-packed buffers of shared initializers for sharing between sessions\n (i.e.) if there are shared initializers that can be shared between sessions, the pre-packed buffers\n of these (if any) may possibly be shared to provide memory footprint savings. Pass this container\n to sessions that you would like to share pre-packed buffers of shared initializers at session\n creation time.\n\n  \\param[out] out Newly created ::OrtPrepackedWeightsContainer. Must be freed with OrtApi::ReleasePrepackedWeightsContainer\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreatePrepackedWeightsContainer: ::std::option::Option<
        unsafe extern "C" fn(out: *mut *mut OrtPrepackedWeightsContainer) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Release OrtPrepackedWeightsContainer instance\n\n \\note instance must not be released until the sessions using it are released"]
    pub ReleasePrepackedWeightsContainer:
        ::std::option::Option<unsafe extern "C" fn(input: *mut OrtPrepackedWeightsContainer)>,
    #[doc = " \\brief Create session with prepacked weights container\n\n Same functionality offered by OrtApi::CreateSession except that a container that contains\n pre-packed weights' buffers is written into/read from by the created session.\n This is useful when used in conjunction with OrtApi::AddInitializer which injects\n shared initializer info into sessions. Wherever possible, the pre-packed versions of these\n shared initializers are cached in this container so that multiple sessions can just re-use\n these instead of duplicating these in memory.\n\n \\param[in] env OrtEnv instance instance\n \\param[in] model_path Null terminated string of the path (wchar on Windows, char otherwise)\n \\param[in] options\n \\param[in] prepacked_weights_container\n \\param[out] out Newly created ::OrtSession. Must be freed with OrtApi::ReleaseSession\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateSessionWithPrepackedWeightsContainer: ::std::option::Option<
        unsafe extern "C" fn(
            env: *const OrtEnv,
            model_path: *const wchar_t,
            options: *const OrtSessionOptions,
            prepacked_weights_container: *mut OrtPrepackedWeightsContainer,
            out: *mut *mut OrtSession,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create session from memory with prepacked weights container\n\n Same functionality offered by OrtApi::CreateSessionFromArray except that a container that contains\n pre-packed weights' buffers is written into/read from by the created session.\n This is useful when used in conjunction with OrtApi::AddInitializer which injects\n shared initializer info into sessions. Wherever possible, the pre-packed versions of these\n shared initializers are cached in this container so that multiple sessions can just re-use\n these instead of duplicating these in memory.\n\n \\param[in] env\n \\param[in] model_data Array of bytes holding the model\n \\param[in] model_data_length Number of bytes in `model_data_model`\n \\param[in] options\n \\param[in] prepacked_weights_container\n \\param[out] out Newly created ::OrtSession. Must be freed with OrtApi::ReleaseSession\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateSessionFromArrayWithPrepackedWeightsContainer: ::std::option::Option<
        unsafe extern "C" fn(
            env: *const OrtEnv,
            model_data: *const ::std::os::raw::c_void,
            model_data_length: usize,
            options: *const OrtSessionOptions,
            prepacked_weights_container: *mut OrtPrepackedWeightsContainer,
            out: *mut *mut OrtSession,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Append TensorRT execution provider to the session options\n\n If TensorRT is not available (due to a non TensorRT enabled build), this function will return failure.\n\n This is slightly different from OrtApi::SessionOptionsAppendExecutionProvider_TensorRT, it takes an\n ::OrtTensorRTProviderOptions which is publicly defined. This takes an opaque ::OrtTensorRTProviderOptionsV2\n which must be created with OrtApi::CreateTensorRTProviderOptions.\n\n For OrtApi::SessionOptionsAppendExecutionProvider_TensorRT, the user needs to instantiate ::OrtTensorRTProviderOptions\n as well as allocate/release buffers for some members of ::OrtTensorRTProviderOptions.\n Here, OrtApi::CreateTensorRTProviderOptions and Ortapi::ReleaseTensorRTProviderOptions will do the memory management for you.\n\n \\param[in] options\n \\param[in] tensorrt_options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionOptionsAppendExecutionProvider_TensorRT_V2: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            tensorrt_options: *const OrtTensorRTProviderOptionsV2,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an OrtTensorRTProviderOptionsV2\n\n \\param[out] out Newly created ::OrtTensorRTProviderOptionsV2. Must be released with OrtApi::ReleaseTensorRTProviderOptions\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateTensorRTProviderOptions: ::std::option::Option<
        unsafe extern "C" fn(out: *mut *mut OrtTensorRTProviderOptionsV2) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set options in a TensorRT Execution Provider.\n\n Please refer to https://onnxruntime.ai/docs/execution-providers/TensorRT-ExecutionProvider.html#cc\n to know the available keys and values. Key should be in null terminated string format of the member of ::OrtTensorRTProviderOptionsV2\n and value should be its related range. Recreates the options and only sets the supplied values.\n\n For example, key=\"trt_max_workspace_size\" and value=\"2147483648\"\n\n \\param[in] tensorrt_options\n \\param[in] provider_options_keys Array of UTF-8 null-terminated string for provider options keys\n \\param[in] provider_options_values Array of UTF-8 null-terminated string for provider options values\n \\param[in] num_keys Number of elements in the `provider_option_keys` and `provider_options_values` arrays\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub UpdateTensorRTProviderOptions: ::std::option::Option<
        unsafe extern "C" fn(
            tensorrt_options: *mut OrtTensorRTProviderOptionsV2,
            provider_options_keys: *const *const ::std::os::raw::c_char,
            provider_options_values: *const *const ::std::os::raw::c_char,
            num_keys: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get serialized TensorRT provider options string.\n\n For example, \"trt_max_workspace_size=2147483648;trt_max_partition_iterations=10;trt_int8_enable=1;......\"\n\n \\param tensorrt_options - OrtTensorRTProviderOptionsV2 instance\n \\param allocator - a ptr to an instance of OrtAllocator obtained with OrtApi::CreateAllocator or OrtApi::GetAllocatorWithDefaultOptions\n                      the specified allocator will be used to allocate continuous buffers for output strings and lengths.\n \\param ptr - is a UTF-8 null terminated string allocated using 'allocator'. The caller is responsible for using the same allocator to free it.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetTensorRTProviderOptionsAsString: ::std::option::Option<
        unsafe extern "C" fn(
            tensorrt_options: *const OrtTensorRTProviderOptionsV2,
            allocator: *mut OrtAllocator,
            ptr: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Release an ::OrtTensorRTProviderOptionsV2\n\n \\note This is an exception in the naming convention of other Release* functions, as the name of the method does not have the V2 suffix, but the type does"]
    pub ReleaseTensorRTProviderOptions:
        ::std::option::Option<unsafe extern "C" fn(input: *mut OrtTensorRTProviderOptionsV2)>,
    #[doc = " \\brief Enable custom operators\n\n See onnxruntime-extensions: https://github.com/microsoft/onnxruntime-extensions.git\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub EnableOrtCustomOps: ::std::option::Option<
        unsafe extern "C" fn(options: *mut OrtSessionOptions) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Register a custom allocator\n\n Enables sharing between multiple sessions that use the same env instance.\n Returns an error if an allocator with the same ::OrtMemoryInfo is already registered.\n\n The behavior of this is exactly the same as OrtApi::CreateAndRegisterAllocator except\n instead of ORT creating an allocator based on provided info, in this case\n ORT uses the user-provided custom allocator.\n See https://onnxruntime.ai/docs/get-started/with-c.html for details.\n\n \\param[in] env\n \\param[in] allocator User provided allocator\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub RegisterAllocator: ::std::option::Option<
        unsafe extern "C" fn(env: *mut OrtEnv, allocator: *mut OrtAllocator) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Unregister a custom allocator\n\n It is an error if you provide an ::OrtMemoryInfo not corresponding to any\n registered allocators for sharing.\n\n \\param[in] env\n \\param[in] mem_info\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub UnregisterAllocator: ::std::option::Option<
        unsafe extern "C" fn(env: *mut OrtEnv, mem_info: *const OrtMemoryInfo) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Sets *out to 1 iff an ::OrtValue is a SparseTensor, and 0 otherwise\n\n \\param[in] value existing ::OrtValue\n \\param[out] out unless an error occurs, contains 1 iff the value contains an instance\n  of sparse tensor or 0 otherwise.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub IsSparseTensor: ::std::option::Option<
        unsafe extern "C" fn(
            value: *const OrtValue,
            out: *mut ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an ::OrtValue with a sparse tensor that is empty.\n\n Use FillSparseTensor<Format>() functions to populate sparse tensor with non-zero values and\n format specific indices data.\n Use ReleaseValue to destroy the sparse tensor, this will also release the buffer inside the output value\n if any was allocated.\n \\param[in,out] allocator allocator to use when performing an allocation. Allocation will be performed\n   by FillSparseTensor<Format>() APIs. The lifespan of the allocator instance must eclipse the lifespan\n   this sparse tensor instance as the same allocator will be used to free memory.\n \\param[in] dense_shape shape of the original dense tensor\n \\param[in] dense_shape_len number of shape dimensions being passed\n \\param[in] type must be one of TENSOR_ELEMENT_DATA_TYPE_xxxx\n \\param[out] out Should be freed by calling ReleaseValue\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateSparseTensorAsOrtValue: ::std::option::Option<
        unsafe extern "C" fn(
            allocator: *mut OrtAllocator,
            dense_shape: *const i64,
            dense_shape_len: usize,
            type_: ONNXTensorElementDataType,
            out: *mut *mut OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " This fills populates an empty tensor that was created using OrtApi::CreateSparseTensorAsOrtValue.\n This will allocate required memory and copy the supplied NNZ values and COO indices into that memory allocation.\n Memory allocation is performed using the allocator that was specified with OrtApi::CreateSparseTensorAsOrtValue.\n\n \\param[in,out] ort_value ::OrtValue to populate with data\n \\param[in] data_mem_info serves to identify the location of the data to be copied. If the allocator specified\n  at the creation time has memory info that is not the same as mem_info argument to this function a X-device copy will be performed.\n  String data is assumed to be on CPU and will only be copied into a CPU allocated buffer.\n \\param[in] values_shape pointer to values shape array\n \\param[in] values_shape_len length of the values_shape\n \\param[in] values pointer to an array of values. For strings, pass const char**.\n \\param[in] indices_data pointer to a location of COO indices\n \\param[in] indices_num number of COO indices\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub FillSparseTensorCoo: ::std::option::Option<
        unsafe extern "C" fn(
            ort_value: *mut OrtValue,
            data_mem_info: *const OrtMemoryInfo,
            values_shape: *const i64,
            values_shape_len: usize,
            values: *const ::std::os::raw::c_void,
            indices_data: *const i64,
            indices_num: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " This fills populates an empty tensor that was created using OrtApi::CreateSparseTensorAsOrtValue.\n This will allocate required memory and copy the supplied NNZ values and CSR indices into that memory allocation.\n Memory allocation is performed using the allocator that was specified with OrtApi::CreateSparseTensorAsOrtValue.\n\n \\param[in,out] ort_value ::OrtValue to populate with data\n \\param[in] data_mem_info serves to identify the location of the data to be copied. If the allocator specified\n  at the creation time has memory info that is not the same as mem_info argument to this function a X-device copy will be performed.\n  String data is assumed to be on CPU and will only be copied into a CPU allocated buffer.\n \\param[in] values_shape pointer to values shape array\n \\param[in] values_shape_len length of the values_shape\n \\param[in] values - pointer to an array of values. For strings, pass const char**.\n \\param[in] inner_indices_data pointer to a location of CSR inner indices\n \\param[in] inner_indices_num number of CSR inner indices\n \\param[in] outer_indices_data pointer to a location of CSR outer indices\n \\param[in] outer_indices_num number of CSR outer indices\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub FillSparseTensorCsr: ::std::option::Option<
        unsafe extern "C" fn(
            ort_value: *mut OrtValue,
            data_mem_info: *const OrtMemoryInfo,
            values_shape: *const i64,
            values_shape_len: usize,
            values: *const ::std::os::raw::c_void,
            inner_indices_data: *const i64,
            inner_indices_num: usize,
            outer_indices_data: *const i64,
            outer_indices_num: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " This fills populates an empty tensor that was created using OrtApi::CreateSparseTensorAsOrtValue.\n This will allocate required memory and copy the supplied NNZ values and BlockSparse indices into that memory allocation.\n Memory allocation is performed using the allocator that was specified with OrtApi::CreateSparseTensorAsOrtValue.\n\n \\param[in,out] ort_value ::OrtValue to populate with data\n \\param[in] data_mem_info serves to identify the location of the data to be copied. If the allocator specified\n  at the creation time has memory info that is not the same as mem_info argument to this function a X-device copy will be performed.\n  String data is assumed to be on CPU and will only be copied into a CPU allocated buffer.\n \\param[in] values_shape\n \\param[in] values_shape_len\n \\param[in] values structure with values information\n \\param[in] indices_shape_data pointer to a location of indices shape\n \\param[in] indices_shape_len length of the block sparse indices shape\n \\param[in] indices_data pointer to a location of indices data. Shape will determine the length of the indices data.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub FillSparseTensorBlockSparse: ::std::option::Option<
        unsafe extern "C" fn(
            ort_value: *mut OrtValue,
            data_mem_info: *const OrtMemoryInfo,
            values_shape: *const i64,
            values_shape_len: usize,
            values: *const ::std::os::raw::c_void,
            indices_shape_data: *const i64,
            indices_shape_len: usize,
            indices_data: *const i32,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Create an ::OrtValue with a sparse tensor. This is the first step.\n Next, use Use<Format>Indices() functions to supply sparse tensor with\n format specific indices data and set its sparse format to a specific enum value.\n This will not perform memory allocations. It will\n use supplied user buffer which should outlive the created sparse tensor.\n Use OrtApi::ReleaseValue to destroy the sparse tensor. It would not release the supplied values buffer.\n This function can not be used to map strings from the user allocated memory. Strings must always be copied\n and have UTF-8 encoding. Therefore, use OrtApi::CreateSparseTensorAsOrtValue above and then fill it with data\n using appropriate Make*() function.\n\n \\param[in] info memory info where sparse values reside.\n \\param[in,out] p_data pointer to a user allocated buffer with values. To create a full sparse tensor with no non-zero\n   values, pass nullptr\n \\param[in] dense_shape shape of the original dense tensor\n \\param[in] dense_shape_len number of shape dimensions being passed\n \\param[in] values_shape shape of the values data. To create a fully sparse tensor with no non-zero values,\n   pass {0} shape.\n \\param[in] values_shape_len number of values shape dimensions\n \\param[in] type must be one of TENSOR_ELEMENT_DATA_TYPE_xxxx\n \\param[out] out Should be freed by calling ReleaseValue\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateSparseTensorWithValuesAsOrtValue: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtMemoryInfo,
            p_data: *mut ::std::os::raw::c_void,
            dense_shape: *const i64,
            dense_shape_len: usize,
            values_shape: *const i64,
            values_shape_len: usize,
            type_: ONNXTensorElementDataType,
            out: *mut *mut OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " This assigns Coo format indices to the SparseTensor that was created by\n OrtApi::CreateSparseTensorWithValuesAsOrtValue above. It also sets OrtSparseFormat to\n ORT_SPARSE_COO. This will not allocate any additional memory for data. The life span of\n indices_data buffer should eclipse the life span of this ::OrtValue.\n\n \\param[in,out] ort_value ::OrtValue instance constructed with OrtApi::CreateSparseTensorWithValuesAsOrtValue\n \\param[in,out] indices_data pointer to a user pre-allocated buffer or nullptr for fully sparse tensors.\n \\param[in] indices_num  number of COO indices. Should either be 0 for fully sparse tensors, be equal\n  to the number of nnz values specified to OrtApi::CreateSparseTensorWithValuesAsOrtValue for 1-D {nnz} indices or\n  be twice as number of nnz values for a  2-D indices {nnz, 2}\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub UseCooIndices: ::std::option::Option<
        unsafe extern "C" fn(
            ort_value: *mut OrtValue,
            indices_data: *mut i64,
            indices_num: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " The assigns CSR format indices to the SparseTensor that was created by\n OrtApi::CreateSparseTensorWithValuesAsOrtValue above. It also sets OrtSparseFormat to\n ORT_SPARSE_CSRC. This will not allocate any additional memory for data. The life spans of\n inner_data and outer_data buffers should eclipse the life span of this ::OrtValue.\n\n \\param[in,out] ort_value ::OrtValue instance constructed with OrtApi::CreateSparseTensorWithValuesAsOrtValue\n \\param[in,out] inner_data pointer to a user pre-allocated buffer or nullptr for fully sparse tensors.\n \\param[in] inner_num  number of inner CSR indices. Should either be 0 for fully sparse tensors or be equal\n to the number of nnz values specified to OrtApi::CreateSparseTensorWithValuesAsOrtValue.\n \\param[in,out] outer_data pointer to user pre-allocated buffer or nullptr for fully sparse tensors.\n \\param[in] outer_num number of CSR outer indices. Should either be 0 for fully sparse tensors or\n equal to rows + 1 of the dense shape.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub UseCsrIndices: ::std::option::Option<
        unsafe extern "C" fn(
            ort_value: *mut OrtValue,
            inner_data: *mut i64,
            inner_num: usize,
            outer_data: *mut i64,
            outer_num: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " The assigns BlockSparse format indices to the SparseTensor that was created by\n OrtApi::CreateSparseTensorWithValuesAsOrtValue above. It also sets OrtSparseFormat to\n ORT_SPARSE_BLOCK_SPARSE. This will not allocate any additional memory for data. The life span of\n indices_data buffer must eclipse the lifespan of this ::OrtValue.\n\n \\param[in,out] ort_value OrtValue instance constructed with OrtApi::CreateSparseTensorWithValuesAsOrtValue\n \\param[in] indices_shape pointer to indices shape. Use {0} for fully sparse tensors\n \\param[in] indices_shape_len length of the indices shape\n \\param[in,out] indices_data pointer to user pre-allocated buffer or nullptr for fully sparse tensors.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub UseBlockSparseIndices: ::std::option::Option<
        unsafe extern "C" fn(
            ort_value: *mut OrtValue,
            indices_shape: *const i64,
            indices_shape_len: usize,
            indices_data: *mut i32,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Returns sparse tensor format enum iff a given ort value contains an instance of sparse tensor.\n\n \\param[in] ort_value ::OrtValue that contains an instance of sparse tensor\n \\param[out] out pointer to out parameter\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetSparseTensorFormat: ::std::option::Option<
        unsafe extern "C" fn(ort_value: *const OrtValue, out: *mut OrtSparseFormat) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Returns data type and shape of sparse tensor values (nnz) iff ::OrtValue contains a SparseTensor.\n\n \\param[in] ort_value An ::OrtValue that contains a fully constructed sparse tensor\n \\param[out] out Must be freed by OrtApi::ReleaseTensorTypeAndShapeInfo\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetSparseTensorValuesTypeAndShape: ::std::option::Option<
        unsafe extern "C" fn(
            ort_value: *const OrtValue,
            out: *mut *mut OrtTensorTypeAndShapeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Returns numeric data for sparse tensor values (nnz). For string values use GetStringTensor*().\n\n \\param[in] ort_value an instance of ::OrtValue containing sparse tensor\n \\param[out] out returns a pointer to values data.  Do not attempt to free this ptr.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetSparseTensorValues: ::std::option::Option<
        unsafe extern "C" fn(
            ort_value: *const OrtValue,
            out: *mut *const ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Returns data type, shape for the type of indices specified by indices_format.\n\n \\param[in] ort_value ::OrtValue containing sparse tensor.\n \\param[in] indices_format One of the indices formats. It is an error to request a format that the sparse\n tensor does not contain.\n \\param[out] out an instance of ::OrtTensorTypeAndShapeInfo. Must be freed by OrtApi::ReleaseTensorTypeAndShapeInfo\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetSparseTensorIndicesTypeShape: ::std::option::Option<
        unsafe extern "C" fn(
            ort_value: *const OrtValue,
            indices_format: OrtSparseIndicesFormat,
            out: *mut *mut OrtTensorTypeAndShapeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Returns indices data for the type of the indices specified by indices_format\n\n \\param[in] ort_value ::OrtValue containing sparse tensor.\n \\param[in] indices_format One of the indices formats. It is an error to request a format that the sparse tensor does not contain.\n \\param[out] num_indices Pointer to where the number of indices entries is returned\n \\param[out] indices Returned pointer to the indices data. Do not free the returned pointer as it refers to internal data owned by the ::OrtValue\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetSparseTensorIndices: ::std::option::Option<
        unsafe extern "C" fn(
            ort_value: *const OrtValue,
            indices_format: OrtSparseIndicesFormat,
            num_indices: *mut usize,
            indices: *mut *const ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Sets out to 1 iff an optional type OrtValue has an element, 0 otherwise (OrtValue is None)\n Use this API to find if the optional type OrtValue is None or not.\n If the optional type OrtValue is not None, use the OrtValue just like any other OrtValue.\n For example, if you get an OrtValue that corresponds to Optional(tensor) and\n if HasValue() returns true, use it as tensor and so on.\n\n \\param[in] value Input OrtValue.\n \\param[out] out indicating if the input OrtValue contains data (1) or if it is a None (0)\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub HasValue: ::std::option::Option<
        unsafe extern "C" fn(
            value: *const OrtValue,
            out: *mut ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Used for custom operators, gets the GPU compute stream to use to launch the custom a GPU kernel\n   \\see ::OrtCustomOp\n \\param[in]  context OrtKernelContext instance\n \\param[out] out Returns pointer to a GPU compute stream that can be used to launch the custom GPU kernel.\n             If retrieving the GPU compute stream is not relevant (GPU not enabled in the build, kernel partitioned to\n             some other EP), then a nullptr is returned as the output param.\n             Do not free or mutate the returned pointer as it refers to internal data owned by the underlying session.\n             Only use it for custom kernel launching.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub KernelContext_GetGPUComputeStream: ::std::option::Option<
        unsafe extern "C" fn(
            context: *const OrtKernelContext,
            out: *mut *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " @}\n \\name GetTensorMemoryInfo\n @{\n** \\brief Returns a pointer to the ::OrtMemoryInfo of a Tensor\n* \\param[in] value ::OrtValue containing tensor.\n* \\param[out] mem_info ::OrtMemoryInfo of the tensor. Do NOT free the returned pointer. It is valid for the lifetime of the ::OrtValue\n*\n* \\snippet{doc} snippets.dox OrtStatus Return Value\n*/"]
    pub GetTensorMemoryInfo: ::std::option::Option<
        unsafe extern "C" fn(
            value: *const OrtValue,
            mem_info: *mut *const OrtMemoryInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " @}\n \\name GetExecutionProviderApi\n @{\n** \\brief Get a pointer to the requested version of the Execution Provider specific\n* API extensions to the OrtApi\n* \\param[in] provider_name The name of the execution provider name. Currently only the following\n* values are supported: \"DML\".\n* \\param[in] version Must be ::ORT_API_VERSION.\n* \\param[out] provider_api A void pointer containing a reference to the execution provider versioned api structure.\n* For example, the provider_api pointer can be cast to the OrtDmlApi* when the provider_name is \"DML\".\n*\n* \\snippet{doc} snippets.dox OrtStatus Return Value\n*/"]
    pub GetExecutionProviderApi: ::std::option::Option<
        unsafe extern "C" fn(
            provider_name: *const ::std::os::raw::c_char,
            version: u32,
            provider_api: *mut *const ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\name SessionOptions\n @{\n** \\brief Set custom thread creation function\n*\n* \\param[in] options Session options\n* \\param[in] ort_custom_create_thread_fn Custom thread creation function\n*\n* \\snippet{doc} snippets.dox OrtStatus Return Value\n*/"]
    pub SessionOptionsSetCustomCreateThreadFn: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            ort_custom_create_thread_fn: OrtCustomCreateThreadFn,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set creation options for custom thread\n\n \\param[in] options Session options\n \\param[in] ort_custom_thread_creation_options Custom thread creation options (can be nullptr)\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionOptionsSetCustomThreadCreationOptions: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            ort_custom_thread_creation_options: *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set custom thread join function\n\n \\param[in] options Session options\n \\param[in] ort_custom_join_thread_fn Custom join thread function, must not be nullptr when ort_custom_create_thread_fn is set\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionOptionsSetCustomJoinThreadFn: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            ort_custom_join_thread_fn: OrtCustomJoinThreadFn,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\name OrtThreadingOptions\n @{\n** \\brief Set custom thread creation function for global thread pools\n*\n* \\param[inout] tp_options\n* \\param[in] ort_custom_create_thread_fn Custom thread creation function\n*\n* \\snippet{doc} snippets.dox OrtStatus Return Value\n*/"]
    pub SetGlobalCustomCreateThreadFn: ::std::option::Option<
        unsafe extern "C" fn(
            tp_options: *mut OrtThreadingOptions,
            ort_custom_create_thread_fn: OrtCustomCreateThreadFn,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set custom thread creation options for global thread pools\n\n \\param[inout] tp_options\n \\param[in] ort_custom_thread_creation_options Custom thread creation options (can be nullptr)\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetGlobalCustomThreadCreationOptions: ::std::option::Option<
        unsafe extern "C" fn(
            tp_options: *mut OrtThreadingOptions,
            ort_custom_thread_creation_options: *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set custom thread join function for global thread pools\n\n \\param[inout] tp_options\n \\param[in] ort_custom_join_thread_fn Custom thread join function, must not be nullptr when global ort_custom_create_thread_fn is set\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetGlobalCustomJoinThreadFn: ::std::option::Option<
        unsafe extern "C" fn(
            tp_options: *mut OrtThreadingOptions,
            ort_custom_join_thread_fn: OrtCustomJoinThreadFn,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Synchronize bound inputs. The call may be necessary for some providers, such as cuda,\n   in case the system that allocated bound memory operated on a different stream. However, the\n   operation is provider specific and could be a no-op.\n\n \\param[inout] binding_ptr\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SynchronizeBoundInputs:
        ::std::option::Option<unsafe extern "C" fn(binding_ptr: *mut OrtIoBinding) -> OrtStatusPtr>,
    #[doc = " \\brief Synchronize bound outputs. The call may be necessary for some providers, such as cuda,\n   in case the system that allocated bound memory operated on a different stream. However, the\n   operation is provider specific and could be a no-op.\n\n \\param[inout] binding_ptr\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SynchronizeBoundOutputs:
        ::std::option::Option<unsafe extern "C" fn(binding_ptr: *mut OrtIoBinding) -> OrtStatusPtr>,
    #[doc = " \\brief Append CUDA execution provider to the session options\n\n If CUDA is not available (due to a non CUDA enabled build), this function will return failure.\n\n This is slightly different from OrtApi::SessionOptionsAppendExecutionProvider_CUDA, it takes an\n ::OrtCUDAProviderOptions which is publicly defined. This takes an opaque ::OrtCUDAProviderOptionsV2\n which must be created with OrtApi::CreateCUDAProviderOptions.\n\n For OrtApi::SessionOptionsAppendExecutionProvider_CUDA, the user needs to instantiate ::OrtCUDAProviderOptions\n as well as allocate/release buffers for some members of ::OrtCUDAProviderOptions.\n Here, OrtApi::CreateCUDAProviderOptions and Ortapi::ReleaseCUDAProviderOptions will do the memory management for you.\n\n \\param[in] options\n \\param[in] cuda_options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.11."]
    pub SessionOptionsAppendExecutionProvider_CUDA_V2: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            cuda_options: *const OrtCUDAProviderOptionsV2,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an OrtCUDAProviderOptionsV2\n\n \\param[out] out Newly created ::OrtCUDAProviderOptionsV2. Must be released with OrtApi::ReleaseCudaProviderOptions\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.11."]
    pub CreateCUDAProviderOptions: ::std::option::Option<
        unsafe extern "C" fn(out: *mut *mut OrtCUDAProviderOptionsV2) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set options in a CUDA Execution Provider.\n\n Please refer to https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html#configuration-options\n to know the available keys and values. Key should be in null terminated string format of the member of ::OrtCUDAProviderOptionsV2\n and value should be its related range. Recreates the options and only sets the supplied values.\n\n For example, key=\"device_id\" and value=\"0\"\n\n \\param[in] cuda_options\n \\param[in] provider_options_keys Array of UTF-8 null-terminated string for provider options keys\n \\param[in] provider_options_values Array of UTF-8 null-terminated string for provider options values\n \\param[in] num_keys Number of elements in the `provider_option_keys` and `provider_options_values` arrays\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.11."]
    pub UpdateCUDAProviderOptions: ::std::option::Option<
        unsafe extern "C" fn(
            cuda_options: *mut OrtCUDAProviderOptionsV2,
            provider_options_keys: *const *const ::std::os::raw::c_char,
            provider_options_values: *const *const ::std::os::raw::c_char,
            num_keys: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Get serialized CUDA provider options string.\n\n For example, \"device_id=0;arena_extend_strategy=0;......\"\n\n \\param cuda_options - OrtCUDAProviderOptionsV2 instance\n \\param allocator - a ptr to an instance of OrtAllocator obtained with CreateAllocator() or GetAllocatorWithDefaultOptions()\n                      the specified allocator will be used to allocate continuous buffers for output strings and lengths.\n \\param ptr - is a UTF-8 null terminated string allocated using 'allocator'. The caller is responsible for using the same allocator to free it.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.11."]
    pub GetCUDAProviderOptionsAsString: ::std::option::Option<
        unsafe extern "C" fn(
            cuda_options: *const OrtCUDAProviderOptionsV2,
            allocator: *mut OrtAllocator,
            ptr: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Release an ::OrtCUDAProviderOptionsV2\n\n \\note This is an exception in the naming convention of other Release* functions, as the name of the method does not have the V2 suffix, but the type does\n\n \\since Version 1.11."]
    pub ReleaseCUDAProviderOptions:
        ::std::option::Option<unsafe extern "C" fn(input: *mut OrtCUDAProviderOptionsV2)>,
    #[doc = " \\brief Append MIGraphX provider to session options\n\n If MIGraphX is not available (due to a non MIGraphX enabled build, or if MIGraphX is not installed on the system), this function will return failure.\n\n \\param[in] options\n \\param[in] migraphx_options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.11."]
    pub SessionOptionsAppendExecutionProvider_MIGraphX: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            migraphx_options: *const OrtMIGraphXProviderOptions,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Replace initialized Tensors with external data with the data provided in initializers.\n\n The function will find the initialized TensorProtos with external data in the graph with the provided names and\n replace them with the provided tensors. The API verifies that the TensorProto being replaced\n has an external data reference and has the same name, dimensions and data type as its replacement. The replacement\n will occur before any of the optimizations take place. The data will be copied into the graph\n since TensorProto can't refer to the user provided buffers.\n\n Once the model has been loaded, the OrtValue(s) added to SessionOptions instance will be removed\n from the internal SessionOptions copy to save memory, the user provided buffers can then be deallocated\n and the SessionOptions instance that refers to them can be destroyed.\n\n \\param[in] options\n \\param[in] initializer_names Array of null terminated UTF-8 encoded strings of the initializers names.\n \\param[in] initializers Array of ::OrtValue type\n \\param[in] num_initializers Number of elements in the initializer_names and initializers\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.12."]
    pub AddExternalInitializers: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            initializer_names: *const *const ::std::os::raw::c_char,
            initializers: *const *const OrtValue,
            num_initializers: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief: Create attribute of onnxruntime operator\n\n \\param[in] name Name of the attribute\n \\param[in] data Data content of the attribute\n \\param[in] len Number of bytes stored in data\n \\param[in] type Data type\n \\param[out] op_attr Attribute that has been created, which must be released by OrtApi::ReleaseOpAttr\n\n \\since Version 1.12."]
    pub CreateOpAttr: ::std::option::Option<
        unsafe extern "C" fn(
            name: *const ::std::os::raw::c_char,
            data: *const ::std::os::raw::c_void,
            len: ::std::os::raw::c_int,
            type_: OrtOpAttrType,
            op_attr: *mut *mut OrtOpAttr,
        ) -> OrtStatusPtr,
    >,
    pub ReleaseOpAttr: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtOpAttr)>,
    #[doc = " \\brief: Create onnxruntime native operator\n\n \\param[in] info Kernel info\n \\param[in] op_name Operator name\n \\param[in] domain Operator domain\n \\param[in] version Operator opset version\n \\param[in] type_constraint_names Name of the type contraints, such as \"T\" or \"T1\"\n \\param[in] type_constraint_values Type of each contraints\n \\param[in] type_constraint_count Number of contraints\n \\param[in] attr_values Attributes used to initialize the operator\n \\param[in] attr_count Number of the attributes\n \\param[in] input_count Number of inputs\n \\param[in] output_count Number of outputs\n \\param[out] ort_op Operator that has been created\n\n \\since Version 1.12."]
    pub CreateOp: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            op_name: *const ::std::os::raw::c_char,
            domain: *const ::std::os::raw::c_char,
            version: ::std::os::raw::c_int,
            type_constraint_names: *mut *const ::std::os::raw::c_char,
            type_constraint_values: *const ONNXTensorElementDataType,
            type_constraint_count: ::std::os::raw::c_int,
            attr_values: *const *const OrtOpAttr,
            attr_count: ::std::os::raw::c_int,
            input_count: ::std::os::raw::c_int,
            output_count: ::std::os::raw::c_int,
            ort_op: *mut *mut OrtOp,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief: Invoke the operator created by OrtApi::CreateOp\n The inputs must follow the order as specified in onnx specification\n\n \\param[in] context Kernel context\n \\param[in] ort_op Operator that has been created\n \\param[in] input_values Array of inputs\n \\param[in] input_count Number of inputs\n \\param[in] output_values Array of outputs\n \\param[in] output_count Number of outputs\n\n \\since Version 1.12."]
    pub InvokeOp: ::std::option::Option<
        unsafe extern "C" fn(
            context: *const OrtKernelContext,
            ort_op: *const OrtOp,
            input_values: *const *const OrtValue,
            input_count: ::std::os::raw::c_int,
            output_values: *const *mut OrtValue,
            output_count: ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    pub ReleaseOp: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtOp)>,
    #[doc = " \\brief: Append execution provider to the session options.\n \\param[in] options\n \\param[in] provider_name - provider to add.\n \\param[in] provider_options_keys - keys to configure the provider options\n \\param[in] provider_options_values - values to configure the provider options\n \\param[in] num_keys - number of keys passed in\n\n Currently supported providers:\n   QNN\n   SNPE\n   XNNPACK\n\n Note: If an execution provider has a dedicated SessionOptionsAppendExecutionProvider_<provider name> function\n       that should be used to add it.\n\n QNN supported keys:\n   \"backend_path\": file path to QNN backend library.\n   \"profiling_level\": QNN profiling level, options: \"off\", \"basic\", \"detailed\". Default to off.\n   \"profiling_file_path\": QNN profiling file path if ETW not enabled.\n   \"rpc_control_latency\": QNN RPC control latency.\n   \"vtcm_mb\": QNN VTCM size in MB. default to 0(not set).\n   \"htp_performance_mode\": QNN performance mode, options: \"burst\", \"balanced\", \"default\", \"high_performance\",\n   \"high_power_saver\", \"low_balanced\", \"extreme_power_saver\", \"low_power_saver\", \"power_saver\", \"sustained_high_performance\". Default to \"default\".\n   \"qnn_saver_path\": File path to the QNN Saver backend library. If specified, QNN Saver will be enabled and will\n   dump QNN API calls to disk for replay/debugging. QNN Saver produces incorrect model inference results and\n   may alter model/EP partitioning. Use only for debugging.\n   \"qnn_context_priority\": QNN context priority, options: \"low\", \"normal\", \"normal_high\", \"high\". Default to \"normal\".\n   \"htp_graph_finalization_optimization_mode\": Set the optimization mode for graph finalization on the HTP backend. Available options:\n     - \"0\": Default.\n     - \"1\": Faster preparation time, less optimal graph.\n     - \"2\": Longer preparation time, more optimal graph.\n     - \"3\": Longest preparation time, most likely even more optimal graph. See QNN SDK documentation for specific details.\n   \"soc_model\": The SoC model number. Refer to the QNN SDK documentation for valid values. Defaults to \"0\" (unknown).\n   \"htp_arch\": The minimum HTP architecture the driver will use to select compatible QNN operators. Available options:\n     - \"0\": Default (none).\n     - \"68\"\n     - \"69\"\n     - \"73\"\n     - \"75\"\n   \"device_id\": The ID of the device to use when setting 'htp_arch'. Defaults to \"0\" (for single device).\n   \"enable_htp_fp16_precision\": Used for float32 model for HTP backend.\n   Enable the float32 model to be inferenced with fp16 precision. Otherwise, it will be fp32 precision.\n     - \"0\": With fp32 precision.\n     - \"1\": Default. With fp16 precision.\n   \"enable_htp_weight_sharing\": Enable QNN weight sharing feature while compiling multiple graphs into one QNN context.\n     - \"0\": Default. Disabled.\n     - \"1\": Enabled.\n   \"offload_graph_io_quantization\": Offload graph input quantization and graph output dequantization to another\n   execution provider (typically CPU EP).\n     - \"0\": Default. Disabled. QNN EP will handle quantization and dequantization of graph I/O.\n     - \"1\": Enabled.\n\n SNPE supported keys:\n   \"runtime\": SNPE runtime engine, options: \"CPU\", \"CPU_FLOAT32\", \"GPU\", \"GPU_FLOAT32_16_HYBRID\", \"GPU_FLOAT16\",\n   \"DSP\", \"DSP_FIXED8_TF\", \"AIP_FIXED_TF\", \"AIP_FIXED8_TF\".\n   Mapping to SNPE Runtime_t definition: CPU, CPU_FLOAT32 => zdl::DlSystem::Runtime_t::CPU;\n   GPU, GPU_FLOAT32_16_HYBRID => zdl::DlSystem::Runtime_t::GPU;\n   GPU_FLOAT16 => zdl::DlSystem::Runtime_t::GPU_FLOAT16;\n   DSP, DSP_FIXED8_TF => zdl::DlSystem::Runtime_t::DSP.\n   AIP_FIXED_TF, AIP_FIXED8_TF => zdl::DlSystem::Runtime_t::AIP_FIXED_TF.\n   \"priority\": execution priority, options: \"low\", \"normal\".\n   \"buffer_type\": ITensor or user buffers, options: \"ITENSOR\", user buffer with different types - \"TF8\", \"TF16\", \"UINT8\", \"FLOAT\".\n   \"ITENSOR\" -- default, ITensor which is float only.\n   \"TF8\" -- quantized model required, \"FLOAT\" -- for both quantized or non-quantized model\n   \"enable_init_cache\": enable SNPE init caching feature, set to 1 to enabled it. Disabled by default.\n   If SNPE is not available (due to a non Snpe enabled build or its dependencies not being installed), this function will fail.\n\n XNNPACK supported keys:\n   \"intra_op_num_threads\": number of thread-pool size to use for XNNPACK execution provider.\n      default value is 0, which means to use the session thread-pool size.\n\n \\since Version 1.12."]
    pub SessionOptionsAppendExecutionProvider: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            provider_name: *const ::std::os::raw::c_char,
            provider_options_keys: *const *const ::std::os::raw::c_char,
            provider_options_values: *const *const ::std::os::raw::c_char,
            num_keys: usize,
        ) -> OrtStatusPtr,
    >,
    pub CopyKernelInfo: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            info_copy: *mut *mut OrtKernelInfo,
        ) -> OrtStatusPtr,
    >,
    pub ReleaseKernelInfo: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtKernelInfo)>,
    #[doc = " \\name Ort Training\n @{\n** \\brief Gets the Training C Api struct\n*\n* Call this function to access the ::OrtTrainingApi structure that holds pointers to functions that enable\n* training with onnxruntime.\n* \\note A NULL pointer will be returned and no error message will be printed if the training api\n* is not supported with this build. A NULL pointer will be returned and an error message will be\n* printed if the provided version is unsupported, for example when using a runtime older than the\n* version created with this header file.\n*\n* \\param[in] version Must be ::ORT_API_VERSION\n* \\return The ::OrtTrainingApi struct for the version requested.\n*\n* \\since Version 1.13\n*/"]
    pub GetTrainingApi:
        ::std::option::Option<unsafe extern "C" fn(version: u32) -> *const OrtTrainingApi>,
    #[doc = " \\brief Append CANN provider to session options\n\n If CANN is not available (due to a non CANN enabled build, or if CANN is not installed on the system), this function will return failure.\n\n \\param[in] options\n \\param[in] cann_options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.13."]
    pub SessionOptionsAppendExecutionProvider_CANN: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            cann_options: *const OrtCANNProviderOptions,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an OrtCANNProviderOptions\n\n \\param[out] out created ::OrtCANNProviderOptions. Must be released with OrtApi::ReleaseCANNProviderOptions\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.13."]
    pub CreateCANNProviderOptions: ::std::option::Option<
        unsafe extern "C" fn(out: *mut *mut OrtCANNProviderOptions) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set options in a CANN Execution Provider.\n\n \\param[in] cann_options\n \\param[in] provider_options_keys Array of UTF-8 null-terminated string for provider options keys\n \\param[in] provider_options_values Array of UTF-8 null-terminated string for provider options values\n \\param[in] num_keys Number of elements in the `provider_option_keys` and `provider_options_values` arrays\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.13."]
    pub UpdateCANNProviderOptions: ::std::option::Option<
        unsafe extern "C" fn(
            cann_options: *mut OrtCANNProviderOptions,
            provider_options_keys: *const *const ::std::os::raw::c_char,
            provider_options_values: *const *const ::std::os::raw::c_char,
            num_keys: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get serialized CANN provider options string.\n\n \\param[in] cann_options OrtCANNProviderOptions instance\n \\param[in] allocator a ptr to an instance of OrtAllocator obtained with CreateAllocator()\n                      or GetAllocatorWithDefaultOptions(), the specified allocator will be used to allocate\n                      continuous buffers for output strings and lengths.\n \\param[out] ptr is a UTF-8 null terminated string allocated using 'allocator'.\n                 The caller is responsible for using the same allocator to free it.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.13."]
    pub GetCANNProviderOptionsAsString: ::std::option::Option<
        unsafe extern "C" fn(
            cann_options: *const OrtCANNProviderOptions,
            allocator: *mut OrtAllocator,
            ptr: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Release an OrtCANNProviderOptions\n\n \\param[in] input The pointer of OrtCANNProviderOptions which will been deleted\n\n \\since Version 1.13."]
    pub ReleaseCANNProviderOptions:
        ::std::option::Option<unsafe extern "C" fn(input: *mut OrtCANNProviderOptions)>,
    pub MemoryInfoGetDeviceType: ::std::option::Option<
        unsafe extern "C" fn(ptr: *const OrtMemoryInfo, out: *mut OrtMemoryInfoDeviceType),
    >,
    pub UpdateEnvWithCustomLogLevel: ::std::option::Option<
        unsafe extern "C" fn(
            ort_env: *mut OrtEnv,
            log_severity_level: OrtLoggingLevel,
        ) -> OrtStatusPtr,
    >,
    pub SetGlobalIntraOpThreadAffinity: ::std::option::Option<
        unsafe extern "C" fn(
            tp_options: *mut OrtThreadingOptions,
            affinity_string: *const ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Register custom ops from a shared library.\n\n Loads a shared library (.dll on windows, .so on linux, etc) named 'library_name' and looks for this entry point:\n\t\tOrtStatus* RegisterCustomOps(OrtSessionOptions * options, const OrtApiBase* api);\n It then passes in the provided session options to this function along with the api base.\n\n The handle to the loaded library is automatically released by ORT when the last OrtSession that references the\n library handle is released. If no OrtSession is created, then the library handle is released when the provided\n OrtSessionOptions is released.\n\n \\param[in] options The session options.\n \\param[in] library_name The name of the shared library to load and register. Refer to OS-specific dynamic library\n                         loading utilities (e.g., LoadLibraryEx on Windows or dlopen on Linux/MacOS) for information\n                         on the format of library names and search paths.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.14"]
    pub RegisterCustomOpsLibrary_V2: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            library_name: *const wchar_t,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Register custom ops by calling a RegisterCustomOpsFn function.\n\n Searches for registration_func_name and if found calls it.\n\n The library containing the function must either be linked against or previously loaded by the executable.\n\n If you want ONNX Runtime to load the library and manage its lifetime, use RegisterCustomOpsLibrary_V2.\n\n RegisterCustomOpsUsingFunction can be used in scenarios where it may not be possible for ONNX Runtime to load\n the library from a path. e.g. mobile platforms where the library must be linked into the app.\n\n The registration function must have the signature of RegisterCustomOpsFn:\n    OrtStatus* (*fn)(OrtSessionOptions* options, const OrtApiBase* api);\n\n See https://onnxruntime.ai/docs/reference/operators/add-custom-op.html for details on how the registration\n function should be implemented.\n\n \\param[in] options OrtSessionOptions that is passed through as the first argument in the call to the\n                    registration function.\n \\param[in] registration_func_name Name of registration function to use.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.14"]
    pub RegisterCustomOpsUsingFunction: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            registration_func_name: *const ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the number of inputs from ::OrtKernelInfo.\n\n Used in the CreateKernel callback of an OrtCustomOp to query the number of inputs\n during kernel/session creation.\n\n \\param[in] info Instance of ::OrtKernelInfo.\n \\param[out] out Pointer to variable assigned with the result on success.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.14"]
    pub KernelInfo_GetInputCount: ::std::option::Option<
        unsafe extern "C" fn(info: *const OrtKernelInfo, out: *mut usize) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the number of outputs from ::OrtKernelInfo.\n\n Used in the CreateKernel callback of an OrtCustomOp to query the number of outputs\n during kernel/session creation.\n\n \\param[in] info Instance of ::OrtKernelInfo.\n \\param[out] out Pointer to variable assigned with the result on success.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.14"]
    pub KernelInfo_GetOutputCount: ::std::option::Option<
        unsafe extern "C" fn(info: *const OrtKernelInfo, out: *mut usize) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the name of a ::OrtKernelInfo's input.\n\n Used in the CreateKernel callback of an OrtCustomOp to query an input's name\n during kernel/session creation.\n\n If `out` is nullptr, the value of `size` is set to the size of the name\n string (including null-terminator), and a success status is returned.\n\n If the `size` parameter is greater than or equal to the name string's size,\n the value of `size` is set to the true size of the string (including null-terminator),\n the provided memory is filled with the string's contents, and a success status is returned.\n\n If the `size` parameter is less than the actual string's size and `out`\n is not nullptr, the value of `size` is set to the true size of the string\n and a failure status is returned.\n\n \\param[in] info An instance of ::OrtKernelInfo.\n \\param[in] index The index of the input name to get. Returns a failure status if out-of-bounds.\n \\param[out] out Memory location into which to write the UTF-8 null-terminated string representing the input's name.\n \\param[in,out] size Pointer to the size of the `out` buffer. See above comments for details.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.14"]
    pub KernelInfo_GetInputName: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            index: usize,
            out: *mut ::std::os::raw::c_char,
            size: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the name of a ::OrtKernelInfo's output.\n\n Used in the CreateKernel callback of an OrtCustomOp to query an output's name\n during kernel/session creation.\n\n If `out` is nullptr, the value of `size` is set to the size of the name\n string (including null-terminator), and a success status is returned.\n\n If the `size` parameter is greater than or equal to the name string's size,\n the value of `size` is set to the true size of the string (including null-terminator),\n the provided memory is filled with the string's contents, and a success status is returned.\n\n If the `size` parameter is less than the actual string's size and `out`\n is not nullptr, the value of `size` is set to the true size of the string\n and a failure status is returned.\n\n \\param[in] info An instance of ::OrtKernelInfo.\n \\param[in] index The index of the output name to get. Returns a failure status if out-of-bounds.\n \\param[out] out Memory location into which to write the UTF-8 null-terminated string representing the output's\n                 name.\n \\param[in,out] size Pointer to the size of the `out` buffer. See above comments for details.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.14"]
    pub KernelInfo_GetOutputName: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            index: usize,
            out: *mut ::std::os::raw::c_char,
            size: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the type information for a ::OrtKernelInfo's input.\n\n Used in the CreateKernel callback of an OrtCustomOp to query the shape and type information\n of an input during kernel/session creation.\n\n \\param[in] info An instance of ::OrtKernelInfo.\n \\param[in] index Which input to get the type information for\n \\param[out] type_info Pointer set to the resulting ::OrtTypeInfo. Must be freed with OrtApi::ReleaseTypeInfo.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.14"]
    pub KernelInfo_GetInputTypeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            index: usize,
            type_info: *mut *mut OrtTypeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the type information for a ::OrtKernelInfo's output.\n\n Used in the CreateKernel callback of an OrtCustomOp to query the shape and type information\n of an output during kernel/session creation.\n\n \\param[in] info An instance of ::OrtKernelInfo.\n \\param[in] index Which input to get the type information for\n \\param[out] type_info Pointer set to the resulting ::OrtTypeInfo. Must be freed with OrtApi::ReleaseTypeInfo.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.14"]
    pub KernelInfo_GetOutputTypeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            index: usize,
            type_info: *mut *mut OrtTypeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get a ::OrtValue tensor stored as an attribute in the graph node.\n\n Used in the CreateKernel callback of an OrtCustomOp to get a tensor attribute.\n\n \\param[in] info ::OrtKernelInfo instance.\n \\param[in] name UTF-8 null-terminated string representing the attribute's name.\n \\param[in] allocator Allocator used to allocate the internal tensor state.\n \\param[out] out Returns newly created ::OrtValue. Must be freed with OrtApi::ReleaseValue,\n                 which will also free internal tensor state allocated with the provided allocator.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub KernelInfoGetAttribute_tensor: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            name: *const ::std::os::raw::c_char,
            allocator: *mut OrtAllocator,
            out: *mut *mut OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Checks if the given session configuration entry exists.\n\n The config_key formats are defined in onnxruntime_session_options_config_keys.h\n\n Can be used in a custom operator library to check for session configuration entries\n that target one or more custom operators in the library. Example: The config entry\n custom_op.myop.some_key targets a custom op named \"myop\".\n\n \\param[in] options The ::OrtSessionOptions instance.\n \\param[in] config_key A null-terminated UTF-8 string representation of the configuration key.\n \\param[out] out Pointer set to 1 if the entry exists and 0 otherwise.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.14"]
    pub HasSessionConfigEntry: ::std::option::Option<
        unsafe extern "C" fn(
            options: *const OrtSessionOptions,
            config_key: *const ::std::os::raw::c_char,
            out: *mut ::std::os::raw::c_int,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get a session configuration value.\n\n Returns a failure status if the configuration key does not exist.\n The config_key and the format of config_value are defined in onnxruntime_session_options_config_keys.h\n\n If `config_value` is nullptr, the value of `size` is set to the true size of the string\n value (including null-terminator), and a success status is returned.\n\n If the `size` parameter is greater than or equal to the actual string value's size,\n the value of `size` is set to the true size of the string value, the provided memory\n is filled with the value's contents, and a success status is returned.\n\n If the `size` parameter is less than the actual string value's size and `config_value`\n is not nullptr, the value of `size` is set to the true size of the string value\n and a failure status is returned.\n\n Can be used in a custom operator library to get session configuration entries\n that target one or more custom operators in the library. Example: The config entry\n custom_op.myop.some_key targets a custom op named \"myop\".\n\n \\param[in] options The session options.\n \\param[in] config_key A null-terminated UTF-8 string representation of the config key.\n \\param[in] config_value Pointer to memory where the null-terminated UTF-8 string value will be stored.\n \\param[in,out] size Pointer to the size of the `config_value` buffer. See above comments for details.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.14"]
    pub GetSessionConfigEntry: ::std::option::Option<
        unsafe extern "C" fn(
            options: *const OrtSessionOptions,
            config_key: *const ::std::os::raw::c_char,
            config_value: *mut ::std::os::raw::c_char,
            size: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Append dnnl provider to session options\n\n If oneDNN is not available, this function will return failure.\n\n \\param[in] options\n \\param[in] dnnl_options\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.15."]
    pub SessionOptionsAppendExecutionProvider_Dnnl: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            dnnl_options: *const OrtDnnlProviderOptions,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an OrtDnnlProviderOptions\n\n \\param[out] out Newly created ::OrtDnnlProviderOptions. Must be released with OrtApi::ReleaseDnnlProviderOptions\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.15."]
    pub CreateDnnlProviderOptions: ::std::option::Option<
        unsafe extern "C" fn(out: *mut *mut OrtDnnlProviderOptions) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set options in a oneDNN Execution Provider.\n\n Key should be in null terminated string format of the member of ::OrtDnnlProviderOptions\n and value should be its related range.\n\n For example, key=\"use_arena\" and value=\"1\"\n\n \\param[in] dnnl_options\n \\param[in] provider_options_keys Array of UTF-8 null-terminated string for provider options keys\n \\param[in] provider_options_values Array of UTF-8 null-terminated string for provider options values\n \\param[in] num_keys Number of elements in the `provider_option_keys` and `provider_options_values` arrays\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.15."]
    pub UpdateDnnlProviderOptions: ::std::option::Option<
        unsafe extern "C" fn(
            dnnl_options: *mut OrtDnnlProviderOptions,
            provider_options_keys: *const *const ::std::os::raw::c_char,
            provider_options_values: *const *const ::std::os::raw::c_char,
            num_keys: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Get serialized oneDNN provider options string.\n\n For example, \"use_arena=1;......\"\n\n \\param dnnl_options - OrtDnnlProviderOptions instance\n \\param allocator - a ptr to an instance of OrtAllocator obtained with CreateAllocator() or GetAllocatorWithDefaultOptions()\n                      the specified allocator will be used to allocate continuous buffers for output strings and lengths.\n \\param ptr - is a UTF-8 null terminated string allocated using 'allocator'. The caller is responsible for using the same allocator to free it.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.15."]
    pub GetDnnlProviderOptionsAsString: ::std::option::Option<
        unsafe extern "C" fn(
            dnnl_options: *const OrtDnnlProviderOptions,
            allocator: *mut OrtAllocator,
            ptr: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Release an ::OrtDnnlProviderOptions\n\n \\since Version 1.15."]
    pub ReleaseDnnlProviderOptions:
        ::std::option::Option<unsafe extern "C" fn(input: *mut OrtDnnlProviderOptions)>,
    #[doc = " \\brief Get the graph node name from ::OrtKernelInfo.\n\n If `out` is nullptr, the value of `size` is set to the size of the name\n string (including null-terminator), and a success status is returned.\n\n If the `size` parameter is greater than or equal to the name string's size,\n the value of `size` is set to the true size of the string (including null-terminator),\n the provided memory is filled with the string's contents, and a success status is returned.\n\n If the `size` parameter is less than the actual string's size and `out`\n is not nullptr, the value of `size` is set to the true size of the string\n and a failure status is returned.\n\n Can be used in a custom operator's CreateKernel callback to get the name of the operator's node name in the graph.\n\n \\param[in] info An instance of ::OrtKernelInfo.\n \\param[out] out Memory location into which to write the UTF-8 null-terminated string representing the name.\n \\param[in,out] size Pointer to the size of the `out` buffer. See above comments for details.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.15"]
    pub KernelInfo_GetNodeName: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            out: *mut ::std::os::raw::c_char,
            size: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the session logger from ::OrtKernelInfo.\n\n Used in the CreateKernel callback of an OrtCustomOp to get a logger that can be used to log\n messages.\n\n \\param[in] info An instance of ::OrtKernelInfo.\n \\param[out] logger Pointer set to the session's ::OrtLogger. Owned by ONNX Runtime, so do not free.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.15"]
    pub KernelInfo_GetLogger: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            logger: *mut *const OrtLogger,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the runtime logger from ::OrtKernelContext.\n\n Used in the KernelCompute callback of an OrtCustomOp to get a logger that can be used to log\n messages during inference.\n\n \\param[in] context An instance of ::OrtKernelContext.\n \\param[out] logger Pointer set to the kernel context's ::OrtLogger. Owned by ONNX Runtime, so do not free.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.15"]
    pub KernelContext_GetLogger: ::std::option::Option<
        unsafe extern "C" fn(
            context: *const OrtKernelContext,
            logger: *mut *const OrtLogger,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Logs a message at the given severity level using the provided ::OrtLogger.\n\n Only messages with a severity level equal or greater than the ::OrtLogger's logging severity level\n are logged. Use OrtApi::Logger_GetLoggingSeverityLevel to get the ::OrtLogger's logging severity\n level.\n\n Can be used in custom operators to log messages with the logger retrieved via OrtApi::KernelInfo_GetLogger.\n\n \\param[in] logger The ::OrtLogger instance.\n \\param[in] log_severity_level The message's severity level.\n \\param[in] message The message to log.\n \\param[in] file_path The filepath of the file in which the message is logged. Usually the value of ORT_FILE.\n \\param[in] line_number The file line number in which the message is logged. Usually the value of __LINE__.\n \\param[in] func_name The name of the function in which the message is logged. Usually the value of __FUNCTION__.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.15"]
    pub Logger_LogMessage: ::std::option::Option<
        unsafe extern "C" fn(
            logger: *const OrtLogger,
            log_severity_level: OrtLoggingLevel,
            message: *const ::std::os::raw::c_char,
            file_path: *const wchar_t,
            line_number: ::std::os::raw::c_int,
            func_name: *const ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get the logging severity level of the ::OrtLogger.\n\n Can be used in a custom operator to get the logging serverity level of the ::OrtLogger associated with\n the ::OrtKernelInfo.\n\n \\param[in] logger The ::OrtLogger instance.\n \\param[out] out Pointer to variable assigned with the logging severity level on success.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n \\since Version 1.15"]
    pub Logger_GetLoggingSeverityLevel: ::std::option::Option<
        unsafe extern "C" fn(logger: *const OrtLogger, out: *mut OrtLoggingLevel) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get a ::OrtValue tensor stored as a constant initializer in the graph node.\n\n Used in the CreateKernel callback of an OrtCustomOp to get a tensor value.\n\n \\param[in] info ::OrtKernelInfo instance.\n \\param[in] index The node index.\n \\param[out] is_constant Is it a constant node input or not.\n \\param[out] out The OrtValue tensor value.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.15."]
    pub KernelInfoGetConstantInput_tensor: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            index: usize,
            is_constant: *mut ::std::os::raw::c_int,
            out: *mut *const OrtValue,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get Optional Type information from an ::OrtTypeInfo\n\n This augments ::OrtTypeInfo to return an ::OrtOptionalTypeInfo when the type is optional.\n The OrtOptionalTypeInfo also has a nested ::OrtTypeInfo that describes the type of the optional value.\n ::OrtOptionalTypeInfo type can only appear within model metadata to describe inputs/outputs.\n The actual OrtValues that are supplied in place of optional type inputs should contain\n specific type that is described by ::OrtOptionalTypeInfo.\n\n So the picture: ::OrtTypeInfo -> ::OrtOptionalTypeInfo -> ::OrtTypeInfo (describes the type that can be supplied\n in place of the optional type when creating the actual ::OrtValue).\n\n \\param[in] type_info\n \\param[out] out A pointer to the ::OrtOptionalTypeInfo. Do not free this value,\n                 it is owned by OrtTypeInfo instance. When the type_info does not represent\n                 optional type, nullptr is returned in out.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.15."]
    pub CastTypeInfoToOptionalTypeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            type_info: *const OrtTypeInfo,
            out: *mut *const OrtOptionalTypeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get OrtTypeInfo for the allowed contained type from an ::OrtOptionalTypeInfo.\n\n This augments ::OrtOptionalTypeInfo to return an ::OrtTypeInfo for the contained type.\n The OrtOptionalTypeInfo has a nested ::OrtTypeInfo that describes the type of the optional value.\n ::OrtOptionalTypeInfo type can only appear within model metadata to describe inputs/outputs.\n The actual OrtValues that are supplied in place of optional type inputs should contain\n specific type that is described by the returned ::OrtTypeInfo.\n\n \\param[in] optional_type_info\n \\param[out] out A pointer to the ::OrtTypeInfo for what the optional value could be.\n it is owned by OrtOptionalTypeInfo instance.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.15."]
    pub GetOptionalContainedTypeInfo: ::std::option::Option<
        unsafe extern "C" fn(
            optional_type_info: *const OrtOptionalTypeInfo,
            out: *mut *mut OrtTypeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set a single string in a string tensor\n  Do not zero terminate the string data.\n\n \\param[in] value A string tensor\n \\param[in] index - flat index of the element\n \\param[in] length_in_bytes length of the buffer in utf-8 bytes (without the null terminator)\n \\param[inout] buffer - address of return value\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub GetResizedStringTensorElementBuffer: ::std::option::Option<
        unsafe extern "C" fn(
            value: *mut OrtValue,
            index: usize,
            length_in_bytes: usize,
            buffer: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get Allocator from KernelContext for a specific memoryInfo. Please use C API ReleaseAllocator to release out object\n\n \\param[in] context OrtKernelContext instance\n \\param[in] mem_info OrtMemoryInfo instance\n \\param[out] out A pointer to OrtAllocator.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.15."]
    pub KernelContext_GetAllocator: ::std::option::Option<
        unsafe extern "C" fn(
            context: *const OrtKernelContext,
            mem_info: *const OrtMemoryInfo,
            out: *mut *mut OrtAllocator,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Returns a null terminated string of the build info including git info and cxx flags\n\n \\return UTF-8 encoded version string. Do not deallocate the returned buffer.\n\n \\since Version 1.15."]
    pub GetBuildInfoString:
        ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>,
    #[doc = " \\brief Create an OrtROCMProviderOptions\n\n \\param[out] out Newly created ::OrtROCMProviderOptions. Must be released with OrtApi::ReleaseROCMProviderOptions\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.16."]
    pub CreateROCMProviderOptions: ::std::option::Option<
        unsafe extern "C" fn(out: *mut *mut OrtROCMProviderOptions) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set options in a ROCm Execution Provider.\n\n Please refer to https://onnxruntime.ai/docs/execution-providers/ROCm-ExecutionProvider.html\n to know the available keys and values. Key should be in null terminated string format of the member of\n ::OrtROCMProviderOptions and value should be its related range.\n\n For example, key=\"device_id\" and value=\"0\"\n\n \\param[in] rocm_options\n \\param[in] provider_options_keys Array of UTF-8 null-terminated string for provider options keys\n \\param[in] provider_options_values Array of UTF-8 null-terminated string for provider options values\n \\param[in] num_keys Number of elements in the `provider_option_keys` and `provider_options_values` arrays\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.16."]
    pub UpdateROCMProviderOptions: ::std::option::Option<
        unsafe extern "C" fn(
            rocm_options: *mut OrtROCMProviderOptions,
            provider_options_keys: *const *const ::std::os::raw::c_char,
            provider_options_values: *const *const ::std::os::raw::c_char,
            num_keys: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Get serialized ROCm provider options string.\n\n For example, \"device_id=0;arena_extend_strategy=0;......\"\n\n \\param rocm_options - OrtROCMProviderOptions instance\n \\param allocator - a ptr to an instance of OrtAllocator obtained with CreateAllocator() or GetAllocatorWithDefaultOptions()\n                      the specified allocator will be used to allocate continuous buffers for output strings and lengths.\n \\param ptr - is a UTF-8 null terminated string allocated using 'allocator'. The caller is responsible for using the same allocator to free it.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.16."]
    pub GetROCMProviderOptionsAsString: ::std::option::Option<
        unsafe extern "C" fn(
            rocm_options: *const OrtROCMProviderOptions,
            allocator: *mut OrtAllocator,
            ptr: *mut *mut ::std::os::raw::c_char,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Release an ::OrtROCMProviderOptions\n\n \\note This is an exception in the naming convention of other Release* functions, as the name of the method does not have the V2 suffix, but the type does\n\n \\since Version 1.16."]
    pub ReleaseROCMProviderOptions:
        ::std::option::Option<unsafe extern "C" fn(input: *mut OrtROCMProviderOptions)>,
    #[doc = " \\brief Create an allocator with specific type and register it with the ::OrtEnv\n  This API enhance CreateAndRegisterAllocator that it can create an allocator with specific type, not just CPU allocator\n  Enables sharing the allocator between multiple sessions that use the same env instance.\n  Lifetime of the created allocator will be valid for the duration of the environment.\n  Returns an error if an allocator with the same ::OrtMemoryInfo is already registered.\n  \\param[in] env OrtEnv instance\n  \\param[in] provider_type ExecutionProvider type\n  \\param[in] mem_info OrtMemoryInfo instance\n  \\param[in] arena_cfg Arena configuration\n  \\param[in] provider_options_keys key of the provider options map\n  \\param[in] provider_options_values value of the provider options map\n  \\param[in] num_keys Length of the provider options map"]
    pub CreateAndRegisterAllocatorV2: ::std::option::Option<
        unsafe extern "C" fn(
            env: *mut OrtEnv,
            provider_type: *const ::std::os::raw::c_char,
            mem_info: *const OrtMemoryInfo,
            arena_cfg: *const OrtArenaCfg,
            provider_options_keys: *const *const ::std::os::raw::c_char,
            provider_options_values: *const *const ::std::os::raw::c_char,
            num_keys: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Run the model asynchronously in a thread owned by intra op thread pool\n\n \\param[in] session\n \\param[in] run_options If nullptr, will use a default ::OrtRunOptions\n \\param[in] input_names Array of null terminated UTF8 encoded strings of the input names\n \\param[in] input Array of ::OrtValue%s of the input values\n \\param[in] input_len Number of elements in the input_names and inputs arrays\n \\param[in] output_names Array of null terminated UTF8 encoded strings of the output names\n \\param[in] output_names_len Number of elements in the output_names and outputs array\n \\param[out] output OrtValue* array of size output_names_len.\n             On calling RunAsync, output[i] could either be a null or a pointer to a preallocated OrtValue.\n             Later, the output array will be passed to run_async_callback with all null(s) filled with valid\n             OrtValue pointer(s) allocated by onnxruntime.\n             NOTE: it is customer's duty to finally release the output array and each of its member,\n             regardless of whether the member (OrtValue*) is allocated by onnxruntime or preallocated by the customer.\n \\param[in] run_async_callback Callback function on model run completion\n \\param[in] user_data User data that pass back to run_async_callback"]
    pub RunAsync: ::std::option::Option<
        unsafe extern "C" fn(
            session: *mut OrtSession,
            run_options: *const OrtRunOptions,
            input_names: *const *const ::std::os::raw::c_char,
            input: *const *const OrtValue,
            input_len: usize,
            output_names: *const *const ::std::os::raw::c_char,
            output_names_len: usize,
            output: *mut *mut OrtValue,
            run_async_callback: RunAsyncCallbackFn,
            user_data: *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Update TensorRT EP provider option where its data type is pointer, for example 'user_compute_stream'.\n If the data type of the provider option can be represented by string please use UpdateTensorRTProviderOptions.\n\n Note: It's caller's responsibility to properly manage the lifetime of the instance pointed by this pointer.\n\n \\param tensorrt_options - OrtTensorRTProviderOptionsV2 instance\n \\param key - Name of the provider option\n \\param value - A pointer to the instance that will be assigned to this provider option\n\n \\since Version 1.16."]
    pub UpdateTensorRTProviderOptionsWithValue: ::std::option::Option<
        unsafe extern "C" fn(
            tensorrt_options: *mut OrtTensorRTProviderOptionsV2,
            key: *const ::std::os::raw::c_char,
            value: *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Get TensorRT EP provider option where its data type is pointer.\n If the data type of the provider option can be represented by string please use GetTensorRTProviderOptionsAsString.\n\n \\param tensorrt_options - OrtTensorRTProviderOptionsV2 instance\n \\param key - Name of the provider option\n \\param ptr - A pointer to the instance that is kept by the provider option\n\n \\since Version 1.16."]
    pub GetTensorRTProviderOptionsByName: ::std::option::Option<
        unsafe extern "C" fn(
            tensorrt_options: *const OrtTensorRTProviderOptionsV2,
            key: *const ::std::os::raw::c_char,
            ptr: *mut *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Update CUDA EP provider option where its data type is pointer, for example 'user_compute_stream'.\n If the data type of the provider option can be represented by string please use UpdateCUDAProviderOptions.\n\n Note: It's caller's responsibility to properly manage the lifetime of the instance pointed by this pointer.\n\n \\param cuda_options - OrtCUDAProviderOptionsV2 instance\n \\param key - Name of the provider option\n \\param value - A pointer to the instance that will be assigned to this provider option\n\n \\since Version 1.16."]
    pub UpdateCUDAProviderOptionsWithValue: ::std::option::Option<
        unsafe extern "C" fn(
            cuda_options: *mut OrtCUDAProviderOptionsV2,
            key: *const ::std::os::raw::c_char,
            value: *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Get CUDA EP provider option where its data type is pointer.\n If the data type of the provider option can be represented by string please use GetCUDAProviderOptionsAsString.\n\n \\param cuda_options - OrtCUDAProviderOptionsV2 instance\n \\param key - Name of the provider option\n \\param ptr - A pointer to the instance that is kept by the provider option\n\n \\since Version 1.16."]
    pub GetCUDAProviderOptionsByName: ::std::option::Option<
        unsafe extern "C" fn(
            cuda_options: *const OrtCUDAProviderOptionsV2,
            key: *const ::std::os::raw::c_char,
            ptr: *mut *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Get a EP resource.\n E.g. a cuda stream or a cublas handle\n\n \\param context - Kernel context\n \\param resource_version - Version of the resource\n \\param resource_id - Type of resource\n \\param resource - A pointer to returned resource\n\n \\since Version 1.16."]
    pub KernelContext_GetResource: ::std::option::Option<
        unsafe extern "C" fn(
            context: *const OrtKernelContext,
            resource_version: ::std::os::raw::c_int,
            resource_id: ::std::os::raw::c_int,
            resource: *mut *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set user logging function\n\n  By default the logger created by the CreateEnv* functions is used to create the session logger as well.\n  This function allows a user to override this default session logger with a logger of their own choosing. This way\n  the user doesn't have to create a separate environment with a custom logger. This addresses the problem when\n  the user already created an env but now wants to use a different logger for a specific session (for debugging or\n  other reasons).\n\n \\param[in] options\n \\param[in] user_logging_function A pointer to a logging function.\n \\param[in] user_logging_param A pointer to arbitrary data passed as the ::OrtLoggingFunction `param` parameter to\n                         `user_logging_function`. This parameter is optional.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value\n\n \\since Version 1.17."]
    pub SetUserLoggingFunction: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            user_logging_function: OrtLoggingFunction,
            user_logging_param: *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Get number of input from OrtShapeInferContext\n\n \\param[in] context\n \\param[out] out The number of inputs\n\n \\since Version 1.17."]
    pub ShapeInferContext_GetInputCount: ::std::option::Option<
        unsafe extern "C" fn(context: *const OrtShapeInferContext, out: *mut usize) -> OrtStatusPtr,
    >,
    #[doc = " Get type and shape info of an input\n\n \\param[in] context\n \\param[in] index The index of the input\n \\param[out] info Type shape info of the input\n\n \\since Version 1.17."]
    pub ShapeInferContext_GetInputTypeShape: ::std::option::Option<
        unsafe extern "C" fn(
            context: *const OrtShapeInferContext,
            index: usize,
            info: *mut *mut OrtTensorTypeAndShapeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Get attribute from OrtShapeInferContext. Note that OrtShapeInferContext is a per-node context, one could only read attribute from current node.\n\n \\param[in] context\n \\param[in] attr_name Name of the attribute\n \\param[out] attr Handle of the attribute fetched\n\n \\since Version 1.17."]
    pub ShapeInferContext_GetAttribute: ::std::option::Option<
        unsafe extern "C" fn(
            context: *const OrtShapeInferContext,
            attr_name: *const ::std::os::raw::c_char,
            attr: *mut *const OrtOpAttr,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Set type and shape info of an output\n\n \\param[in] context\n \\param[in] index The index of the output\n \\param[out] info Type shape info of the output\n\n \\since Version 1.17."]
    pub ShapeInferContext_SetOutputTypeShape: ::std::option::Option<
        unsafe extern "C" fn(
            context: *const OrtShapeInferContext,
            index: usize,
            info: *const OrtTensorTypeAndShapeInfo,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Set symbolic shape to type shape info\n\n \\param[in] info Type shape info\n \\param[in] dim_params Symbolic strings\n \\param[in] dim_params_length Number of strings\n\n \\since Version 1.17."]
    pub SetSymbolicDimensions: ::std::option::Option<
        unsafe extern "C" fn(
            info: *mut OrtTensorTypeAndShapeInfo,
            dim_params: *mut *const ::std::os::raw::c_char,
            dim_params_length: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " Read contents of an attribute to data\n\n \\param[in] op_attr\n \\param[in] type Attribute type\n \\param[out] data Memory address to save raw content of the attribute\n \\param[in] len Number of bytes allowed to store in data\n \\param[out] out Number of bytes required to save the data when the call failed, or the real number of bytes saved to data on success\n\n \\since Version 1.17."]
    pub ReadOpAttr: ::std::option::Option<
        unsafe extern "C" fn(
            op_attr: *const OrtOpAttr,
            type_: OrtOpAttrType,
            data: *mut ::std::os::raw::c_void,
            len: usize,
            out: *mut usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set whether to use deterministic compute.\n\n Default is false. If set to true, this will enable deterministic compute for GPU kernels where possible.\n Note that this most likely will have a performance cost.\n\n \\param[in] options\n \\param[in] value\n\n \\since Version 1.17."]
    pub SetDeterministicCompute: ::std::option::Option<
        unsafe extern "C" fn(options: *mut OrtSessionOptions, value: bool) -> OrtStatusPtr,
    >,
    #[doc = " Run fn in parallel\n\n \\param[in] context\n \\param[in] fn Function accepting usr_data and an integer as iterator\n \\param[in] total The number of times fn is to be invoked\n \\param[in] num_batch Number of batches by which the \"total\" is to be divided in maximum. When zero, there is no limit\n \\param[in] usr_data User data to be passed back to fn\n\n \\since Version 1.17."]
    pub KernelContext_ParallelFor: ::std::option::Option<
        unsafe extern "C" fn(
            context: *const OrtKernelContext,
            fn_: ::std::option::Option<
                unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void, arg2: usize),
            >,
            total: usize,
            num_batch: usize,
            usr_data: *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Append OpenVINO execution provider to the session options\n\n If OpenVINO is not available (due to a non OpenVINO enabled build, or if OpenVINO is not installed on the system), this function will fail.\n\n \\param[in] options\n \\param[in] provider_options_keys\n \\param[in] provider_options_values\n \\param[in] num_keys\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionOptionsAppendExecutionProvider_OpenVINO_V2: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            provider_options_keys: *const *const ::std::os::raw::c_char,
            provider_options_values: *const *const ::std::os::raw::c_char,
            num_keys: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Append VitisAI provider to session options\n\n If VitisAI is not available (due to a non VitisAI enabled build, or if VitisAI is not installed on the system), this function will return failure.\n\n \\param[in] options\n \\param[in] provider_options_keys\n \\param[in] provider_options_values\n \\param[in] num_keys\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SessionOptionsAppendExecutionProvider_VitisAI: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            provider_options_keys: *const *const ::std::os::raw::c_char,
            provider_options_values: *const *const ::std::os::raw::c_char,
            num_keys: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get scratch buffer from the corresponding allocator under the sepcific OrtMemoryInfo object.\n         NOTE: callers are responsible to release this scratch buffer from the corresponding allocator\n  \\param[in] context OrtKernelContext instance\n  \\param[in] mem_info OrtMemoryInfo instance\n  \\param[in] count_or_bytes How many bytes is this scratch buffer\n  \\param[out] out A pointer to the scrach buffer\n  \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub KernelContext_GetScratchBuffer: ::std::option::Option<
        unsafe extern "C" fn(
            context: *const OrtKernelContext,
            mem_info: *const OrtMemoryInfo,
            count_or_bytes: usize,
            out: *mut *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Get allocator from KernelInfo for a specific memory type. Please use C API ReleaseAllocator to release out object\n\n \\param[in] info OrtKernelInfo instance\n \\param[in] mem_type OrtMemType object\n \\param[out] out A pointer to OrtAllocator\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub KernelInfoGetAllocator: ::std::option::Option<
        unsafe extern "C" fn(
            info: *const OrtKernelInfo,
            mem_type: OrtMemType,
            out: *mut *mut OrtAllocator,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Replace initialized Tensors with external data with the provided files in memory\n\n The function will find the initialized TensorProtos with external data in the graph with the provided\n external file names and the file content in memory. The API gets the external file name, offset, data length\n from TensorProto, and locate the tensor data from the file in memory buffer.\n It creates a Tensor to replace the existing Tensor in graph. The replacement\n will occur before any of the optimizations take place. The data will be copied into the graph\n since TensorProto can't refer to the user provided buffers.\n\n \\param[in] options\n \\param[in] external_initializer_file_names Array of null terminated UTF-8 encoded strings of the file names\n            which holds the external initializers.\n \\param[in] external_initializer_file_buffer_array Array of pointers to the buffer of the file content.\n            The buffer can be freed after session creation.\n \\param[in] external_initializer_file_lengths Array of size_t to indicate the length of file content\n \\param[in] num_external_initializer_files Number of external files\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub AddExternalInitializersFromFilesInMemory: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtSessionOptions,
            external_initializer_file_names: *const *const wchar_t,
            external_initializer_file_buffer_array: *const *mut ::std::os::raw::c_char,
            external_initializer_file_lengths: *const usize,
            num_external_initializer_files: usize,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an OrtLoraAdapter\n\n The function attempts to locate file specified by adapter_file_path, read it and create an OrtLoraAdapter\n instance. The adapter_file_path should be a valid path to a file that contains a valid Lora Adapter\n format. The function attempts to validate the format at load time. The file will always be memory mapped, unless\n the platform does not support memory mapping, in which case the file will be read into memory.\n\n \\param[in] adapter_file_path adapter file path.\n \\param[in] allocator optional pointer to a device allocator. If specified\n            data is copied to the device at some point before Run() is invoked. If nullptr, data stays on CPU.\n            The data would still be copied to device if required by the model at inference time.\n \\param[out] out A pointer to a newly created OrtLoraAdapter instance. Must be released with\n                  OrtApi::ReleaseLoraAdapter.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateLoraAdapter: ::std::option::Option<
        unsafe extern "C" fn(
            adapter_file_path: *const wchar_t,
            allocator: *mut OrtAllocator,
            out: *mut *mut OrtLoraAdapter,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Create an OrtLoraAdapter\n\n The function copies the bytes from the array and creates an OrtLoraAdapter instance.\n\n\n \\param[in] bytes pointer to a valid Lora Adapter format buffer.\n \\param[in] num_bytes length of bytes buffer.\n \\param[in] allocator optional pointer to a device allocator. If specified\n            data is copied to the device at some point before Run() is invoked. If nullptr, data stays on CPU.\n            The data would still be copied to device if required by the model at inference time.\n \\param[out] out A pointer to a newly created OrtLoraAdapter instance. Must be released with\n                  OrtApi::ReleaseLoraAdapter.\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub CreateLoraAdapterFromArray: ::std::option::Option<
        unsafe extern "C" fn(
            bytes: *const ::std::os::raw::c_void,
            num_bytes: usize,
            allocator: *mut OrtAllocator,
            out: *mut *mut OrtLoraAdapter,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Release an ::OrtLoraAdapter obtained from OrtApi::CreateLoraAdapter"]
    pub ReleaseLoraAdapter: ::std::option::Option<unsafe extern "C" fn(input: *mut OrtLoraAdapter)>,
    #[doc = " \\brief Add the Lora Adapter to the list of active adapters.\n\n The function adds the Lora Adapter to the list of active adapters. The Lora Adapter must be created with\n OrtApi::CreateLoraAdapter or FromArray. The Lora Adapter will be used by the session to run the model.\n The instance of the OrtRunOptions can then be used to customize the Run() calls.\n More than one OrtLoraAdapter can be active at the same time. Lora Parameters that belong to different\n Lora adapters that will be active at the same time must not overlap.\n This setting does not affect RunWithBinding.\n\n \\param[in] options OrtRunOptions instance\n \\param[in] adapter OrtLoraAdapter instance\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub RunOptionsAddActiveLoraAdapter: ::std::option::Option<
        unsafe extern "C" fn(
            options: *mut OrtRunOptions,
            adapter: *const OrtLoraAdapter,
        ) -> OrtStatusPtr,
    >,
    #[doc = " \\brief Set DynamicOptions for EPs (Execution Providers)\n\n Valid options can be found in `include\\onnxruntime\\core\\session\\onnxruntime_session_options_config_keys.h`\n Look for `kOrtEpDynamicOptions`\n\n \\param[in] sess OrtSession\n \\param[in] keys Array of null terminated UTF8 encoded strings of EP dynamic option keys\n \\param[in] values Array of null terminated UTF8 encoded string of EP dynamic option values\n \\param[in] kv_len Number of elements in the keys and values arrays\n\n \\snippet{doc} snippets.dox OrtStatus Return Value"]
    pub SetEpDynamicOptions: ::std::option::Option<
        unsafe extern "C" fn(
            sess: *mut OrtSession,
            keys: *const *const ::std::os::raw::c_char,
            values: *const *const ::std::os::raw::c_char,
            kv_len: usize,
        ) -> OrtStatusPtr,
    >,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of OrtApi"][::std::mem::size_of::<OrtApi>() - 2280usize];
    ["Alignment of OrtApi"][::std::mem::align_of::<OrtApi>() - 8usize];
    ["Offset of field: OrtApi::CreateStatus"]
        [::std::mem::offset_of!(OrtApi, CreateStatus) - 0usize];
    ["Offset of field: OrtApi::GetErrorCode"]
        [::std::mem::offset_of!(OrtApi, GetErrorCode) - 8usize];
    ["Offset of field: OrtApi::GetErrorMessage"]
        [::std::mem::offset_of!(OrtApi, GetErrorMessage) - 16usize];
    ["Offset of field: OrtApi::CreateEnv"][::std::mem::offset_of!(OrtApi, CreateEnv) - 24usize];
    ["Offset of field: OrtApi::CreateEnvWithCustomLogger"]
        [::std::mem::offset_of!(OrtApi, CreateEnvWithCustomLogger) - 32usize];
    ["Offset of field: OrtApi::EnableTelemetryEvents"]
        [::std::mem::offset_of!(OrtApi, EnableTelemetryEvents) - 40usize];
    ["Offset of field: OrtApi::DisableTelemetryEvents"]
        [::std::mem::offset_of!(OrtApi, DisableTelemetryEvents) - 48usize];
    ["Offset of field: OrtApi::CreateSession"]
        [::std::mem::offset_of!(OrtApi, CreateSession) - 56usize];
    ["Offset of field: OrtApi::CreateSessionFromArray"]
        [::std::mem::offset_of!(OrtApi, CreateSessionFromArray) - 64usize];
    ["Offset of field: OrtApi::Run"][::std::mem::offset_of!(OrtApi, Run) - 72usize];
    ["Offset of field: OrtApi::CreateSessionOptions"]
        [::std::mem::offset_of!(OrtApi, CreateSessionOptions) - 80usize];
    ["Offset of field: OrtApi::SetOptimizedModelFilePath"]
        [::std::mem::offset_of!(OrtApi, SetOptimizedModelFilePath) - 88usize];
    ["Offset of field: OrtApi::CloneSessionOptions"]
        [::std::mem::offset_of!(OrtApi, CloneSessionOptions) - 96usize];
    ["Offset of field: OrtApi::SetSessionExecutionMode"]
        [::std::mem::offset_of!(OrtApi, SetSessionExecutionMode) - 104usize];
    ["Offset of field: OrtApi::EnableProfiling"]
        [::std::mem::offset_of!(OrtApi, EnableProfiling) - 112usize];
    ["Offset of field: OrtApi::DisableProfiling"]
        [::std::mem::offset_of!(OrtApi, DisableProfiling) - 120usize];
    ["Offset of field: OrtApi::EnableMemPattern"]
        [::std::mem::offset_of!(OrtApi, EnableMemPattern) - 128usize];
    ["Offset of field: OrtApi::DisableMemPattern"]
        [::std::mem::offset_of!(OrtApi, DisableMemPattern) - 136usize];
    ["Offset of field: OrtApi::EnableCpuMemArena"]
        [::std::mem::offset_of!(OrtApi, EnableCpuMemArena) - 144usize];
    ["Offset of field: OrtApi::DisableCpuMemArena"]
        [::std::mem::offset_of!(OrtApi, DisableCpuMemArena) - 152usize];
    ["Offset of field: OrtApi::SetSessionLogId"]
        [::std::mem::offset_of!(OrtApi, SetSessionLogId) - 160usize];
    ["Offset of field: OrtApi::SetSessionLogVerbosityLevel"]
        [::std::mem::offset_of!(OrtApi, SetSessionLogVerbosityLevel) - 168usize];
    ["Offset of field: OrtApi::SetSessionLogSeverityLevel"]
        [::std::mem::offset_of!(OrtApi, SetSessionLogSeverityLevel) - 176usize];
    ["Offset of field: OrtApi::SetSessionGraphOptimizationLevel"]
        [::std::mem::offset_of!(OrtApi, SetSessionGraphOptimizationLevel) - 184usize];
    ["Offset of field: OrtApi::SetIntraOpNumThreads"]
        [::std::mem::offset_of!(OrtApi, SetIntraOpNumThreads) - 192usize];
    ["Offset of field: OrtApi::SetInterOpNumThreads"]
        [::std::mem::offset_of!(OrtApi, SetInterOpNumThreads) - 200usize];
    ["Offset of field: OrtApi::CreateCustomOpDomain"]
        [::std::mem::offset_of!(OrtApi, CreateCustomOpDomain) - 208usize];
    ["Offset of field: OrtApi::CustomOpDomain_Add"]
        [::std::mem::offset_of!(OrtApi, CustomOpDomain_Add) - 216usize];
    ["Offset of field: OrtApi::AddCustomOpDomain"]
        [::std::mem::offset_of!(OrtApi, AddCustomOpDomain) - 224usize];
    ["Offset of field: OrtApi::RegisterCustomOpsLibrary"]
        [::std::mem::offset_of!(OrtApi, RegisterCustomOpsLibrary) - 232usize];
    ["Offset of field: OrtApi::SessionGetInputCount"]
        [::std::mem::offset_of!(OrtApi, SessionGetInputCount) - 240usize];
    ["Offset of field: OrtApi::SessionGetOutputCount"]
        [::std::mem::offset_of!(OrtApi, SessionGetOutputCount) - 248usize];
    ["Offset of field: OrtApi::SessionGetOverridableInitializerCount"]
        [::std::mem::offset_of!(OrtApi, SessionGetOverridableInitializerCount) - 256usize];
    ["Offset of field: OrtApi::SessionGetInputTypeInfo"]
        [::std::mem::offset_of!(OrtApi, SessionGetInputTypeInfo) - 264usize];
    ["Offset of field: OrtApi::SessionGetOutputTypeInfo"]
        [::std::mem::offset_of!(OrtApi, SessionGetOutputTypeInfo) - 272usize];
    ["Offset of field: OrtApi::SessionGetOverridableInitializerTypeInfo"]
        [::std::mem::offset_of!(OrtApi, SessionGetOverridableInitializerTypeInfo) - 280usize];
    ["Offset of field: OrtApi::SessionGetInputName"]
        [::std::mem::offset_of!(OrtApi, SessionGetInputName) - 288usize];
    ["Offset of field: OrtApi::SessionGetOutputName"]
        [::std::mem::offset_of!(OrtApi, SessionGetOutputName) - 296usize];
    ["Offset of field: OrtApi::SessionGetOverridableInitializerName"]
        [::std::mem::offset_of!(OrtApi, SessionGetOverridableInitializerName) - 304usize];
    ["Offset of field: OrtApi::CreateRunOptions"]
        [::std::mem::offset_of!(OrtApi, CreateRunOptions) - 312usize];
    ["Offset of field: OrtApi::RunOptionsSetRunLogVerbosityLevel"]
        [::std::mem::offset_of!(OrtApi, RunOptionsSetRunLogVerbosityLevel) - 320usize];
    ["Offset of field: OrtApi::RunOptionsSetRunLogSeverityLevel"]
        [::std::mem::offset_of!(OrtApi, RunOptionsSetRunLogSeverityLevel) - 328usize];
    ["Offset of field: OrtApi::RunOptionsSetRunTag"]
        [::std::mem::offset_of!(OrtApi, RunOptionsSetRunTag) - 336usize];
    ["Offset of field: OrtApi::RunOptionsGetRunLogVerbosityLevel"]
        [::std::mem::offset_of!(OrtApi, RunOptionsGetRunLogVerbosityLevel) - 344usize];
    ["Offset of field: OrtApi::RunOptionsGetRunLogSeverityLevel"]
        [::std::mem::offset_of!(OrtApi, RunOptionsGetRunLogSeverityLevel) - 352usize];
    ["Offset of field: OrtApi::RunOptionsGetRunTag"]
        [::std::mem::offset_of!(OrtApi, RunOptionsGetRunTag) - 360usize];
    ["Offset of field: OrtApi::RunOptionsSetTerminate"]
        [::std::mem::offset_of!(OrtApi, RunOptionsSetTerminate) - 368usize];
    ["Offset of field: OrtApi::RunOptionsUnsetTerminate"]
        [::std::mem::offset_of!(OrtApi, RunOptionsUnsetTerminate) - 376usize];
    ["Offset of field: OrtApi::CreateTensorAsOrtValue"]
        [::std::mem::offset_of!(OrtApi, CreateTensorAsOrtValue) - 384usize];
    ["Offset of field: OrtApi::CreateTensorWithDataAsOrtValue"]
        [::std::mem::offset_of!(OrtApi, CreateTensorWithDataAsOrtValue) - 392usize];
    ["Offset of field: OrtApi::IsTensor"][::std::mem::offset_of!(OrtApi, IsTensor) - 400usize];
    ["Offset of field: OrtApi::GetTensorMutableData"]
        [::std::mem::offset_of!(OrtApi, GetTensorMutableData) - 408usize];
    ["Offset of field: OrtApi::FillStringTensor"]
        [::std::mem::offset_of!(OrtApi, FillStringTensor) - 416usize];
    ["Offset of field: OrtApi::GetStringTensorDataLength"]
        [::std::mem::offset_of!(OrtApi, GetStringTensorDataLength) - 424usize];
    ["Offset of field: OrtApi::GetStringTensorContent"]
        [::std::mem::offset_of!(OrtApi, GetStringTensorContent) - 432usize];
    ["Offset of field: OrtApi::CastTypeInfoToTensorInfo"]
        [::std::mem::offset_of!(OrtApi, CastTypeInfoToTensorInfo) - 440usize];
    ["Offset of field: OrtApi::GetOnnxTypeFromTypeInfo"]
        [::std::mem::offset_of!(OrtApi, GetOnnxTypeFromTypeInfo) - 448usize];
    ["Offset of field: OrtApi::CreateTensorTypeAndShapeInfo"]
        [::std::mem::offset_of!(OrtApi, CreateTensorTypeAndShapeInfo) - 456usize];
    ["Offset of field: OrtApi::SetTensorElementType"]
        [::std::mem::offset_of!(OrtApi, SetTensorElementType) - 464usize];
    ["Offset of field: OrtApi::SetDimensions"]
        [::std::mem::offset_of!(OrtApi, SetDimensions) - 472usize];
    ["Offset of field: OrtApi::GetTensorElementType"]
        [::std::mem::offset_of!(OrtApi, GetTensorElementType) - 480usize];
    ["Offset of field: OrtApi::GetDimensionsCount"]
        [::std::mem::offset_of!(OrtApi, GetDimensionsCount) - 488usize];
    ["Offset of field: OrtApi::GetDimensions"]
        [::std::mem::offset_of!(OrtApi, GetDimensions) - 496usize];
    ["Offset of field: OrtApi::GetSymbolicDimensions"]
        [::std::mem::offset_of!(OrtApi, GetSymbolicDimensions) - 504usize];
    ["Offset of field: OrtApi::GetTensorShapeElementCount"]
        [::std::mem::offset_of!(OrtApi, GetTensorShapeElementCount) - 512usize];
    ["Offset of field: OrtApi::GetTensorTypeAndShape"]
        [::std::mem::offset_of!(OrtApi, GetTensorTypeAndShape) - 520usize];
    ["Offset of field: OrtApi::GetTypeInfo"]
        [::std::mem::offset_of!(OrtApi, GetTypeInfo) - 528usize];
    ["Offset of field: OrtApi::GetValueType"]
        [::std::mem::offset_of!(OrtApi, GetValueType) - 536usize];
    ["Offset of field: OrtApi::CreateMemoryInfo"]
        [::std::mem::offset_of!(OrtApi, CreateMemoryInfo) - 544usize];
    ["Offset of field: OrtApi::CreateCpuMemoryInfo"]
        [::std::mem::offset_of!(OrtApi, CreateCpuMemoryInfo) - 552usize];
    ["Offset of field: OrtApi::CompareMemoryInfo"]
        [::std::mem::offset_of!(OrtApi, CompareMemoryInfo) - 560usize];
    ["Offset of field: OrtApi::MemoryInfoGetName"]
        [::std::mem::offset_of!(OrtApi, MemoryInfoGetName) - 568usize];
    ["Offset of field: OrtApi::MemoryInfoGetId"]
        [::std::mem::offset_of!(OrtApi, MemoryInfoGetId) - 576usize];
    ["Offset of field: OrtApi::MemoryInfoGetMemType"]
        [::std::mem::offset_of!(OrtApi, MemoryInfoGetMemType) - 584usize];
    ["Offset of field: OrtApi::MemoryInfoGetType"]
        [::std::mem::offset_of!(OrtApi, MemoryInfoGetType) - 592usize];
    ["Offset of field: OrtApi::AllocatorAlloc"]
        [::std::mem::offset_of!(OrtApi, AllocatorAlloc) - 600usize];
    ["Offset of field: OrtApi::AllocatorFree"]
        [::std::mem::offset_of!(OrtApi, AllocatorFree) - 608usize];
    ["Offset of field: OrtApi::AllocatorGetInfo"]
        [::std::mem::offset_of!(OrtApi, AllocatorGetInfo) - 616usize];
    ["Offset of field: OrtApi::GetAllocatorWithDefaultOptions"]
        [::std::mem::offset_of!(OrtApi, GetAllocatorWithDefaultOptions) - 624usize];
    ["Offset of field: OrtApi::AddFreeDimensionOverride"]
        [::std::mem::offset_of!(OrtApi, AddFreeDimensionOverride) - 632usize];
    ["Offset of field: OrtApi::GetValue"][::std::mem::offset_of!(OrtApi, GetValue) - 640usize];
    ["Offset of field: OrtApi::GetValueCount"]
        [::std::mem::offset_of!(OrtApi, GetValueCount) - 648usize];
    ["Offset of field: OrtApi::CreateValue"]
        [::std::mem::offset_of!(OrtApi, CreateValue) - 656usize];
    ["Offset of field: OrtApi::CreateOpaqueValue"]
        [::std::mem::offset_of!(OrtApi, CreateOpaqueValue) - 664usize];
    ["Offset of field: OrtApi::GetOpaqueValue"]
        [::std::mem::offset_of!(OrtApi, GetOpaqueValue) - 672usize];
    ["Offset of field: OrtApi::KernelInfoGetAttribute_float"]
        [::std::mem::offset_of!(OrtApi, KernelInfoGetAttribute_float) - 680usize];
    ["Offset of field: OrtApi::KernelInfoGetAttribute_int64"]
        [::std::mem::offset_of!(OrtApi, KernelInfoGetAttribute_int64) - 688usize];
    ["Offset of field: OrtApi::KernelInfoGetAttribute_string"]
        [::std::mem::offset_of!(OrtApi, KernelInfoGetAttribute_string) - 696usize];
    ["Offset of field: OrtApi::KernelContext_GetInputCount"]
        [::std::mem::offset_of!(OrtApi, KernelContext_GetInputCount) - 704usize];
    ["Offset of field: OrtApi::KernelContext_GetOutputCount"]
        [::std::mem::offset_of!(OrtApi, KernelContext_GetOutputCount) - 712usize];
    ["Offset of field: OrtApi::KernelContext_GetInput"]
        [::std::mem::offset_of!(OrtApi, KernelContext_GetInput) - 720usize];
    ["Offset of field: OrtApi::KernelContext_GetOutput"]
        [::std::mem::offset_of!(OrtApi, KernelContext_GetOutput) - 728usize];
    ["Offset of field: OrtApi::ReleaseEnv"][::std::mem::offset_of!(OrtApi, ReleaseEnv) - 736usize];
    ["Offset of field: OrtApi::ReleaseStatus"]
        [::std::mem::offset_of!(OrtApi, ReleaseStatus) - 744usize];
    ["Offset of field: OrtApi::ReleaseMemoryInfo"]
        [::std::mem::offset_of!(OrtApi, ReleaseMemoryInfo) - 752usize];
    ["Offset of field: OrtApi::ReleaseSession"]
        [::std::mem::offset_of!(OrtApi, ReleaseSession) - 760usize];
    ["Offset of field: OrtApi::ReleaseValue"]
        [::std::mem::offset_of!(OrtApi, ReleaseValue) - 768usize];
    ["Offset of field: OrtApi::ReleaseRunOptions"]
        [::std::mem::offset_of!(OrtApi, ReleaseRunOptions) - 776usize];
    ["Offset of field: OrtApi::ReleaseTypeInfo"]
        [::std::mem::offset_of!(OrtApi, ReleaseTypeInfo) - 784usize];
    ["Offset of field: OrtApi::ReleaseTensorTypeAndShapeInfo"]
        [::std::mem::offset_of!(OrtApi, ReleaseTensorTypeAndShapeInfo) - 792usize];
    ["Offset of field: OrtApi::ReleaseSessionOptions"]
        [::std::mem::offset_of!(OrtApi, ReleaseSessionOptions) - 800usize];
    ["Offset of field: OrtApi::ReleaseCustomOpDomain"]
        [::std::mem::offset_of!(OrtApi, ReleaseCustomOpDomain) - 808usize];
    ["Offset of field: OrtApi::GetDenotationFromTypeInfo"]
        [::std::mem::offset_of!(OrtApi, GetDenotationFromTypeInfo) - 816usize];
    ["Offset of field: OrtApi::CastTypeInfoToMapTypeInfo"]
        [::std::mem::offset_of!(OrtApi, CastTypeInfoToMapTypeInfo) - 824usize];
    ["Offset of field: OrtApi::CastTypeInfoToSequenceTypeInfo"]
        [::std::mem::offset_of!(OrtApi, CastTypeInfoToSequenceTypeInfo) - 832usize];
    ["Offset of field: OrtApi::GetMapKeyType"]
        [::std::mem::offset_of!(OrtApi, GetMapKeyType) - 840usize];
    ["Offset of field: OrtApi::GetMapValueType"]
        [::std::mem::offset_of!(OrtApi, GetMapValueType) - 848usize];
    ["Offset of field: OrtApi::GetSequenceElementType"]
        [::std::mem::offset_of!(OrtApi, GetSequenceElementType) - 856usize];
    ["Offset of field: OrtApi::ReleaseMapTypeInfo"]
        [::std::mem::offset_of!(OrtApi, ReleaseMapTypeInfo) - 864usize];
    ["Offset of field: OrtApi::ReleaseSequenceTypeInfo"]
        [::std::mem::offset_of!(OrtApi, ReleaseSequenceTypeInfo) - 872usize];
    ["Offset of field: OrtApi::SessionEndProfiling"]
        [::std::mem::offset_of!(OrtApi, SessionEndProfiling) - 880usize];
    ["Offset of field: OrtApi::SessionGetModelMetadata"]
        [::std::mem::offset_of!(OrtApi, SessionGetModelMetadata) - 888usize];
    ["Offset of field: OrtApi::ModelMetadataGetProducerName"]
        [::std::mem::offset_of!(OrtApi, ModelMetadataGetProducerName) - 896usize];
    ["Offset of field: OrtApi::ModelMetadataGetGraphName"]
        [::std::mem::offset_of!(OrtApi, ModelMetadataGetGraphName) - 904usize];
    ["Offset of field: OrtApi::ModelMetadataGetDomain"]
        [::std::mem::offset_of!(OrtApi, ModelMetadataGetDomain) - 912usize];
    ["Offset of field: OrtApi::ModelMetadataGetDescription"]
        [::std::mem::offset_of!(OrtApi, ModelMetadataGetDescription) - 920usize];
    ["Offset of field: OrtApi::ModelMetadataLookupCustomMetadataMap"]
        [::std::mem::offset_of!(OrtApi, ModelMetadataLookupCustomMetadataMap) - 928usize];
    ["Offset of field: OrtApi::ModelMetadataGetVersion"]
        [::std::mem::offset_of!(OrtApi, ModelMetadataGetVersion) - 936usize];
    ["Offset of field: OrtApi::ReleaseModelMetadata"]
        [::std::mem::offset_of!(OrtApi, ReleaseModelMetadata) - 944usize];
    ["Offset of field: OrtApi::CreateEnvWithGlobalThreadPools"]
        [::std::mem::offset_of!(OrtApi, CreateEnvWithGlobalThreadPools) - 952usize];
    ["Offset of field: OrtApi::DisablePerSessionThreads"]
        [::std::mem::offset_of!(OrtApi, DisablePerSessionThreads) - 960usize];
    ["Offset of field: OrtApi::CreateThreadingOptions"]
        [::std::mem::offset_of!(OrtApi, CreateThreadingOptions) - 968usize];
    ["Offset of field: OrtApi::ReleaseThreadingOptions"]
        [::std::mem::offset_of!(OrtApi, ReleaseThreadingOptions) - 976usize];
    ["Offset of field: OrtApi::ModelMetadataGetCustomMetadataMapKeys"]
        [::std::mem::offset_of!(OrtApi, ModelMetadataGetCustomMetadataMapKeys) - 984usize];
    ["Offset of field: OrtApi::AddFreeDimensionOverrideByName"]
        [::std::mem::offset_of!(OrtApi, AddFreeDimensionOverrideByName) - 992usize];
    ["Offset of field: OrtApi::GetAvailableProviders"]
        [::std::mem::offset_of!(OrtApi, GetAvailableProviders) - 1000usize];
    ["Offset of field: OrtApi::ReleaseAvailableProviders"]
        [::std::mem::offset_of!(OrtApi, ReleaseAvailableProviders) - 1008usize];
    ["Offset of field: OrtApi::GetStringTensorElementLength"]
        [::std::mem::offset_of!(OrtApi, GetStringTensorElementLength) - 1016usize];
    ["Offset of field: OrtApi::GetStringTensorElement"]
        [::std::mem::offset_of!(OrtApi, GetStringTensorElement) - 1024usize];
    ["Offset of field: OrtApi::FillStringTensorElement"]
        [::std::mem::offset_of!(OrtApi, FillStringTensorElement) - 1032usize];
    ["Offset of field: OrtApi::AddSessionConfigEntry"]
        [::std::mem::offset_of!(OrtApi, AddSessionConfigEntry) - 1040usize];
    ["Offset of field: OrtApi::CreateAllocator"]
        [::std::mem::offset_of!(OrtApi, CreateAllocator) - 1048usize];
    ["Offset of field: OrtApi::ReleaseAllocator"]
        [::std::mem::offset_of!(OrtApi, ReleaseAllocator) - 1056usize];
    ["Offset of field: OrtApi::RunWithBinding"]
        [::std::mem::offset_of!(OrtApi, RunWithBinding) - 1064usize];
    ["Offset of field: OrtApi::CreateIoBinding"]
        [::std::mem::offset_of!(OrtApi, CreateIoBinding) - 1072usize];
    ["Offset of field: OrtApi::ReleaseIoBinding"]
        [::std::mem::offset_of!(OrtApi, ReleaseIoBinding) - 1080usize];
    ["Offset of field: OrtApi::BindInput"][::std::mem::offset_of!(OrtApi, BindInput) - 1088usize];
    ["Offset of field: OrtApi::BindOutput"][::std::mem::offset_of!(OrtApi, BindOutput) - 1096usize];
    ["Offset of field: OrtApi::BindOutputToDevice"]
        [::std::mem::offset_of!(OrtApi, BindOutputToDevice) - 1104usize];
    ["Offset of field: OrtApi::GetBoundOutputNames"]
        [::std::mem::offset_of!(OrtApi, GetBoundOutputNames) - 1112usize];
    ["Offset of field: OrtApi::GetBoundOutputValues"]
        [::std::mem::offset_of!(OrtApi, GetBoundOutputValues) - 1120usize];
    ["Offset of field: OrtApi::ClearBoundInputs"]
        [::std::mem::offset_of!(OrtApi, ClearBoundInputs) - 1128usize];
    ["Offset of field: OrtApi::ClearBoundOutputs"]
        [::std::mem::offset_of!(OrtApi, ClearBoundOutputs) - 1136usize];
    ["Offset of field: OrtApi::TensorAt"][::std::mem::offset_of!(OrtApi, TensorAt) - 1144usize];
    ["Offset of field: OrtApi::CreateAndRegisterAllocator"]
        [::std::mem::offset_of!(OrtApi, CreateAndRegisterAllocator) - 1152usize];
    ["Offset of field: OrtApi::SetLanguageProjection"]
        [::std::mem::offset_of!(OrtApi, SetLanguageProjection) - 1160usize];
    ["Offset of field: OrtApi::SessionGetProfilingStartTimeNs"]
        [::std::mem::offset_of!(OrtApi, SessionGetProfilingStartTimeNs) - 1168usize];
    ["Offset of field: OrtApi::SetGlobalIntraOpNumThreads"]
        [::std::mem::offset_of!(OrtApi, SetGlobalIntraOpNumThreads) - 1176usize];
    ["Offset of field: OrtApi::SetGlobalInterOpNumThreads"]
        [::std::mem::offset_of!(OrtApi, SetGlobalInterOpNumThreads) - 1184usize];
    ["Offset of field: OrtApi::SetGlobalSpinControl"]
        [::std::mem::offset_of!(OrtApi, SetGlobalSpinControl) - 1192usize];
    ["Offset of field: OrtApi::AddInitializer"]
        [::std::mem::offset_of!(OrtApi, AddInitializer) - 1200usize];
    ["Offset of field: OrtApi::CreateEnvWithCustomLoggerAndGlobalThreadPools"]
        [::std::mem::offset_of!(OrtApi, CreateEnvWithCustomLoggerAndGlobalThreadPools) - 1208usize];
    ["Offset of field: OrtApi::SessionOptionsAppendExecutionProvider_CUDA"]
        [::std::mem::offset_of!(OrtApi, SessionOptionsAppendExecutionProvider_CUDA) - 1216usize];
    ["Offset of field: OrtApi::SessionOptionsAppendExecutionProvider_ROCM"]
        [::std::mem::offset_of!(OrtApi, SessionOptionsAppendExecutionProvider_ROCM) - 1224usize];
    ["Offset of field: OrtApi::SessionOptionsAppendExecutionProvider_OpenVINO"][::std::mem::offset_of!(
        OrtApi,
        SessionOptionsAppendExecutionProvider_OpenVINO
    ) - 1232usize];
    ["Offset of field: OrtApi::SetGlobalDenormalAsZero"]
        [::std::mem::offset_of!(OrtApi, SetGlobalDenormalAsZero) - 1240usize];
    ["Offset of field: OrtApi::CreateArenaCfg"]
        [::std::mem::offset_of!(OrtApi, CreateArenaCfg) - 1248usize];
    ["Offset of field: OrtApi::ReleaseArenaCfg"]
        [::std::mem::offset_of!(OrtApi, ReleaseArenaCfg) - 1256usize];
    ["Offset of field: OrtApi::ModelMetadataGetGraphDescription"]
        [::std::mem::offset_of!(OrtApi, ModelMetadataGetGraphDescription) - 1264usize];
    ["Offset of field: OrtApi::SessionOptionsAppendExecutionProvider_TensorRT"][::std::mem::offset_of!(
        OrtApi,
        SessionOptionsAppendExecutionProvider_TensorRT
    ) - 1272usize];
    ["Offset of field: OrtApi::SetCurrentGpuDeviceId"]
        [::std::mem::offset_of!(OrtApi, SetCurrentGpuDeviceId) - 1280usize];
    ["Offset of field: OrtApi::GetCurrentGpuDeviceId"]
        [::std::mem::offset_of!(OrtApi, GetCurrentGpuDeviceId) - 1288usize];
    ["Offset of field: OrtApi::KernelInfoGetAttributeArray_float"]
        [::std::mem::offset_of!(OrtApi, KernelInfoGetAttributeArray_float) - 1296usize];
    ["Offset of field: OrtApi::KernelInfoGetAttributeArray_int64"]
        [::std::mem::offset_of!(OrtApi, KernelInfoGetAttributeArray_int64) - 1304usize];
    ["Offset of field: OrtApi::CreateArenaCfgV2"]
        [::std::mem::offset_of!(OrtApi, CreateArenaCfgV2) - 1312usize];
    ["Offset of field: OrtApi::AddRunConfigEntry"]
        [::std::mem::offset_of!(OrtApi, AddRunConfigEntry) - 1320usize];
    ["Offset of field: OrtApi::CreatePrepackedWeightsContainer"]
        [::std::mem::offset_of!(OrtApi, CreatePrepackedWeightsContainer) - 1328usize];
    ["Offset of field: OrtApi::ReleasePrepackedWeightsContainer"]
        [::std::mem::offset_of!(OrtApi, ReleasePrepackedWeightsContainer) - 1336usize];
    ["Offset of field: OrtApi::CreateSessionWithPrepackedWeightsContainer"]
        [::std::mem::offset_of!(OrtApi, CreateSessionWithPrepackedWeightsContainer) - 1344usize];
    ["Offset of field: OrtApi::CreateSessionFromArrayWithPrepackedWeightsContainer"][::std::mem::offset_of!(
        OrtApi,
        CreateSessionFromArrayWithPrepackedWeightsContainer
    ) - 1352usize];
    ["Offset of field: OrtApi::SessionOptionsAppendExecutionProvider_TensorRT_V2"][::std::mem::offset_of!(
        OrtApi,
        SessionOptionsAppendExecutionProvider_TensorRT_V2
    ) - 1360usize];
    ["Offset of field: OrtApi::CreateTensorRTProviderOptions"]
        [::std::mem::offset_of!(OrtApi, CreateTensorRTProviderOptions) - 1368usize];
    ["Offset of field: OrtApi::UpdateTensorRTProviderOptions"]
        [::std::mem::offset_of!(OrtApi, UpdateTensorRTProviderOptions) - 1376usize];
    ["Offset of field: OrtApi::GetTensorRTProviderOptionsAsString"]
        [::std::mem::offset_of!(OrtApi, GetTensorRTProviderOptionsAsString) - 1384usize];
    ["Offset of field: OrtApi::ReleaseTensorRTProviderOptions"]
        [::std::mem::offset_of!(OrtApi, ReleaseTensorRTProviderOptions) - 1392usize];
    ["Offset of field: OrtApi::EnableOrtCustomOps"]
        [::std::mem::offset_of!(OrtApi, EnableOrtCustomOps) - 1400usize];
    ["Offset of field: OrtApi::RegisterAllocator"]
        [::std::mem::offset_of!(OrtApi, RegisterAllocator) - 1408usize];
    ["Offset of field: OrtApi::UnregisterAllocator"]
        [::std::mem::offset_of!(OrtApi, UnregisterAllocator) - 1416usize];
    ["Offset of field: OrtApi::IsSparseTensor"]
        [::std::mem::offset_of!(OrtApi, IsSparseTensor) - 1424usize];
    ["Offset of field: OrtApi::CreateSparseTensorAsOrtValue"]
        [::std::mem::offset_of!(OrtApi, CreateSparseTensorAsOrtValue) - 1432usize];
    ["Offset of field: OrtApi::FillSparseTensorCoo"]
        [::std::mem::offset_of!(OrtApi, FillSparseTensorCoo) - 1440usize];
    ["Offset of field: OrtApi::FillSparseTensorCsr"]
        [::std::mem::offset_of!(OrtApi, FillSparseTensorCsr) - 1448usize];
    ["Offset of field: OrtApi::FillSparseTensorBlockSparse"]
        [::std::mem::offset_of!(OrtApi, FillSparseTensorBlockSparse) - 1456usize];
    ["Offset of field: OrtApi::CreateSparseTensorWithValuesAsOrtValue"]
        [::std::mem::offset_of!(OrtApi, CreateSparseTensorWithValuesAsOrtValue) - 1464usize];
    ["Offset of field: OrtApi::UseCooIndices"]
        [::std::mem::offset_of!(OrtApi, UseCooIndices) - 1472usize];
    ["Offset of field: OrtApi::UseCsrIndices"]
        [::std::mem::offset_of!(OrtApi, UseCsrIndices) - 1480usize];
    ["Offset of field: OrtApi::UseBlockSparseIndices"]
        [::std::mem::offset_of!(OrtApi, UseBlockSparseIndices) - 1488usize];
    ["Offset of field: OrtApi::GetSparseTensorFormat"]
        [::std::mem::offset_of!(OrtApi, GetSparseTensorFormat) - 1496usize];
    ["Offset of field: OrtApi::GetSparseTensorValuesTypeAndShape"]
        [::std::mem::offset_of!(OrtApi, GetSparseTensorValuesTypeAndShape) - 1504usize];
    ["Offset of field: OrtApi::GetSparseTensorValues"]
        [::std::mem::offset_of!(OrtApi, GetSparseTensorValues) - 1512usize];
    ["Offset of field: OrtApi::GetSparseTensorIndicesTypeShape"]
        [::std::mem::offset_of!(OrtApi, GetSparseTensorIndicesTypeShape) - 1520usize];
    ["Offset of field: OrtApi::GetSparseTensorIndices"]
        [::std::mem::offset_of!(OrtApi, GetSparseTensorIndices) - 1528usize];
    ["Offset of field: OrtApi::HasValue"][::std::mem::offset_of!(OrtApi, HasValue) - 1536usize];
    ["Offset of field: OrtApi::KernelContext_GetGPUComputeStream"]
        [::std::mem::offset_of!(OrtApi, KernelContext_GetGPUComputeStream) - 1544usize];
    ["Offset of field: OrtApi::GetTensorMemoryInfo"]
        [::std::mem::offset_of!(OrtApi, GetTensorMemoryInfo) - 1552usize];
    ["Offset of field: OrtApi::GetExecutionProviderApi"]
        [::std::mem::offset_of!(OrtApi, GetExecutionProviderApi) - 1560usize];
    ["Offset of field: OrtApi::SessionOptionsSetCustomCreateThreadFn"]
        [::std::mem::offset_of!(OrtApi, SessionOptionsSetCustomCreateThreadFn) - 1568usize];
    ["Offset of field: OrtApi::SessionOptionsSetCustomThreadCreationOptions"]
        [::std::mem::offset_of!(OrtApi, SessionOptionsSetCustomThreadCreationOptions) - 1576usize];
    ["Offset of field: OrtApi::SessionOptionsSetCustomJoinThreadFn"]
        [::std::mem::offset_of!(OrtApi, SessionOptionsSetCustomJoinThreadFn) - 1584usize];
    ["Offset of field: OrtApi::SetGlobalCustomCreateThreadFn"]
        [::std::mem::offset_of!(OrtApi, SetGlobalCustomCreateThreadFn) - 1592usize];
    ["Offset of field: OrtApi::SetGlobalCustomThreadCreationOptions"]
        [::std::mem::offset_of!(OrtApi, SetGlobalCustomThreadCreationOptions) - 1600usize];
    ["Offset of field: OrtApi::SetGlobalCustomJoinThreadFn"]
        [::std::mem::offset_of!(OrtApi, SetGlobalCustomJoinThreadFn) - 1608usize];
    ["Offset of field: OrtApi::SynchronizeBoundInputs"]
        [::std::mem::offset_of!(OrtApi, SynchronizeBoundInputs) - 1616usize];
    ["Offset of field: OrtApi::SynchronizeBoundOutputs"]
        [::std::mem::offset_of!(OrtApi, SynchronizeBoundOutputs) - 1624usize];
    ["Offset of field: OrtApi::SessionOptionsAppendExecutionProvider_CUDA_V2"]
        [::std::mem::offset_of!(OrtApi, SessionOptionsAppendExecutionProvider_CUDA_V2) - 1632usize];
    ["Offset of field: OrtApi::CreateCUDAProviderOptions"]
        [::std::mem::offset_of!(OrtApi, CreateCUDAProviderOptions) - 1640usize];
    ["Offset of field: OrtApi::UpdateCUDAProviderOptions"]
        [::std::mem::offset_of!(OrtApi, UpdateCUDAProviderOptions) - 1648usize];
    ["Offset of field: OrtApi::GetCUDAProviderOptionsAsString"]
        [::std::mem::offset_of!(OrtApi, GetCUDAProviderOptionsAsString) - 1656usize];
    ["Offset of field: OrtApi::ReleaseCUDAProviderOptions"]
        [::std::mem::offset_of!(OrtApi, ReleaseCUDAProviderOptions) - 1664usize];
    ["Offset of field: OrtApi::SessionOptionsAppendExecutionProvider_MIGraphX"][::std::mem::offset_of!(
        OrtApi,
        SessionOptionsAppendExecutionProvider_MIGraphX
    ) - 1672usize];
    ["Offset of field: OrtApi::AddExternalInitializers"]
        [::std::mem::offset_of!(OrtApi, AddExternalInitializers) - 1680usize];
    ["Offset of field: OrtApi::CreateOpAttr"]
        [::std::mem::offset_of!(OrtApi, CreateOpAttr) - 1688usize];
    ["Offset of field: OrtApi::ReleaseOpAttr"]
        [::std::mem::offset_of!(OrtApi, ReleaseOpAttr) - 1696usize];
    ["Offset of field: OrtApi::CreateOp"][::std::mem::offset_of!(OrtApi, CreateOp) - 1704usize];
    ["Offset of field: OrtApi::InvokeOp"][::std::mem::offset_of!(OrtApi, InvokeOp) - 1712usize];
    ["Offset of field: OrtApi::ReleaseOp"][::std::mem::offset_of!(OrtApi, ReleaseOp) - 1720usize];
    ["Offset of field: OrtApi::SessionOptionsAppendExecutionProvider"]
        [::std::mem::offset_of!(OrtApi, SessionOptionsAppendExecutionProvider) - 1728usize];
    ["Offset of field: OrtApi::CopyKernelInfo"]
        [::std::mem::offset_of!(OrtApi, CopyKernelInfo) - 1736usize];
    ["Offset of field: OrtApi::ReleaseKernelInfo"]
        [::std::mem::offset_of!(OrtApi, ReleaseKernelInfo) - 1744usize];
    ["Offset of field: OrtApi::GetTrainingApi"]
        [::std::mem::offset_of!(OrtApi, GetTrainingApi) - 1752usize];
    ["Offset of field: OrtApi::SessionOptionsAppendExecutionProvider_CANN"]
        [::std::mem::offset_of!(OrtApi, SessionOptionsAppendExecutionProvider_CANN) - 1760usize];
    ["Offset of field: OrtApi::CreateCANNProviderOptions"]
        [::std::mem::offset_of!(OrtApi, CreateCANNProviderOptions) - 1768usize];
    ["Offset of field: OrtApi::UpdateCANNProviderOptions"]
        [::std::mem::offset_of!(OrtApi, UpdateCANNProviderOptions) - 1776usize];
    ["Offset of field: OrtApi::GetCANNProviderOptionsAsString"]
        [::std::mem::offset_of!(OrtApi, GetCANNProviderOptionsAsString) - 1784usize];
    ["Offset of field: OrtApi::ReleaseCANNProviderOptions"]
        [::std::mem::offset_of!(OrtApi, ReleaseCANNProviderOptions) - 1792usize];
    ["Offset of field: OrtApi::MemoryInfoGetDeviceType"]
        [::std::mem::offset_of!(OrtApi, MemoryInfoGetDeviceType) - 1800usize];
    ["Offset of field: OrtApi::UpdateEnvWithCustomLogLevel"]
        [::std::mem::offset_of!(OrtApi, UpdateEnvWithCustomLogLevel) - 1808usize];
    ["Offset of field: OrtApi::SetGlobalIntraOpThreadAffinity"]
        [::std::mem::offset_of!(OrtApi, SetGlobalIntraOpThreadAffinity) - 1816usize];
    ["Offset of field: OrtApi::RegisterCustomOpsLibrary_V2"]
        [::std::mem::offset_of!(OrtApi, RegisterCustomOpsLibrary_V2) - 1824usize];
    ["Offset of field: OrtApi::RegisterCustomOpsUsingFunction"]
        [::std::mem::offset_of!(OrtApi, RegisterCustomOpsUsingFunction) - 1832usize];
    ["Offset of field: OrtApi::KernelInfo_GetInputCount"]
        [::std::mem::offset_of!(OrtApi, KernelInfo_GetInputCount) - 1840usize];
    ["Offset of field: OrtApi::KernelInfo_GetOutputCount"]
        [::std::mem::offset_of!(OrtApi, KernelInfo_GetOutputCount) - 1848usize];
    ["Offset of field: OrtApi::KernelInfo_GetInputName"]
        [::std::mem::offset_of!(OrtApi, KernelInfo_GetInputName) - 1856usize];
    ["Offset of field: OrtApi::KernelInfo_GetOutputName"]
        [::std::mem::offset_of!(OrtApi, KernelInfo_GetOutputName) - 1864usize];
    ["Offset of field: OrtApi::KernelInfo_GetInputTypeInfo"]
        [::std::mem::offset_of!(OrtApi, KernelInfo_GetInputTypeInfo) - 1872usize];
    ["Offset of field: OrtApi::KernelInfo_GetOutputTypeInfo"]
        [::std::mem::offset_of!(OrtApi, KernelInfo_GetOutputTypeInfo) - 1880usize];
    ["Offset of field: OrtApi::KernelInfoGetAttribute_tensor"]
        [::std::mem::offset_of!(OrtApi, KernelInfoGetAttribute_tensor) - 1888usize];
    ["Offset of field: OrtApi::HasSessionConfigEntry"]
        [::std::mem::offset_of!(OrtApi, HasSessionConfigEntry) - 1896usize];
    ["Offset of field: OrtApi::GetSessionConfigEntry"]
        [::std::mem::offset_of!(OrtApi, GetSessionConfigEntry) - 1904usize];
    ["Offset of field: OrtApi::SessionOptionsAppendExecutionProvider_Dnnl"]
        [::std::mem::offset_of!(OrtApi, SessionOptionsAppendExecutionProvider_Dnnl) - 1912usize];
    ["Offset of field: OrtApi::CreateDnnlProviderOptions"]
        [::std::mem::offset_of!(OrtApi, CreateDnnlProviderOptions) - 1920usize];
    ["Offset of field: OrtApi::UpdateDnnlProviderOptions"]
        [::std::mem::offset_of!(OrtApi, UpdateDnnlProviderOptions) - 1928usize];
    ["Offset of field: OrtApi::GetDnnlProviderOptionsAsString"]
        [::std::mem::offset_of!(OrtApi, GetDnnlProviderOptionsAsString) - 1936usize];
    ["Offset of field: OrtApi::ReleaseDnnlProviderOptions"]
        [::std::mem::offset_of!(OrtApi, ReleaseDnnlProviderOptions) - 1944usize];
    ["Offset of field: OrtApi::KernelInfo_GetNodeName"]
        [::std::mem::offset_of!(OrtApi, KernelInfo_GetNodeName) - 1952usize];
    ["Offset of field: OrtApi::KernelInfo_GetLogger"]
        [::std::mem::offset_of!(OrtApi, KernelInfo_GetLogger) - 1960usize];
    ["Offset of field: OrtApi::KernelContext_GetLogger"]
        [::std::mem::offset_of!(OrtApi, KernelContext_GetLogger) - 1968usize];
    ["Offset of field: OrtApi::Logger_LogMessage"]
        [::std::mem::offset_of!(OrtApi, Logger_LogMessage) - 1976usize];
    ["Offset of field: OrtApi::Logger_GetLoggingSeverityLevel"]
        [::std::mem::offset_of!(OrtApi, Logger_GetLoggingSeverityLevel) - 1984usize];
    ["Offset of field: OrtApi::KernelInfoGetConstantInput_tensor"]
        [::std::mem::offset_of!(OrtApi, KernelInfoGetConstantInput_tensor) - 1992usize];
    ["Offset of field: OrtApi::CastTypeInfoToOptionalTypeInfo"]
        [::std::mem::offset_of!(OrtApi, CastTypeInfoToOptionalTypeInfo) - 2000usize];
    ["Offset of field: OrtApi::GetOptionalContainedTypeInfo"]
        [::std::mem::offset_of!(OrtApi, GetOptionalContainedTypeInfo) - 2008usize];
    ["Offset of field: OrtApi::GetResizedStringTensorElementBuffer"]
        [::std::mem::offset_of!(OrtApi, GetResizedStringTensorElementBuffer) - 2016usize];
    ["Offset of field: OrtApi::KernelContext_GetAllocator"]
        [::std::mem::offset_of!(OrtApi, KernelContext_GetAllocator) - 2024usize];
    ["Offset of field: OrtApi::GetBuildInfoString"]
        [::std::mem::offset_of!(OrtApi, GetBuildInfoString) - 2032usize];
    ["Offset of field: OrtApi::CreateROCMProviderOptions"]
        [::std::mem::offset_of!(OrtApi, CreateROCMProviderOptions) - 2040usize];
    ["Offset of field: OrtApi::UpdateROCMProviderOptions"]
        [::std::mem::offset_of!(OrtApi, UpdateROCMProviderOptions) - 2048usize];
    ["Offset of field: OrtApi::GetROCMProviderOptionsAsString"]
        [::std::mem::offset_of!(OrtApi, GetROCMProviderOptionsAsString) - 2056usize];
    ["Offset of field: OrtApi::ReleaseROCMProviderOptions"]
        [::std::mem::offset_of!(OrtApi, ReleaseROCMProviderOptions) - 2064usize];
    ["Offset of field: OrtApi::CreateAndRegisterAllocatorV2"]
        [::std::mem::offset_of!(OrtApi, CreateAndRegisterAllocatorV2) - 2072usize];
    ["Offset of field: OrtApi::RunAsync"][::std::mem::offset_of!(OrtApi, RunAsync) - 2080usize];
    ["Offset of field: OrtApi::UpdateTensorRTProviderOptionsWithValue"]
        [::std::mem::offset_of!(OrtApi, UpdateTensorRTProviderOptionsWithValue) - 2088usize];
    ["Offset of field: OrtApi::GetTensorRTProviderOptionsByName"]
        [::std::mem::offset_of!(OrtApi, GetTensorRTProviderOptionsByName) - 2096usize];
    ["Offset of field: OrtApi::UpdateCUDAProviderOptionsWithValue"]
        [::std::mem::offset_of!(OrtApi, UpdateCUDAProviderOptionsWithValue) - 2104usize];
    ["Offset of field: OrtApi::GetCUDAProviderOptionsByName"]
        [::std::mem::offset_of!(OrtApi, GetCUDAProviderOptionsByName) - 2112usize];
    ["Offset of field: OrtApi::KernelContext_GetResource"]
        [::std::mem::offset_of!(OrtApi, KernelContext_GetResource) - 2120usize];
    ["Offset of field: OrtApi::SetUserLoggingFunction"]
        [::std::mem::offset_of!(OrtApi, SetUserLoggingFunction) - 2128usize];
    ["Offset of field: OrtApi::ShapeInferContext_GetInputCount"]
        [::std::mem::offset_of!(OrtApi, ShapeInferContext_GetInputCount) - 2136usize];
    ["Offset of field: OrtApi::ShapeInferContext_GetInputTypeShape"]
        [::std::mem::offset_of!(OrtApi, ShapeInferContext_GetInputTypeShape) - 2144usize];
    ["Offset of field: OrtApi::ShapeInferContext_GetAttribute"]
        [::std::mem::offset_of!(OrtApi, ShapeInferContext_GetAttribute) - 2152usize];
    ["Offset of field: OrtApi::ShapeInferContext_SetOutputTypeShape"]
        [::std::mem::offset_of!(OrtApi, ShapeInferContext_SetOutputTypeShape) - 2160usize];
    ["Offset of field: OrtApi::SetSymbolicDimensions"]
        [::std::mem::offset_of!(OrtApi, SetSymbolicDimensions) - 2168usize];
    ["Offset of field: OrtApi::ReadOpAttr"][::std::mem::offset_of!(OrtApi, ReadOpAttr) - 2176usize];
    ["Offset of field: OrtApi::SetDeterministicCompute"]
        [::std::mem::offset_of!(OrtApi, SetDeterministicCompute) - 2184usize];
    ["Offset of field: OrtApi::KernelContext_ParallelFor"]
        [::std::mem::offset_of!(OrtApi, KernelContext_ParallelFor) - 2192usize];
    ["Offset of field: OrtApi::SessionOptionsAppendExecutionProvider_OpenVINO_V2"][::std::mem::offset_of!(
        OrtApi,
        SessionOptionsAppendExecutionProvider_OpenVINO_V2
    ) - 2200usize];
    ["Offset of field: OrtApi::SessionOptionsAppendExecutionProvider_VitisAI"]
        [::std::mem::offset_of!(OrtApi, SessionOptionsAppendExecutionProvider_VitisAI) - 2208usize];
    ["Offset of field: OrtApi::KernelContext_GetScratchBuffer"]
        [::std::mem::offset_of!(OrtApi, KernelContext_GetScratchBuffer) - 2216usize];
    ["Offset of field: OrtApi::KernelInfoGetAllocator"]
        [::std::mem::offset_of!(OrtApi, KernelInfoGetAllocator) - 2224usize];
    ["Offset of field: OrtApi::AddExternalInitializersFromFilesInMemory"]
        [::std::mem::offset_of!(OrtApi, AddExternalInitializersFromFilesInMemory) - 2232usize];
    ["Offset of field: OrtApi::CreateLoraAdapter"]
        [::std::mem::offset_of!(OrtApi, CreateLoraAdapter) - 2240usize];
    ["Offset of field: OrtApi::CreateLoraAdapterFromArray"]
        [::std::mem::offset_of!(OrtApi, CreateLoraAdapterFromArray) - 2248usize];
    ["Offset of field: OrtApi::ReleaseLoraAdapter"]
        [::std::mem::offset_of!(OrtApi, ReleaseLoraAdapter) - 2256usize];
    ["Offset of field: OrtApi::RunOptionsAddActiveLoraAdapter"]
        [::std::mem::offset_of!(OrtApi, RunOptionsAddActiveLoraAdapter) - 2264usize];
    ["Offset of field: OrtApi::SetEpDynamicOptions"]
        [::std::mem::offset_of!(OrtApi, SetEpDynamicOptions) - 2272usize];
};
#[repr(i32)]
#[non_exhaustive]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub enum OrtCustomOpInputOutputCharacteristic {
    INPUT_OUTPUT_REQUIRED = 0,
    INPUT_OUTPUT_OPTIONAL = 1,
    INPUT_OUTPUT_VARIADIC = 2,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OrtCustomOp {
    pub version: u32,
    pub CreateKernel: ::std::option::Option<
        unsafe extern "C" fn(
            op: *const OrtCustomOp,
            api: *const OrtApi,
            info: *const OrtKernelInfo,
        ) -> *mut ::std::os::raw::c_void,
    >,
    pub GetName: ::std::option::Option<
        unsafe extern "C" fn(op: *const OrtCustomOp) -> *const ::std::os::raw::c_char,
    >,
    pub GetExecutionProviderType: ::std::option::Option<
        unsafe extern "C" fn(op: *const OrtCustomOp) -> *const ::std::os::raw::c_char,
    >,
    pub GetInputType: ::std::option::Option<
        unsafe extern "C" fn(op: *const OrtCustomOp, index: usize) -> ONNXTensorElementDataType,
    >,
    pub GetInputTypeCount:
        ::std::option::Option<unsafe extern "C" fn(op: *const OrtCustomOp) -> usize>,
    pub GetOutputType: ::std::option::Option<
        unsafe extern "C" fn(op: *const OrtCustomOp, index: usize) -> ONNXTensorElementDataType,
    >,
    pub GetOutputTypeCount:
        ::std::option::Option<unsafe extern "C" fn(op: *const OrtCustomOp) -> usize>,
    pub KernelCompute: ::std::option::Option<
        unsafe extern "C" fn(
            op_kernel: *mut ::std::os::raw::c_void,
            context: *mut OrtKernelContext,
        ),
    >,
    pub KernelDestroy:
        ::std::option::Option<unsafe extern "C" fn(op_kernel: *mut ::std::os::raw::c_void)>,
    pub GetInputCharacteristic: ::std::option::Option<
        unsafe extern "C" fn(
            op: *const OrtCustomOp,
            index: usize,
        ) -> OrtCustomOpInputOutputCharacteristic,
    >,
    pub GetOutputCharacteristic: ::std::option::Option<
        unsafe extern "C" fn(
            op: *const OrtCustomOp,
            index: usize,
        ) -> OrtCustomOpInputOutputCharacteristic,
    >,
    pub GetInputMemoryType: ::std::option::Option<
        unsafe extern "C" fn(op: *const OrtCustomOp, index: usize) -> OrtMemType,
    >,
    pub GetVariadicInputMinArity: ::std::option::Option<
        unsafe extern "C" fn(op: *const OrtCustomOp) -> ::std::os::raw::c_int,
    >,
    pub GetVariadicInputHomogeneity: ::std::option::Option<
        unsafe extern "C" fn(op: *const OrtCustomOp) -> ::std::os::raw::c_int,
    >,
    pub GetVariadicOutputMinArity: ::std::option::Option<
        unsafe extern "C" fn(op: *const OrtCustomOp) -> ::std::os::raw::c_int,
    >,
    pub GetVariadicOutputHomogeneity: ::std::option::Option<
        unsafe extern "C" fn(op: *const OrtCustomOp) -> ::std::os::raw::c_int,
    >,
    pub CreateKernelV2: ::std::option::Option<
        unsafe extern "C" fn(
            op: *const OrtCustomOp,
            api: *const OrtApi,
            info: *const OrtKernelInfo,
            kernel: *mut *mut ::std::os::raw::c_void,
        ) -> OrtStatusPtr,
    >,
    pub KernelComputeV2: ::std::option::Option<
        unsafe extern "C" fn(
            op_kernel: *mut ::std::os::raw::c_void,
            context: *mut OrtKernelContext,
        ) -> OrtStatusPtr,
    >,
    pub InferOutputShapeFn: ::std::option::Option<
        unsafe extern "C" fn(
            op: *const OrtCustomOp,
            arg1: *mut OrtShapeInferContext,
        ) -> OrtStatusPtr,
    >,
    pub GetStartVersion: ::std::option::Option<
        unsafe extern "C" fn(op: *const OrtCustomOp) -> ::std::os::raw::c_int,
    >,
    pub GetEndVersion: ::std::option::Option<
        unsafe extern "C" fn(op: *const OrtCustomOp) -> ::std::os::raw::c_int,
    >,
    pub GetMayInplace: ::std::option::Option<
        unsafe extern "C" fn(
            input_index: *mut *mut ::std::os::raw::c_int,
            output_index: *mut *mut ::std::os::raw::c_int,
        ) -> usize,
    >,
    pub ReleaseMayInplace: ::std::option::Option<
        unsafe extern "C" fn(
            input_index: *mut ::std::os::raw::c_int,
            output_index: *mut ::std::os::raw::c_int,
        ),
    >,
    pub GetAliasMap: ::std::option::Option<
        unsafe extern "C" fn(
            input_index: *mut *mut ::std::os::raw::c_int,
            output_index: *mut *mut ::std::os::raw::c_int,
        ) -> usize,
    >,
    pub ReleaseAliasMap: ::std::option::Option<
        unsafe extern "C" fn(
            input_index: *mut ::std::os::raw::c_int,
            output_index: *mut ::std::os::raw::c_int,
        ),
    >,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of OrtCustomOp"][::std::mem::size_of::<OrtCustomOp>() - 208usize];
    ["Alignment of OrtCustomOp"][::std::mem::align_of::<OrtCustomOp>() - 8usize];
    ["Offset of field: OrtCustomOp::version"]
        [::std::mem::offset_of!(OrtCustomOp, version) - 0usize];
    ["Offset of field: OrtCustomOp::CreateKernel"]
        [::std::mem::offset_of!(OrtCustomOp, CreateKernel) - 8usize];
    ["Offset of field: OrtCustomOp::GetName"]
        [::std::mem::offset_of!(OrtCustomOp, GetName) - 16usize];
    ["Offset of field: OrtCustomOp::GetExecutionProviderType"]
        [::std::mem::offset_of!(OrtCustomOp, GetExecutionProviderType) - 24usize];
    ["Offset of field: OrtCustomOp::GetInputType"]
        [::std::mem::offset_of!(OrtCustomOp, GetInputType) - 32usize];
    ["Offset of field: OrtCustomOp::GetInputTypeCount"]
        [::std::mem::offset_of!(OrtCustomOp, GetInputTypeCount) - 40usize];
    ["Offset of field: OrtCustomOp::GetOutputType"]
        [::std::mem::offset_of!(OrtCustomOp, GetOutputType) - 48usize];
    ["Offset of field: OrtCustomOp::GetOutputTypeCount"]
        [::std::mem::offset_of!(OrtCustomOp, GetOutputTypeCount) - 56usize];
    ["Offset of field: OrtCustomOp::KernelCompute"]
        [::std::mem::offset_of!(OrtCustomOp, KernelCompute) - 64usize];
    ["Offset of field: OrtCustomOp::KernelDestroy"]
        [::std::mem::offset_of!(OrtCustomOp, KernelDestroy) - 72usize];
    ["Offset of field: OrtCustomOp::GetInputCharacteristic"]
        [::std::mem::offset_of!(OrtCustomOp, GetInputCharacteristic) - 80usize];
    ["Offset of field: OrtCustomOp::GetOutputCharacteristic"]
        [::std::mem::offset_of!(OrtCustomOp, GetOutputCharacteristic) - 88usize];
    ["Offset of field: OrtCustomOp::GetInputMemoryType"]
        [::std::mem::offset_of!(OrtCustomOp, GetInputMemoryType) - 96usize];
    ["Offset of field: OrtCustomOp::GetVariadicInputMinArity"]
        [::std::mem::offset_of!(OrtCustomOp, GetVariadicInputMinArity) - 104usize];
    ["Offset of field: OrtCustomOp::GetVariadicInputHomogeneity"]
        [::std::mem::offset_of!(OrtCustomOp, GetVariadicInputHomogeneity) - 112usize];
    ["Offset of field: OrtCustomOp::GetVariadicOutputMinArity"]
        [::std::mem::offset_of!(OrtCustomOp, GetVariadicOutputMinArity) - 120usize];
    ["Offset of field: OrtCustomOp::GetVariadicOutputHomogeneity"]
        [::std::mem::offset_of!(OrtCustomOp, GetVariadicOutputHomogeneity) - 128usize];
    ["Offset of field: OrtCustomOp::CreateKernelV2"]
        [::std::mem::offset_of!(OrtCustomOp, CreateKernelV2) - 136usize];
    ["Offset of field: OrtCustomOp::KernelComputeV2"]
        [::std::mem::offset_of!(OrtCustomOp, KernelComputeV2) - 144usize];
    ["Offset of field: OrtCustomOp::InferOutputShapeFn"]
        [::std::mem::offset_of!(OrtCustomOp, InferOutputShapeFn) - 152usize];
    ["Offset of field: OrtCustomOp::GetStartVersion"]
        [::std::mem::offset_of!(OrtCustomOp, GetStartVersion) - 160usize];
    ["Offset of field: OrtCustomOp::GetEndVersion"]
        [::std::mem::offset_of!(OrtCustomOp, GetEndVersion) - 168usize];
    ["Offset of field: OrtCustomOp::GetMayInplace"]
        [::std::mem::offset_of!(OrtCustomOp, GetMayInplace) - 176usize];
    ["Offset of field: OrtCustomOp::ReleaseMayInplace"]
        [::std::mem::offset_of!(OrtCustomOp, ReleaseMayInplace) - 184usize];
    ["Offset of field: OrtCustomOp::GetAliasMap"]
        [::std::mem::offset_of!(OrtCustomOp, GetAliasMap) - 192usize];
    ["Offset of field: OrtCustomOp::ReleaseAliasMap"]
        [::std::mem::offset_of!(OrtCustomOp, ReleaseAliasMap) - 200usize];
};
unsafe extern "C" {
    pub fn OrtSessionOptionsAppendExecutionProvider_CUDA(
        options: *mut OrtSessionOptions,
        device_id: ::std::os::raw::c_int,
    ) -> OrtStatusPtr;
}
unsafe extern "C" {
    pub fn OrtSessionOptionsAppendExecutionProvider_ROCM(
        options: *mut OrtSessionOptions,
        device_id: ::std::os::raw::c_int,
    ) -> OrtStatusPtr;
}
unsafe extern "C" {
    pub fn OrtSessionOptionsAppendExecutionProvider_MIGraphX(
        options: *mut OrtSessionOptions,
        device_id: ::std::os::raw::c_int,
    ) -> OrtStatusPtr;
}
unsafe extern "C" {
    pub fn OrtSessionOptionsAppendExecutionProvider_Dnnl(
        options: *mut OrtSessionOptions,
        use_arena: ::std::os::raw::c_int,
    ) -> OrtStatusPtr;
}
unsafe extern "C" {
    pub fn OrtSessionOptionsAppendExecutionProvider_Tensorrt(
        options: *mut OrtSessionOptions,
        device_id: ::std::os::raw::c_int,
    ) -> OrtStatusPtr;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __crt_locale_data {
    pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __crt_multibyte_data {
    pub _address: u8,
}