aufklarer commited on
Commit
f98e93b
·
verified ·
1 Parent(s): 76691ca

Upload folder using huggingface_hub

Browse files
Sortformer_balanced.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48b27513c27dc9311ee538e24e65af9fd192bb60e4cc392aadb76294b2bac01c
3
+ size 202
Sortformer_balanced.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff1ccfd614fdb58a7c8acd6f3e66abadf040b9329f3f0db47ea252482840534b
3
+ size 424
Sortformer_balanced.mlmodelc/metadata.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Float16",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32 1 × 349 × 4)",
11
+ "shortDescription" : "",
12
+ "shape" : "[1, 349, 4]",
13
+ "name" : "speaker_preds_out",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float32",
20
+ "formattedType" : "MultiArray (Float32 1 × 121 × 512)",
21
+ "shortDescription" : "",
22
+ "shape" : "[1, 121, 512]",
23
+ "name" : "chunk_pre_encoder_embs_out",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Int32",
30
+ "formattedType" : "MultiArray (Int32 1)",
31
+ "shortDescription" : "",
32
+ "shape" : "[1]",
33
+ "name" : "chunk_pre_encoder_lengths_out",
34
+ "type" : "MultiArray"
35
+ }
36
+ ],
37
+ "modelParameters" : [
38
+
39
+ ],
40
+ "specificationVersion" : 8,
41
+ "mlProgramOperationTypeHistogram" : {
42
+ "Ios17.logicalAnd" : 2,
43
+ "Ios17.reshape" : 175,
44
+ "Ios16.softmax" : 35,
45
+ "Ios17.matmul" : 87,
46
+ "Ios17.transpose" : 193,
47
+ "Ios17.maximum" : 1,
48
+ "Split" : 17,
49
+ "Ios17.expandDims" : 25,
50
+ "Select" : 51,
51
+ "Ios17.add" : 187,
52
+ "Tile" : 9,
53
+ "Ios17.gatherAlongAxis" : 1,
54
+ "Ios17.sliceByIndex" : 34,
55
+ "Ios16.sigmoid" : 18,
56
+ "Pad" : 34,
57
+ "Ios17.logicalNot" : 2,
58
+ "Ios17.layerNorm" : 121,
59
+ "Ios17.less" : 7,
60
+ "Ios17.sub" : 6,
61
+ "Ios17.conv" : 56,
62
+ "Ios16.relu" : 23,
63
+ "Ios17.cast" : 24,
64
+ "Ios17.linear" : 248,
65
+ "Ios17.concat" : 1,
66
+ "Ios17.floorDiv" : 3,
67
+ "Ios17.minimum" : 1,
68
+ "Ios17.greaterEqual" : 2,
69
+ "Ios16.silu" : 51,
70
+ "Ios17.mul" : 119
71
+ },
72
+ "computePrecision" : "Mixed (Float16, Float32, Int16, Int32)",
73
+ "isUpdatable" : "0",
74
+ "stateSchema" : [
75
+
76
+ ],
77
+ "availability" : {
78
+ "macOS" : "14.0",
79
+ "tvOS" : "17.0",
80
+ "visionOS" : "1.0",
81
+ "watchOS" : "10.0",
82
+ "iOS" : "17.0",
83
+ "macCatalyst" : "17.0"
84
+ },
85
+ "modelType" : {
86
+ "name" : "MLModelType_pipeline",
87
+ "structure" : [
88
+ {
89
+ "name" : "MLModelType_mlProgram"
90
+ },
91
+ {
92
+ "name" : "MLModelType_mlProgram"
93
+ }
94
+ ]
95
+ },
96
+ "userDefinedMetadata" : {
97
+
98
+ },
99
+ "inputSchema" : [
100
+ {
101
+ "hasShapeFlexibility" : "0",
102
+ "isOptional" : "0",
103
+ "dataType" : "Float32",
104
+ "formattedType" : "MultiArray (Float32 1 × 968 × 128)",
105
+ "shortDescription" : "",
106
+ "shape" : "[1, 968, 128]",
107
+ "name" : "chunk",
108
+ "type" : "MultiArray"
109
+ },
110
+ {
111
+ "hasShapeFlexibility" : "0",
112
+ "isOptional" : "0",
113
+ "dataType" : "Int32",
114
+ "formattedType" : "MultiArray (Int32 1)",
115
+ "shortDescription" : "",
116
+ "shape" : "[1]",
117
+ "name" : "chunk_lengths",
118
+ "type" : "MultiArray"
119
+ },
120
+ {
121
+ "hasShapeFlexibility" : "0",
122
+ "isOptional" : "0",
123
+ "dataType" : "Float32",
124
+ "formattedType" : "MultiArray (Float32 1 × 188 × 512)",
125
+ "shortDescription" : "",
126
+ "shape" : "[1, 188, 512]",
127
+ "name" : "spkcache",
128
+ "type" : "MultiArray"
129
+ },
130
+ {
131
+ "hasShapeFlexibility" : "0",
132
+ "isOptional" : "0",
133
+ "dataType" : "Int32",
134
+ "formattedType" : "MultiArray (Int32 1)",
135
+ "shortDescription" : "",
136
+ "shape" : "[1]",
137
+ "name" : "spkcache_lengths",
138
+ "type" : "MultiArray"
139
+ },
140
+ {
141
+ "hasShapeFlexibility" : "0",
142
+ "isOptional" : "0",
143
+ "dataType" : "Float32",
144
+ "formattedType" : "MultiArray (Float32 1 × 40 × 512)",
145
+ "shortDescription" : "",
146
+ "shape" : "[1, 40, 512]",
147
+ "name" : "fifo",
148
+ "type" : "MultiArray"
149
+ },
150
+ {
151
+ "hasShapeFlexibility" : "0",
152
+ "isOptional" : "0",
153
+ "dataType" : "Int32",
154
+ "formattedType" : "MultiArray (Int32 1)",
155
+ "shortDescription" : "",
156
+ "shape" : "[1]",
157
+ "name" : "fifo_lengths",
158
+ "type" : "MultiArray"
159
+ }
160
+ ],
161
+ "generatedClassName" : "Sortformer",
162
+ "method" : "predict"
163
+ }
164
+ ]
Sortformer_balanced.mlmodelc/model0/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a8281049b2a65a3be541cfd9f949e84b8fe1c5251ce90e46da1626fed54e58a
3
+ size 108
Sortformer_balanced.mlmodelc/model0/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e80de1f40599a711ddd3c4146eca139a28dd68656f1d8991e9f862a4d6bf53e
3
+ size 575
Sortformer_balanced.mlmodelc/model0/model.mil ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ program(1.0)
2
+ [buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3520.4.1"}, {"coremlc-version", "3520.5.1"}, {"coremltools-component-torch", "2.11.0"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "8.3.0"}})]
3
+ {
4
+ func main<ios17>(tensor<fp32, [1, 968, 128]> chunk, tensor<int32, [1]> chunk_lengths, tensor<fp32, [1, 40, 512]> fifo, tensor<int32, [1]> fifo_lengths, tensor<fp32, [1, 188, 512]> spkcache, tensor<int32, [1]> spkcache_lengths) {
5
+ tensor<int32, [1]> tensor_1_axes_0 = const()[name = tensor<string, []>("tensor_1_axes_0"), val = tensor<int32, [1]>([1])];
6
+ tensor<string, []> chunk_to_fp16_dtype_0 = const()[name = tensor<string, []>("chunk_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
7
+ tensor<fp16, [1, 968, 128]> chunk_to_fp16 = cast(dtype = chunk_to_fp16_dtype_0, x = chunk)[name = tensor<string, []>("cast_32")];
8
+ tensor<fp16, [1, 1, 968, 128]> tensor_1_cast_fp16 = expand_dims(axes = tensor_1_axes_0, x = chunk_to_fp16)[name = tensor<string, []>("tensor_1_cast_fp16")];
9
+ tensor<int32, [1, 968]> expand_dims_0 = const()[name = tensor<string, []>("expand_dims_0"), val = tensor<int32, [1, 968]>([[0, 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]])];
10
+ tensor<int32, [1]> var_40_axes_0 = const()[name = tensor<string, []>("op_40_axes_0"), val = tensor<int32, [1]>([1])];
11
+ tensor<int32, [1, 1]> var_40 = expand_dims(axes = var_40_axes_0, x = chunk_lengths)[name = tensor<string, []>("op_40")];
12
+ tensor<bool, [1, 968]> time_mask_1 = less(x = expand_dims_0, y = var_40)[name = tensor<string, []>("time_mask_1")];
13
+ tensor<int32, [1]> var_42_axes_0 = const()[name = tensor<string, []>("op_42_axes_0"), val = tensor<int32, [1]>([-1])];
14
+ tensor<bool, [1, 968, 1]> var_42 = expand_dims(axes = var_42_axes_0, x = time_mask_1)[name = tensor<string, []>("op_42")];
15
+ tensor<int32, [3]> var_44_reps_0 = const()[name = tensor<string, []>("op_44_reps_0"), val = tensor<int32, [3]>([1, 1, 128])];
16
+ tensor<bool, [1, 968, 128]> var_44 = tile(reps = var_44_reps_0, x = var_42)[name = tensor<string, []>("op_44")];
17
+ tensor<int32, [1]> var_50_axes_0 = const()[name = tensor<string, []>("op_50_axes_0"), val = tensor<int32, [1]>([1])];
18
+ tensor<string, []> cast_2_to_fp16_dtype_0 = const()[name = tensor<string, []>("cast_2_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
19
+ tensor<fp16, [1, 968, 128]> var_44_to_fp16 = cast(dtype = cast_2_to_fp16_dtype_0, x = var_44)[name = tensor<string, []>("cast_31")];
20
+ tensor<fp16, [1, 1, 968, 128]> var_50_cast_fp16 = expand_dims(axes = var_50_axes_0, x = var_44_to_fp16)[name = tensor<string, []>("op_50_cast_fp16")];
21
+ tensor<fp16, [1, 1, 968, 128]> input_1_cast_fp16 = mul(x = tensor_1_cast_fp16, y = var_50_cast_fp16)[name = tensor<string, []>("input_1_cast_fp16")];
22
+ tensor<string, []> tensor_3_pad_type_0 = const()[name = tensor<string, []>("tensor_3_pad_type_0"), val = tensor<string, []>("custom")];
23
+ tensor<int32, [4]> tensor_3_pad_0 = const()[name = tensor<string, []>("tensor_3_pad_0"), val = tensor<int32, [4]>([1, 1, 1, 1])];
24
+ tensor<int32, [2]> tensor_3_strides_0 = const()[name = tensor<string, []>("tensor_3_strides_0"), val = tensor<int32, [2]>([2, 2])];
25
+ tensor<int32, [2]> tensor_3_dilations_0 = const()[name = tensor<string, []>("tensor_3_dilations_0"), val = tensor<int32, [2]>([1, 1])];
26
+ tensor<int32, []> tensor_3_groups_0 = const()[name = tensor<string, []>("tensor_3_groups_0"), val = tensor<int32, []>(1)];
27
+ tensor<fp16, [256, 1, 3, 3]> model_encoder_pre_encode_conv_0_weight_to_fp16 = const()[name = tensor<string, []>("model_encoder_pre_encode_conv_0_weight_to_fp16"), val = tensor<fp16, [256, 1, 3, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/0-weight.bin"), offset = tensor<uint64, []>(64)))];
28
+ tensor<fp16, [256]> model_encoder_pre_encode_conv_0_bias_to_fp16 = const()[name = tensor<string, []>("model_encoder_pre_encode_conv_0_bias_to_fp16"), val = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/0-weight.bin"), offset = tensor<uint64, []>(4736)))];
29
+ tensor<fp16, [1, 256, 484, 64]> tensor_3_cast_fp16 = conv(bias = model_encoder_pre_encode_conv_0_bias_to_fp16, dilations = tensor_3_dilations_0, groups = tensor_3_groups_0, pad = tensor_3_pad_0, pad_type = tensor_3_pad_type_0, strides = tensor_3_strides_0, weight = model_encoder_pre_encode_conv_0_weight_to_fp16, x = input_1_cast_fp16)[name = tensor<string, []>("tensor_3_cast_fp16")];
30
+ tensor<string, []> cast_0_to_fp16_dtype_0 = const()[name = tensor<string, []>("cast_0_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
31
+ tensor<fp16, []> var_61_promoted_to_fp16 = const()[name = tensor<string, []>("op_61_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
32
+ tensor<fp16, [1]> chunk_lengths_to_fp16 = cast(dtype = cast_0_to_fp16_dtype_0, x = chunk_lengths)[name = tensor<string, []>("cast_30")];
33
+ tensor<fp16, [1]> var_62_cast_fp16 = add(x = chunk_lengths_to_fp16, y = var_61_promoted_to_fp16)[name = tensor<string, []>("op_62_cast_fp16")];
34
+ tensor<fp16, []> var_63_promoted_to_fp16 = const()[name = tensor<string, []>("op_63_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
35
+ tensor<fp16, [1]> var_64_cast_fp16 = add(x = var_62_cast_fp16, y = var_63_promoted_to_fp16)[name = tensor<string, []>("op_64_cast_fp16")];
36
+ tensor<fp16, []> var_65_promoted_to_fp16 = const()[name = tensor<string, []>("op_65_promoted_to_fp16"), val = tensor<fp16, []>(0x1.8p+1)];
37
+ tensor<fp16, [1]> var_66_cast_fp16 = sub(x = var_64_cast_fp16, y = var_65_promoted_to_fp16)[name = tensor<string, []>("op_66_cast_fp16")];
38
+ tensor<fp16, []> var_21_promoted_to_fp16 = const()[name = tensor<string, []>("op_21_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+1)];
39
+ tensor<fp16, [1]> floor_div_0_cast_fp16 = floor_div(x = var_66_cast_fp16, y = var_21_promoted_to_fp16)[name = tensor<string, []>("floor_div_0_cast_fp16")];
40
+ tensor<fp16, []> var_68_promoted_to_fp16 = const()[name = tensor<string, []>("op_68_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
41
+ tensor<fp16, [1]> current_lengths_3_cast_fp16 = add(x = floor_div_0_cast_fp16, y = var_68_promoted_to_fp16)[name = tensor<string, []>("current_lengths_3_cast_fp16")];
42
+ tensor<string, []> cast_3_dtype_0 = const()[name = tensor<string, []>("cast_3_dtype_0"), val = tensor<string, []>("int32")];
43
+ tensor<int32, [1, 484]> expand_dims_1 = const()[name = tensor<string, []>("expand_dims_1"), val = tensor<int32, [1, 484]>([[0, 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]])];
44
+ tensor<int32, [1]> var_77_axes_0 = const()[name = tensor<string, []>("op_77_axes_0"), val = tensor<int32, [1]>([1])];
45
+ tensor<int32, [1]> current_lengths_3_cast_fp16_to_int32 = cast(dtype = cast_3_dtype_0, x = current_lengths_3_cast_fp16)[name = tensor<string, []>("cast_29")];
46
+ tensor<int32, [1, 1]> var_77 = expand_dims(axes = var_77_axes_0, x = current_lengths_3_cast_fp16_to_int32)[name = tensor<string, []>("op_77")];
47
+ tensor<bool, [1, 484]> time_mask_3 = less(x = expand_dims_1, y = var_77)[name = tensor<string, []>("time_mask_3")];
48
+ tensor<int32, [1]> var_79_axes_0 = const()[name = tensor<string, []>("op_79_axes_0"), val = tensor<int32, [1]>([-1])];
49
+ tensor<bool, [1, 484, 1]> var_79 = expand_dims(axes = var_79_axes_0, x = time_mask_3)[name = tensor<string, []>("op_79")];
50
+ tensor<int32, [3]> var_81_reps_0 = const()[name = tensor<string, []>("op_81_reps_0"), val = tensor<int32, [3]>([1, 1, 64])];
51
+ tensor<bool, [1, 484, 64]> var_81 = tile(reps = var_81_reps_0, x = var_79)[name = tensor<string, []>("op_81")];
52
+ tensor<int32, [1]> var_87_axes_0 = const()[name = tensor<string, []>("op_87_axes_0"), val = tensor<int32, [1]>([1])];
53
+ tensor<string, []> cast_4_to_fp16_dtype_0 = const()[name = tensor<string, []>("cast_4_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
54
+ tensor<fp16, [1, 484, 64]> var_81_to_fp16 = cast(dtype = cast_4_to_fp16_dtype_0, x = var_81)[name = tensor<string, []>("cast_28")];
55
+ tensor<fp16, [1, 1, 484, 64]> var_87_cast_fp16 = expand_dims(axes = var_87_axes_0, x = var_81_to_fp16)[name = tensor<string, []>("op_87_cast_fp16")];
56
+ tensor<int32, [4]> expanded_mask_3_reps_0 = const()[name = tensor<string, []>("expanded_mask_3_reps_0"), val = tensor<int32, [4]>([1, 256, 1, 1])];
57
+ tensor<fp16, [1, 256, 484, 64]> expanded_mask_3_cast_fp16 = tile(reps = expanded_mask_3_reps_0, x = var_87_cast_fp16)[name = tensor<string, []>("expanded_mask_3_cast_fp16")];
58
+ tensor<fp16, [1, 256, 484, 64]> input_3_cast_fp16 = mul(x = tensor_3_cast_fp16, y = expanded_mask_3_cast_fp16)[name = tensor<string, []>("input_3_cast_fp16")];
59
+ tensor<fp16, [1, 256, 484, 64]> tensor_5_cast_fp16 = relu(x = input_3_cast_fp16)[name = tensor<string, []>("tensor_5_cast_fp16")];
60
+ tensor<fp16, [1, 256, 484, 64]> input_5_cast_fp16 = mul(x = tensor_5_cast_fp16, y = expanded_mask_3_cast_fp16)[name = tensor<string, []>("input_5_cast_fp16")];
61
+ tensor<string, []> tensor_7_pad_type_0 = const()[name = tensor<string, []>("tensor_7_pad_type_0"), val = tensor<string, []>("custom")];
62
+ tensor<int32, [4]> tensor_7_pad_0 = const()[name = tensor<string, []>("tensor_7_pad_0"), val = tensor<int32, [4]>([1, 1, 1, 1])];
63
+ tensor<int32, [2]> tensor_7_strides_0 = const()[name = tensor<string, []>("tensor_7_strides_0"), val = tensor<int32, [2]>([2, 2])];
64
+ tensor<int32, []> tensor_7_groups_0 = const()[name = tensor<string, []>("tensor_7_groups_0"), val = tensor<int32, []>(256)];
65
+ tensor<int32, [2]> tensor_7_dilations_0 = const()[name = tensor<string, []>("tensor_7_dilations_0"), val = tensor<int32, [2]>([1, 1])];
66
+ tensor<fp16, [256, 1, 3, 3]> model_encoder_pre_encode_conv_2_weight_to_fp16 = const()[name = tensor<string, []>("model_encoder_pre_encode_conv_2_weight_to_fp16"), val = tensor<fp16, [256, 1, 3, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/0-weight.bin"), offset = tensor<uint64, []>(5312)))];
67
+ tensor<fp16, [256]> model_encoder_pre_encode_conv_2_bias_to_fp16 = const()[name = tensor<string, []>("model_encoder_pre_encode_conv_2_bias_to_fp16"), val = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/0-weight.bin"), offset = tensor<uint64, []>(9984)))];
68
+ tensor<fp16, [1, 256, 242, 32]> tensor_7_cast_fp16 = conv(bias = model_encoder_pre_encode_conv_2_bias_to_fp16, dilations = tensor_7_dilations_0, groups = tensor_7_groups_0, pad = tensor_7_pad_0, pad_type = tensor_7_pad_type_0, strides = tensor_7_strides_0, weight = model_encoder_pre_encode_conv_2_weight_to_fp16, x = input_5_cast_fp16)[name = tensor<string, []>("tensor_7_cast_fp16")];
69
+ tensor<fp16, []> var_107_promoted_to_fp16 = const()[name = tensor<string, []>("op_107_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
70
+ tensor<fp16, [1]> var_108_cast_fp16 = add(x = current_lengths_3_cast_fp16, y = var_107_promoted_to_fp16)[name = tensor<string, []>("op_108_cast_fp16")];
71
+ tensor<fp16, []> var_109_promoted_to_fp16 = const()[name = tensor<string, []>("op_109_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
72
+ tensor<fp16, [1]> var_110_cast_fp16 = add(x = var_108_cast_fp16, y = var_109_promoted_to_fp16)[name = tensor<string, []>("op_110_cast_fp16")];
73
+ tensor<fp16, []> var_111_promoted_to_fp16 = const()[name = tensor<string, []>("op_111_promoted_to_fp16"), val = tensor<fp16, []>(0x1.8p+1)];
74
+ tensor<fp16, [1]> var_112_cast_fp16 = sub(x = var_110_cast_fp16, y = var_111_promoted_to_fp16)[name = tensor<string, []>("op_112_cast_fp16")];
75
+ tensor<fp16, []> var_21_promoted_1_to_fp16 = const()[name = tensor<string, []>("op_21_promoted_1_to_fp16"), val = tensor<fp16, []>(0x1p+1)];
76
+ tensor<fp16, [1]> floor_div_1_cast_fp16 = floor_div(x = var_112_cast_fp16, y = var_21_promoted_1_to_fp16)[name = tensor<string, []>("floor_div_1_cast_fp16")];
77
+ tensor<fp16, []> var_114_promoted_to_fp16 = const()[name = tensor<string, []>("op_114_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
78
+ tensor<fp16, [1]> current_lengths_5_cast_fp16 = add(x = floor_div_1_cast_fp16, y = var_114_promoted_to_fp16)[name = tensor<string, []>("current_lengths_5_cast_fp16")];
79
+ tensor<string, []> cast_5_dtype_0 = const()[name = tensor<string, []>("cast_5_dtype_0"), val = tensor<string, []>("int32")];
80
+ tensor<int32, [1, 242]> expand_dims_2 = const()[name = tensor<string, []>("expand_dims_2"), val = tensor<int32, [1, 242]>([[0, 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]])];
81
+ tensor<int32, [1]> var_123_axes_0 = const()[name = tensor<string, []>("op_123_axes_0"), val = tensor<int32, [1]>([1])];
82
+ tensor<int32, [1]> current_lengths_5_cast_fp16_to_int32 = cast(dtype = cast_5_dtype_0, x = current_lengths_5_cast_fp16)[name = tensor<string, []>("cast_27")];
83
+ tensor<int32, [1, 1]> var_123 = expand_dims(axes = var_123_axes_0, x = current_lengths_5_cast_fp16_to_int32)[name = tensor<string, []>("op_123")];
84
+ tensor<bool, [1, 242]> time_mask_5 = less(x = expand_dims_2, y = var_123)[name = tensor<string, []>("time_mask_5")];
85
+ tensor<int32, [1]> var_125_axes_0 = const()[name = tensor<string, []>("op_125_axes_0"), val = tensor<int32, [1]>([-1])];
86
+ tensor<bool, [1, 242, 1]> var_125 = expand_dims(axes = var_125_axes_0, x = time_mask_5)[name = tensor<string, []>("op_125")];
87
+ tensor<int32, [3]> var_127_reps_0 = const()[name = tensor<string, []>("op_127_reps_0"), val = tensor<int32, [3]>([1, 1, 32])];
88
+ tensor<bool, [1, 242, 32]> var_127 = tile(reps = var_127_reps_0, x = var_125)[name = tensor<string, []>("op_127")];
89
+ tensor<int32, [1]> var_133_axes_0 = const()[name = tensor<string, []>("op_133_axes_0"), val = tensor<int32, [1]>([1])];
90
+ tensor<string, []> cast_6_to_fp16_dtype_0 = const()[name = tensor<string, []>("cast_6_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
91
+ tensor<fp16, [1, 242, 32]> var_127_to_fp16 = cast(dtype = cast_6_to_fp16_dtype_0, x = var_127)[name = tensor<string, []>("cast_26")];
92
+ tensor<fp16, [1, 1, 242, 32]> var_133_cast_fp16 = expand_dims(axes = var_133_axes_0, x = var_127_to_fp16)[name = tensor<string, []>("op_133_cast_fp16")];
93
+ tensor<int32, [4]> expanded_mask_7_reps_0 = const()[name = tensor<string, []>("expanded_mask_7_reps_0"), val = tensor<int32, [4]>([1, 256, 1, 1])];
94
+ tensor<fp16, [1, 256, 242, 32]> expanded_mask_7_cast_fp16 = tile(reps = expanded_mask_7_reps_0, x = var_133_cast_fp16)[name = tensor<string, []>("expanded_mask_7_cast_fp16")];
95
+ tensor<fp16, [1, 256, 242, 32]> input_7_cast_fp16 = mul(x = tensor_7_cast_fp16, y = expanded_mask_7_cast_fp16)[name = tensor<string, []>("input_7_cast_fp16")];
96
+ tensor<string, []> tensor_9_pad_type_0 = const()[name = tensor<string, []>("tensor_9_pad_type_0"), val = tensor<string, []>("valid")];
97
+ tensor<int32, [2]> tensor_9_strides_0 = const()[name = tensor<string, []>("tensor_9_strides_0"), val = tensor<int32, [2]>([1, 1])];
98
+ tensor<int32, [4]> tensor_9_pad_0 = const()[name = tensor<string, []>("tensor_9_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
99
+ tensor<int32, [2]> tensor_9_dilations_0 = const()[name = tensor<string, []>("tensor_9_dilations_0"), val = tensor<int32, [2]>([1, 1])];
100
+ tensor<int32, []> tensor_9_groups_0 = const()[name = tensor<string, []>("tensor_9_groups_0"), val = tensor<int32, []>(1)];
101
+ tensor<fp16, [256, 256, 1, 1]> model_encoder_pre_encode_conv_3_weight_to_fp16 = const()[name = tensor<string, []>("model_encoder_pre_encode_conv_3_weight_to_fp16"), val = tensor<fp16, [256, 256, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/0-weight.bin"), offset = tensor<uint64, []>(10560)))];
102
+ tensor<fp16, [256]> model_encoder_pre_encode_conv_3_bias_to_fp16 = const()[name = tensor<string, []>("model_encoder_pre_encode_conv_3_bias_to_fp16"), val = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/0-weight.bin"), offset = tensor<uint64, []>(141696)))];
103
+ tensor<fp16, [1, 256, 242, 32]> tensor_9_cast_fp16 = conv(bias = model_encoder_pre_encode_conv_3_bias_to_fp16, dilations = tensor_9_dilations_0, groups = tensor_9_groups_0, pad = tensor_9_pad_0, pad_type = tensor_9_pad_type_0, strides = tensor_9_strides_0, weight = model_encoder_pre_encode_conv_3_weight_to_fp16, x = input_7_cast_fp16)[name = tensor<string, []>("tensor_9_cast_fp16")];
104
+ tensor<fp16, [1, 256, 242, 32]> input_9_cast_fp16 = mul(x = tensor_9_cast_fp16, y = expanded_mask_7_cast_fp16)[name = tensor<string, []>("input_9_cast_fp16")];
105
+ tensor<fp16, [1, 256, 242, 32]> tensor_11_cast_fp16 = relu(x = input_9_cast_fp16)[name = tensor<string, []>("tensor_11_cast_fp16")];
106
+ tensor<fp16, [1, 256, 242, 32]> input_11_cast_fp16 = mul(x = tensor_11_cast_fp16, y = expanded_mask_7_cast_fp16)[name = tensor<string, []>("input_11_cast_fp16")];
107
+ tensor<string, []> tensor_13_pad_type_0 = const()[name = tensor<string, []>("tensor_13_pad_type_0"), val = tensor<string, []>("custom")];
108
+ tensor<int32, [4]> tensor_13_pad_0 = const()[name = tensor<string, []>("tensor_13_pad_0"), val = tensor<int32, [4]>([1, 1, 1, 1])];
109
+ tensor<int32, [2]> tensor_13_strides_0 = const()[name = tensor<string, []>("tensor_13_strides_0"), val = tensor<int32, [2]>([2, 2])];
110
+ tensor<int32, []> tensor_13_groups_0 = const()[name = tensor<string, []>("tensor_13_groups_0"), val = tensor<int32, []>(256)];
111
+ tensor<int32, [2]> tensor_13_dilations_0 = const()[name = tensor<string, []>("tensor_13_dilations_0"), val = tensor<int32, [2]>([1, 1])];
112
+ tensor<fp16, [256, 1, 3, 3]> model_encoder_pre_encode_conv_5_weight_to_fp16 = const()[name = tensor<string, []>("model_encoder_pre_encode_conv_5_weight_to_fp16"), val = tensor<fp16, [256, 1, 3, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/0-weight.bin"), offset = tensor<uint64, []>(142272)))];
113
+ tensor<fp16, [256]> model_encoder_pre_encode_conv_5_bias_to_fp16 = const()[name = tensor<string, []>("model_encoder_pre_encode_conv_5_bias_to_fp16"), val = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/0-weight.bin"), offset = tensor<uint64, []>(146944)))];
114
+ tensor<fp16, [1, 256, 121, 16]> tensor_13_cast_fp16 = conv(bias = model_encoder_pre_encode_conv_5_bias_to_fp16, dilations = tensor_13_dilations_0, groups = tensor_13_groups_0, pad = tensor_13_pad_0, pad_type = tensor_13_pad_type_0, strides = tensor_13_strides_0, weight = model_encoder_pre_encode_conv_5_weight_to_fp16, x = input_11_cast_fp16)[name = tensor<string, []>("tensor_13_cast_fp16")];
115
+ tensor<fp16, []> var_168_promoted_to_fp16 = const()[name = tensor<string, []>("op_168_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
116
+ tensor<fp16, [1]> var_169_cast_fp16 = add(x = current_lengths_5_cast_fp16, y = var_168_promoted_to_fp16)[name = tensor<string, []>("op_169_cast_fp16")];
117
+ tensor<fp16, []> var_170_promoted_to_fp16 = const()[name = tensor<string, []>("op_170_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
118
+ tensor<fp16, [1]> var_171_cast_fp16 = add(x = var_169_cast_fp16, y = var_170_promoted_to_fp16)[name = tensor<string, []>("op_171_cast_fp16")];
119
+ tensor<fp16, []> var_172_promoted_to_fp16 = const()[name = tensor<string, []>("op_172_promoted_to_fp16"), val = tensor<fp16, []>(0x1.8p+1)];
120
+ tensor<fp16, [1]> var_173_cast_fp16 = sub(x = var_171_cast_fp16, y = var_172_promoted_to_fp16)[name = tensor<string, []>("op_173_cast_fp16")];
121
+ tensor<fp16, []> var_21_promoted_2_to_fp16 = const()[name = tensor<string, []>("op_21_promoted_2_to_fp16"), val = tensor<fp16, []>(0x1p+1)];
122
+ tensor<fp16, [1]> floor_div_2_cast_fp16 = floor_div(x = var_173_cast_fp16, y = var_21_promoted_2_to_fp16)[name = tensor<string, []>("floor_div_2_cast_fp16")];
123
+ tensor<fp16, []> var_175_promoted_to_fp16 = const()[name = tensor<string, []>("op_175_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
124
+ tensor<fp16, [1]> current_lengths_cast_fp16 = add(x = floor_div_2_cast_fp16, y = var_175_promoted_to_fp16)[name = tensor<string, []>("current_lengths_cast_fp16")];
125
+ tensor<string, []> cast_7_dtype_0 = const()[name = tensor<string, []>("cast_7_dtype_0"), val = tensor<string, []>("int32")];
126
+ tensor<int32, [1, 121]> expand_dims_3 = const()[name = tensor<string, []>("expand_dims_3"), val = tensor<int32, [1, 121]>([[0, 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]])];
127
+ tensor<int32, [1]> var_184_axes_0 = const()[name = tensor<string, []>("op_184_axes_0"), val = tensor<int32, [1]>([1])];
128
+ tensor<int32, [1]> current_lengths_cast_fp16_to_int32 = cast(dtype = cast_7_dtype_0, x = current_lengths_cast_fp16)[name = tensor<string, []>("cast_25")];
129
+ tensor<int32, [1, 1]> var_184 = expand_dims(axes = var_184_axes_0, x = current_lengths_cast_fp16_to_int32)[name = tensor<string, []>("op_184")];
130
+ tensor<bool, [1, 121]> time_mask = less(x = expand_dims_3, y = var_184)[name = tensor<string, []>("time_mask")];
131
+ tensor<int32, [1]> var_186_axes_0 = const()[name = tensor<string, []>("op_186_axes_0"), val = tensor<int32, [1]>([-1])];
132
+ tensor<bool, [1, 121, 1]> var_186 = expand_dims(axes = var_186_axes_0, x = time_mask)[name = tensor<string, []>("op_186")];
133
+ tensor<int32, [3]> var_188_reps_0 = const()[name = tensor<string, []>("op_188_reps_0"), val = tensor<int32, [3]>([1, 1, 16])];
134
+ tensor<bool, [1, 121, 16]> var_188 = tile(reps = var_188_reps_0, x = var_186)[name = tensor<string, []>("op_188")];
135
+ tensor<int32, [1]> var_194_axes_0 = const()[name = tensor<string, []>("op_194_axes_0"), val = tensor<int32, [1]>([1])];
136
+ tensor<string, []> cast_8_to_fp16_dtype_0 = const()[name = tensor<string, []>("cast_8_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
137
+ tensor<fp16, [1, 121, 16]> var_188_to_fp16 = cast(dtype = cast_8_to_fp16_dtype_0, x = var_188)[name = tensor<string, []>("cast_24")];
138
+ tensor<fp16, [1, 1, 121, 16]> var_194_cast_fp16 = expand_dims(axes = var_194_axes_0, x = var_188_to_fp16)[name = tensor<string, []>("op_194_cast_fp16")];
139
+ tensor<int32, [4]> expanded_mask_13_reps_0 = const()[name = tensor<string, []>("expanded_mask_13_reps_0"), val = tensor<int32, [4]>([1, 256, 1, 1])];
140
+ tensor<fp16, [1, 256, 121, 16]> expanded_mask_13_cast_fp16 = tile(reps = expanded_mask_13_reps_0, x = var_194_cast_fp16)[name = tensor<string, []>("expanded_mask_13_cast_fp16")];
141
+ tensor<fp16, [1, 256, 121, 16]> input_13_cast_fp16 = mul(x = tensor_13_cast_fp16, y = expanded_mask_13_cast_fp16)[name = tensor<string, []>("input_13_cast_fp16")];
142
+ tensor<string, []> tensor_15_pad_type_0 = const()[name = tensor<string, []>("tensor_15_pad_type_0"), val = tensor<string, []>("valid")];
143
+ tensor<int32, [2]> tensor_15_strides_0 = const()[name = tensor<string, []>("tensor_15_strides_0"), val = tensor<int32, [2]>([1, 1])];
144
+ tensor<int32, [4]> tensor_15_pad_0 = const()[name = tensor<string, []>("tensor_15_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
145
+ tensor<int32, [2]> tensor_15_dilations_0 = const()[name = tensor<string, []>("tensor_15_dilations_0"), val = tensor<int32, [2]>([1, 1])];
146
+ tensor<int32, []> tensor_15_groups_0 = const()[name = tensor<string, []>("tensor_15_groups_0"), val = tensor<int32, []>(1)];
147
+ tensor<fp16, [256, 256, 1, 1]> model_encoder_pre_encode_conv_6_weight_to_fp16 = const()[name = tensor<string, []>("model_encoder_pre_encode_conv_6_weight_to_fp16"), val = tensor<fp16, [256, 256, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/0-weight.bin"), offset = tensor<uint64, []>(147520)))];
148
+ tensor<fp16, [256]> model_encoder_pre_encode_conv_6_bias_to_fp16 = const()[name = tensor<string, []>("model_encoder_pre_encode_conv_6_bias_to_fp16"), val = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/0-weight.bin"), offset = tensor<uint64, []>(278656)))];
149
+ tensor<fp16, [1, 256, 121, 16]> tensor_15_cast_fp16 = conv(bias = model_encoder_pre_encode_conv_6_bias_to_fp16, dilations = tensor_15_dilations_0, groups = tensor_15_groups_0, pad = tensor_15_pad_0, pad_type = tensor_15_pad_type_0, strides = tensor_15_strides_0, weight = model_encoder_pre_encode_conv_6_weight_to_fp16, x = input_13_cast_fp16)[name = tensor<string, []>("tensor_15_cast_fp16")];
150
+ tensor<fp16, [1, 256, 121, 16]> input_15_cast_fp16 = mul(x = tensor_15_cast_fp16, y = expanded_mask_13_cast_fp16)[name = tensor<string, []>("input_15_cast_fp16")];
151
+ tensor<fp16, [1, 256, 121, 16]> tensor_cast_fp16 = relu(x = input_15_cast_fp16)[name = tensor<string, []>("tensor_cast_fp16")];
152
+ tensor<fp16, [1, 256, 121, 16]> x_cast_fp16 = mul(x = tensor_cast_fp16, y = expanded_mask_13_cast_fp16)[name = tensor<string, []>("x_cast_fp16")];
153
+ tensor<int32, [4]> var_228_perm_0 = const()[name = tensor<string, []>("op_228_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
154
+ tensor<int32, [3]> var_229 = const()[name = tensor<string, []>("op_229"), val = tensor<int32, [3]>([1, 121, -1])];
155
+ tensor<fp16, [1, 121, 256, 16]> var_228_cast_fp16 = transpose(perm = var_228_perm_0, x = x_cast_fp16)[name = tensor<string, []>("transpose_0")];
156
+ tensor<fp16, [1, 121, 4096]> input_cast_fp16 = reshape(shape = var_229, x = var_228_cast_fp16)[name = tensor<string, []>("input_cast_fp16")];
157
+ tensor<fp16, [512, 4096]> model_encoder_pre_encode_out_weight_to_fp16 = const()[name = tensor<string, []>("model_encoder_pre_encode_out_weight_to_fp16"), val = tensor<fp16, [512, 4096]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/0-weight.bin"), offset = tensor<uint64, []>(279232)))];
158
+ tensor<fp16, [512]> model_encoder_pre_encode_out_bias_to_fp16 = const()[name = tensor<string, []>("model_encoder_pre_encode_out_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/0-weight.bin"), offset = tensor<uint64, []>(4473600)))];
159
+ tensor<fp16, [1, 121, 512]> linear_0_cast_fp16 = linear(bias = model_encoder_pre_encode_out_bias_to_fp16, weight = model_encoder_pre_encode_out_weight_to_fp16, x = input_cast_fp16)[name = tensor<string, []>("linear_0_cast_fp16")];
160
+ tensor<string, []> linear_0_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("linear_0_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
161
+ tensor<string, []> cast_11_dtype_0 = const()[name = tensor<string, []>("cast_11_dtype_0"), val = tensor<string, []>("int32")];
162
+ tensor<int32, [1]> cap0 = const()[name = tensor<string, []>("cap0"), val = tensor<int32, [1]>([188])];
163
+ tensor<int32, [1]> cap1 = const()[name = tensor<string, []>("cap1"), val = tensor<int32, [1]>([40])];
164
+ tensor<int32, []> var_264 = const()[name = tensor<string, []>("op_264"), val = tensor<int32, []>(1)];
165
+ tensor<bool, []> full_interleave_0 = const()[name = tensor<string, []>("full_interleave_0"), val = tensor<bool, []>(false)];
166
+ tensor<string, []> spkcache_to_fp16_dtype_0 = const()[name = tensor<string, []>("spkcache_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
167
+ tensor<string, []> fifo_to_fp16_dtype_0 = const()[name = tensor<string, []>("fifo_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
168
+ tensor<fp16, [1, 40, 512]> fifo_to_fp16 = cast(dtype = fifo_to_fp16_dtype_0, x = fifo)[name = tensor<string, []>("cast_20")];
169
+ tensor<fp16, [1, 188, 512]> spkcache_to_fp16 = cast(dtype = spkcache_to_fp16_dtype_0, x = spkcache)[name = tensor<string, []>("cast_21")];
170
+ tensor<fp16, [1, 349, 512]> full_cast_fp16 = concat(axis = var_264, interleave = full_interleave_0, values = (spkcache_to_fp16, fifo_to_fp16, linear_0_cast_fp16))[name = tensor<string, []>("full_cast_fp16")];
171
+ tensor<int32, [1]> var_273 = add(x = spkcache_lengths, y = fifo_lengths)[name = tensor<string, []>("op_273")];
172
+ tensor<int32, [1]> chunk_pre_encoder_lengths = cast(dtype = cast_11_dtype_0, x = current_lengths_cast_fp16)[name = tensor<string, []>("cast_22")];
173
+ tensor<int32, [1]> pre_encoder_lengths = add(x = var_273, y = chunk_pre_encoder_lengths)[name = tensor<string, []>("total_length")];
174
+ tensor<int32, [349]> positions = const()[name = tensor<string, []>("positions"), val = tensor<int32, [349]>([0, 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])];
175
+ tensor<bool, [349]> var_284 = greater_equal(x = positions, y = spkcache_lengths)[name = tensor<string, []>("op_284")];
176
+ tensor<string, []> cast_12_dtype_0 = const()[name = tensor<string, []>("cast_12_dtype_0"), val = tensor<string, []>("int32")];
177
+ tensor<bool, [349]> var_290 = greater_equal(x = positions, y = var_273)[name = tensor<string, []>("op_290")];
178
+ tensor<string, []> cast_13_dtype_0 = const()[name = tensor<string, []>("cast_13_dtype_0"), val = tensor<string, []>("int32")];
179
+ tensor<int32, [1]> var_297 = sub(x = cap0, y = spkcache_lengths)[name = tensor<string, []>("op_297")];
180
+ tensor<int32, [349]> cast_12 = cast(dtype = cast_12_dtype_0, x = var_284)[name = tensor<string, []>("cast_19")];
181
+ tensor<int32, [349]> var_298 = mul(x = cast_12, y = var_297)[name = tensor<string, []>("op_298")];
182
+ tensor<int32, [1]> var_300 = sub(x = cap1, y = fifo_lengths)[name = tensor<string, []>("op_300")];
183
+ tensor<int32, [349]> cast_13 = cast(dtype = cast_13_dtype_0, x = var_290)[name = tensor<string, []>("cast_18")];
184
+ tensor<int32, [349]> var_301 = mul(x = cast_13, y = var_300)[name = tensor<string, []>("op_301")];
185
+ tensor<int32, [349]> offset = add(x = var_298, y = var_301)[name = tensor<string, []>("offset")];
186
+ tensor<int32, [349]> var_305 = add(x = positions, y = offset)[name = tensor<string, []>("op_305")];
187
+ tensor<int32, []> var_309 = const()[name = tensor<string, []>("op_309"), val = tensor<int32, []>(348)];
188
+ tensor<int32, []> var_310 = const()[name = tensor<string, []>("op_310"), val = tensor<int32, []>(0)];
189
+ tensor<int32, [349]> minimum_0 = minimum(x = var_305, y = var_309)[name = tensor<string, []>("minimum_0")];
190
+ tensor<int32, [349]> maximum_0 = maximum(x = minimum_0, y = var_310)[name = tensor<string, []>("maximum_0")];
191
+ tensor<int32, [1]> var_313_axes_0 = const()[name = tensor<string, []>("op_313_axes_0"), val = tensor<int32, [1]>([0])];
192
+ tensor<int32, [1, 349]> var_313 = expand_dims(axes = var_313_axes_0, x = maximum_0)[name = tensor<string, []>("op_313")];
193
+ tensor<int32, [1]> var_315_axes_0 = const()[name = tensor<string, []>("op_315_axes_0"), val = tensor<int32, [1]>([-1])];
194
+ tensor<int32, [1, 349, 1]> var_315 = expand_dims(axes = var_315_axes_0, x = var_313)[name = tensor<string, []>("op_315")];
195
+ tensor<int32, [3]> gather_idx_reps_0 = const()[name = tensor<string, []>("gather_idx_reps_0"), val = tensor<int32, [3]>([1, 1, 512])];
196
+ tensor<int32, [1, 349, 512]> gather_idx = tile(reps = gather_idx_reps_0, x = var_315)[name = tensor<string, []>("gather_idx")];
197
+ tensor<int32, []> var_320 = const()[name = tensor<string, []>("op_320"), val = tensor<int32, []>(1)];
198
+ tensor<bool, []> packed_validate_indices_0 = const()[name = tensor<string, []>("packed_validate_indices_0"), val = tensor<bool, []>(false)];
199
+ tensor<string, []> gather_idx_to_int16_dtype_0 = const()[name = tensor<string, []>("gather_idx_to_int16_dtype_0"), val = tensor<string, []>("int16")];
200
+ tensor<int16, [1, 349, 512]> gather_idx_to_int16 = cast(dtype = gather_idx_to_int16_dtype_0, x = gather_idx)[name = tensor<string, []>("cast_17")];
201
+ tensor<fp16, [1, 349, 512]> packed_cast_fp16_cast_uint16 = gather_along_axis(axis = var_320, indices = gather_idx_to_int16, validate_indices = packed_validate_indices_0, x = full_cast_fp16)[name = tensor<string, []>("packed_cast_fp16_cast_uint16")];
202
+ tensor<bool, [349]> var_323 = less(x = positions, y = pre_encoder_lengths)[name = tensor<string, []>("op_323")];
203
+ tensor<int32, [1]> var_330_axes_0 = const()[name = tensor<string, []>("op_330_axes_0"), val = tensor<int32, [1]>([0])];
204
+ tensor<string, []> cast_14_to_fp16_dtype_0 = const()[name = tensor<string, []>("cast_14_to_fp16_dtype_0"), val = tensor<string, []>("fp16")];
205
+ tensor<fp16, [349]> var_323_to_fp16 = cast(dtype = cast_14_to_fp16_dtype_0, x = var_323)[name = tensor<string, []>("cast_16")];
206
+ tensor<fp16, [1, 349]> var_330_cast_fp16 = expand_dims(axes = var_330_axes_0, x = var_323_to_fp16)[name = tensor<string, []>("op_330_cast_fp16")];
207
+ tensor<int32, [1]> valid_mask_axes_0 = const()[name = tensor<string, []>("valid_mask_axes_0"), val = tensor<int32, [1]>([-1])];
208
+ tensor<fp16, [1, 349, 1]> valid_mask_cast_fp16 = expand_dims(axes = valid_mask_axes_0, x = var_330_cast_fp16)[name = tensor<string, []>("valid_mask_cast_fp16")];
209
+ tensor<fp16, [1, 349, 512]> var_333_cast_fp16 = mul(x = packed_cast_fp16_cast_uint16, y = valid_mask_cast_fp16)[name = tensor<string, []>("op_333_cast_fp16")];
210
+ tensor<string, []> var_333_cast_fp16_to_fp32_dtype_0 = const()[name = tensor<string, []>("op_333_cast_fp16_to_fp32_dtype_0"), val = tensor<string, []>("fp32")];
211
+ tensor<fp32, [1, 349, 512]> pre_encoder_embs = cast(dtype = var_333_cast_fp16_to_fp32_dtype_0, x = var_333_cast_fp16)[name = tensor<string, []>("cast_15")];
212
+ tensor<fp32, [1, 121, 512]> chunk_pre_encoder_embs = cast(dtype = linear_0_cast_fp16_to_fp32_dtype_0, x = linear_0_cast_fp16)[name = tensor<string, []>("cast_23")];
213
+ } -> (pre_encoder_embs, pre_encoder_lengths, chunk_pre_encoder_embs, chunk_pre_encoder_lengths);
214
+ }
Sortformer_balanced.mlmodelc/model0/weights/0-weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:232fce1518edd08b1fcb0b39add3e7307c8c3ca3e6afa170f6937c57617d38e1
3
+ size 4474688
Sortformer_balanced.mlmodelc/model1/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a8281049b2a65a3be541cfd9f949e84b8fe1c5251ce90e46da1626fed54e58a
3
+ size 108
Sortformer_balanced.mlmodelc/model1/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe0dd3746ab08883b154d370a7ba62e1c61b51c11ee11d63b0b82952fbf231c8
3
+ size 539
Sortformer_balanced.mlmodelc/model1/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
Sortformer_balanced.mlmodelc/model1/weights/1-weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9affe7c94f0320bcb06520774f53e26b084f654f0da260c1137ab96cee30b86
3
+ size 234153536