alexwengg commited on
Commit
2ad731b
·
verified ·
1 Parent(s): f69b68c

Upload 73 files

Browse files
Files changed (37) hide show
  1. ANE/styletts2_ane_alignment.mlmodelc/coremldata.bin +1 -1
  2. ANE/styletts2_ane_alignment.mlmodelc/metadata.json +2 -2
  3. ANE/styletts2_ane_diffusion_step.mlmodelc/coremldata.bin +1 -1
  4. ANE/styletts2_ane_diffusion_step.mlmodelc/metadata.json +2 -2
  5. ANE/styletts2_ane_noise.mlmodelc/coremldata.bin +1 -1
  6. ANE/styletts2_ane_plbert.mlmodelc/coremldata.bin +1 -1
  7. ANE/styletts2_ane_postbert.mlmodelc/analytics/coremldata.bin +1 -1
  8. ANE/styletts2_ane_postbert.mlmodelc/coremldata.bin +1 -1
  9. ANE/styletts2_ane_postbert.mlmodelc/metadata.json +16 -15
  10. ANE/styletts2_ane_postbert.mlmodelc/model.mil +104 -104
  11. ANE/styletts2_ane_postbert.mlmodelc/weights/weight.bin +2 -2
  12. ANE/styletts2_ane_postbert.mlpackage/Data/com.apple.CoreML/model.mlmodel +2 -2
  13. ANE/styletts2_ane_postbert.mlpackage/Data/com.apple.CoreML/weights/weight.bin +2 -2
  14. ANE/styletts2_ane_postbert.mlpackage/Manifest.json +8 -8
  15. ANE/styletts2_ane_prosody.mlmodelc/coremldata.bin +1 -1
  16. ANE/styletts2_ane_vocoder.mlmodelc/analytics/coremldata.bin +1 -1
  17. ANE/styletts2_ane_vocoder.mlmodelc/coremldata.bin +2 -2
  18. ANE/styletts2_ane_vocoder.mlmodelc/metadata.json +31 -40
  19. ANE/styletts2_ane_vocoder.mlmodelc/model.mil +0 -0
  20. ANE/styletts2_ane_vocoder.mlmodelc/weights/weight.bin +2 -2
  21. ANE/voices/ref_s_1221-135767-0014.bin +3 -0
  22. ANE/voices/ref_s_1789_142896_000022_000005.bin +3 -0
  23. ANE/voices/ref_s_3.bin +3 -0
  24. ANE/voices/ref_s_4.bin +3 -0
  25. ANE/voices/ref_s_4077-13754-0000.bin +3 -0
  26. ANE/voices/ref_s_5.bin +3 -0
  27. ANE/voices/ref_s_5639-40744-0020.bin +3 -0
  28. ANE/voices/ref_s_696_92939_000016_000006.bin +3 -0
  29. ANE/voices/ref_s_908-157963-0027.bin +3 -0
  30. ANE/voices/ref_s_Gavin.bin +3 -0
  31. ANE/voices/ref_s_Nima.bin +3 -0
  32. ANE/voices/ref_s_Vinay.bin +3 -0
  33. ANE/voices/ref_s_Yinghao.bin +3 -0
  34. ANE/voices/ref_s_amused.bin +3 -0
  35. ANE/voices/ref_s_anger.bin +3 -0
  36. ANE/voices/ref_s_disgusted.bin +3 -0
  37. ANE/voices/ref_s_sleepy.bin +3 -0
ANE/styletts2_ane_alignment.mlmodelc/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2578251e92caabd70dd2d68c453e0ed86d05c2e7db9b5511e25a9287c9fdeee9
3
  size 519
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31fa9477923511300c42fe4a4477909ffa6c97ab70252d26f441c561d980f1ce
3
  size 519
ANE/styletts2_ane_alignment.mlmodelc/metadata.json CHANGED
@@ -94,9 +94,9 @@
94
  }
95
  ],
96
  "userDefinedMetadata" : {
 
97
  "com.github.apple.coremltools.source_dialect" : "TorchScript",
98
- "com.github.apple.coremltools.source" : "torch==2.11.0",
99
- "com.github.apple.coremltools.version" : "8.3.0"
100
  },
101
  "generatedClassName" : "styletts2_ane_alignment",
102
  "method" : "predict"
 
94
  }
95
  ],
96
  "userDefinedMetadata" : {
97
+ "com.github.apple.coremltools.version" : "8.3.0",
98
  "com.github.apple.coremltools.source_dialect" : "TorchScript",
99
+ "com.github.apple.coremltools.source" : "torch==2.11.0"
 
100
  },
101
  "generatedClassName" : "styletts2_ane_alignment",
102
  "method" : "predict"
ANE/styletts2_ane_diffusion_step.mlmodelc/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:979bc3282748bfae788bd403e1bd2c91ff6e9f348e90545b14cb80c0aab0cf57
3
  size 472
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56190538745103a0483d4249d07ce77618a2e23ec537d6a06103ed9f33fa27b0
3
  size 472
ANE/styletts2_ane_diffusion_step.mlmodelc/metadata.json CHANGED
@@ -106,8 +106,8 @@
106
  ],
107
  "userDefinedMetadata" : {
108
  "com.github.apple.coremltools.source_dialect" : "TorchScript",
109
- "com.github.apple.coremltools.version" : "8.3.0",
110
- "com.github.apple.coremltools.source" : "torch==2.11.0"
111
  },
112
  "generatedClassName" : "styletts2_ane_diffusion_step",
113
  "method" : "predict"
 
106
  ],
107
  "userDefinedMetadata" : {
108
  "com.github.apple.coremltools.source_dialect" : "TorchScript",
109
+ "com.github.apple.coremltools.source" : "torch==2.11.0",
110
+ "com.github.apple.coremltools.version" : "8.3.0"
111
  },
112
  "generatedClassName" : "styletts2_ane_diffusion_step",
113
  "method" : "predict"
ANE/styletts2_ane_noise.mlmodelc/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:848949d5bf9dd6db5ef5cd49faa59a9ecfe47efcf442562eb568471c9787ff16
3
  size 407
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70c88a08bda3ad733ac2cad2cb90012b51ea81e2b8eef7680a8dfe7ff6731d54
3
  size 407
ANE/styletts2_ane_plbert.mlmodelc/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e968b81438916aee673e4daa1410ca1b6490946302de377e2a3c96389f8c9bed
3
  size 380
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a36584b83542236b10da229c5cb36a30d9ead114ee086e11fe7023d2a54164d
3
  size 380
ANE/styletts2_ane_postbert.mlmodelc/analytics/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:140544065220d26a02c8c8c6592a298c95dd14b80c0b22bc4005189cc86698d2
3
  size 243
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a52227f7c26ca3ef5fa3069d2efc614c652412125fad1d2838ecccb4c0e293e0
3
  size 243
ANE/styletts2_ane_postbert.mlmodelc/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dde3c94cb2d81022ada31a29ca27224bdc7d3c75672565969188fe7be761c172
3
  size 542
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19aff2a2236725dc1051a37174fe4380e7231c609591527522b114294a86932f
3
  size 542
ANE/styletts2_ane_postbert.mlmodelc/metadata.json CHANGED
@@ -44,31 +44,32 @@
44
  "type" : "MultiArray"
45
  }
46
  ],
47
- "storagePrecision" : "Float16",
48
  "modelParameters" : [
49
 
50
  ],
51
  "specificationVersion" : 8,
52
  "mlProgramOperationTypeHistogram" : {
53
- "Split" : 3,
54
- "Ios17.mul" : 3,
55
- "Ios17.linear" : 5,
56
  "Ios17.transpose" : 27,
57
- "Ios17.sub" : 2,
58
- "Ios16.fillLike" : 1,
59
- "Ios17.conv" : 3,
60
- "Ios16.cumsum" : 1,
61
- "Ios17.leakyRelu" : 3,
62
- "Ios17.gather" : 2,
63
  "Ios17.add" : 7,
64
  "Ios17.sliceByIndex" : 3,
65
- "Ios17.lstm" : 5,
66
- "Ios17.concat" : 4,
67
- "Ios17.expandDims" : 2,
68
  "Ios17.squeeze" : 1,
69
- "Ios17.cast" : 3,
70
  "Ios17.layerNorm" : 6,
71
- "Ios17.reshape" : 3
 
 
 
 
 
 
 
 
 
72
  },
73
  "computePrecision" : "Mixed (Float16, Float32, Int16, Int32, UInt16)",
74
  "isUpdatable" : "0",
 
44
  "type" : "MultiArray"
45
  }
46
  ],
47
+ "storagePrecision" : "Mixed (Float16, Palettized (8 bits))",
48
  "modelParameters" : [
49
 
50
  ],
51
  "specificationVersion" : 8,
52
  "mlProgramOperationTypeHistogram" : {
53
+ "Ios17.reshape" : 3,
 
 
54
  "Ios17.transpose" : 27,
55
+ "Split" : 3,
56
+ "Ios17.expandDims" : 2,
 
 
 
 
57
  "Ios17.add" : 7,
58
  "Ios17.sliceByIndex" : 3,
59
+ "Ios16.fillLike" : 1,
 
 
60
  "Ios17.squeeze" : 1,
61
+ "Ios17.gather" : 2,
62
  "Ios17.layerNorm" : 6,
63
+ "Ios17.conv" : 3,
64
+ "Ios17.sub" : 2,
65
+ "Ios16.constexprLutToDense" : 30,
66
+ "Ios17.lstm" : 5,
67
+ "Ios17.cast" : 3,
68
+ "Ios17.linear" : 5,
69
+ "Ios17.leakyRelu" : 3,
70
+ "Ios17.concat" : 4,
71
+ "Ios16.cumsum" : 1,
72
+ "Ios17.mul" : 3
73
  },
74
  "computePrecision" : "Mixed (Float16, Float32, Int16, Int32, UInt16)",
75
  "isUpdatable" : "0",
ANE/styletts2_ane_postbert.mlmodelc/model.mil CHANGED
@@ -1,69 +1,69 @@
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<fp16, [1, ?, 768]> bert_dur, tensor<fp16, [1, 256]> style, tensor<int32, [1, ?]> tokens) [FlexibleShapeInformation = tuple<tuple<tensor<string, []>, dict<tensor<string, []>, tensor<int32, [?]>>>, tuple<tensor<string, []>, dict<tensor<string, []>, list<tensor<int32, [2]>, ?>>>>((("DefaultShapes", {{"bert_dur", [1, 64, 768]}, {"tokens", [1, 64]}}), ("RangeDims", {{"bert_dur", [[1, 1], [2, 512], [768, 768]]}, {"tokens", [[1, 1], [2, 512]]}})))] {
5
- tensor<int32, [2]> style_begin_0 = const()[name = tensor<string, []>("style_begin_0"), val = tensor<int32, [2]>([0, 0])];
6
- tensor<int32, [2]> style_end_0 = const()[name = tensor<string, []>("style_end_0"), val = tensor<int32, [2]>([1, 128])];
7
- tensor<bool, [2]> style_end_mask_0 = const()[name = tensor<string, []>("style_end_mask_0"), val = tensor<bool, [2]>([true, false])];
8
  tensor<fp16, [1, 128]> style_cast_fp16 = slice_by_index(begin = style_begin_0, end = style_end_0, end_mask = style_end_mask_0, x = style)[name = tensor<string, []>("style_cast_fp16")];
9
  tensor<fp32, []> var_30 = const()[name = tensor<string, []>("op_30"), val = tensor<fp32, []>(0x1.99999ap-3)];
10
  tensor<int32, []> x_1_axis_0 = const()[name = tensor<string, []>("x_1_axis_0"), val = tensor<int32, []>(0)];
11
  tensor<int32, []> x_1_batch_dims_0 = const()[name = tensor<string, []>("x_1_batch_dims_0"), val = tensor<int32, []>(0)];
12
  tensor<bool, []> x_1_validate_indices_0 = const()[name = tensor<string, []>("x_1_validate_indices_0"), val = tensor<bool, []>(false)];
13
- tensor<fp16, [178, 512]> text_encoder_embedding_weight_to_fp16 = const()[name = tensor<string, []>("text_encoder_embedding_weight_to_fp16"), val = tensor<fp16, [178, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(64)))];
14
  tensor<string, []> tokens_to_int16_dtype_0 = const()[name = tensor<string, []>("tokens_to_int16_dtype_0"), val = tensor<string, []>("int16")];
15
- tensor<int16, [1, ?]> tokens_to_int16 = cast(dtype = tokens_to_int16_dtype_0, x = tokens)[name = tensor<string, []>("cast_14")];
16
- tensor<fp16, [1, ?, 512]> x_1_cast_fp16_cast_uint16 = gather(axis = x_1_axis_0, batch_dims = x_1_batch_dims_0, indices = tokens_to_int16, validate_indices = x_1_validate_indices_0, x = text_encoder_embedding_weight_to_fp16)[name = tensor<string, []>("x_1_cast_fp16_cast_uint16")];
17
  tensor<int32, [3]> input_1_perm_0 = const()[name = tensor<string, []>("input_1_perm_0"), val = tensor<int32, [3]>([0, 2, 1])];
18
  tensor<string, []> x_3_pad_type_0 = const()[name = tensor<string, []>("x_3_pad_type_0"), val = tensor<string, []>("custom")];
19
  tensor<int32, [2]> x_3_pad_0 = const()[name = tensor<string, []>("x_3_pad_0"), val = tensor<int32, [2]>([2, 2])];
20
  tensor<int32, [1]> x_3_strides_0 = const()[name = tensor<string, []>("x_3_strides_0"), val = tensor<int32, [1]>([1])];
21
  tensor<int32, [1]> x_3_dilations_0 = const()[name = tensor<string, []>("x_3_dilations_0"), val = tensor<int32, [1]>([1])];
22
  tensor<int32, []> x_3_groups_0 = const()[name = tensor<string, []>("x_3_groups_0"), val = tensor<int32, []>(1)];
23
- tensor<fp16, [512, 512, 5]> weight_3_to_fp16 = const()[name = tensor<string, []>("weight_3_to_fp16"), val = tensor<fp16, [512, 512, 5]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(182400)))];
24
- tensor<fp16, [512]> text_encoder_cnn_0_0_bias_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_0_0_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2803904)))];
25
- tensor<fp16, [1, 512, ?]> input_1_cast_fp16 = transpose(perm = input_1_perm_0, x = x_1_cast_fp16_cast_uint16)[name = tensor<string, []>("transpose_36")];
26
- tensor<fp16, [1, 512, ?]> x_3_cast_fp16 = conv(bias = text_encoder_cnn_0_0_bias_to_fp16, dilations = x_3_dilations_0, groups = x_3_groups_0, pad = x_3_pad_0, pad_type = x_3_pad_type_0, strides = x_3_strides_0, weight = weight_3_to_fp16, x = input_1_cast_fp16)[name = tensor<string, []>("x_3_cast_fp16")];
27
  tensor<int32, [3]> input_3_perm_0 = const()[name = tensor<string, []>("input_3_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
28
  tensor<int32, [1]> x_5_axes_0 = const()[name = tensor<string, []>("x_5_axes_0"), val = tensor<int32, [1]>([-1])];
29
- tensor<fp16, [512]> text_encoder_cnn_0_1_gamma_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_0_1_gamma_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2804992)))];
30
- tensor<fp16, [512]> text_encoder_cnn_0_1_beta_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_0_1_beta_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2806080)))];
31
  tensor<fp16, []> var_28_to_fp16 = const()[name = tensor<string, []>("op_28_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
32
- tensor<fp16, [1, ?, 512]> input_3_cast_fp16 = transpose(perm = input_3_perm_0, x = x_3_cast_fp16)[name = tensor<string, []>("transpose_35")];
33
  tensor<fp16, [1, ?, 512]> x_5_cast_fp16 = layer_norm(axes = x_5_axes_0, beta = text_encoder_cnn_0_1_beta_to_fp16, epsilon = var_28_to_fp16, gamma = text_encoder_cnn_0_1_gamma_to_fp16, x = input_3_cast_fp16)[name = tensor<string, []>("x_5_cast_fp16")];
34
  tensor<int32, [3]> input_5_perm_0 = const()[name = tensor<string, []>("input_5_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
35
- tensor<fp16, [1, 512, ?]> input_5_cast_fp16 = transpose(perm = input_5_perm_0, x = x_5_cast_fp16)[name = tensor<string, []>("transpose_34")];
36
  tensor<fp16, [1, 512, ?]> input_7_cast_fp16 = leaky_relu(alpha = var_30, x = input_5_cast_fp16)[name = tensor<string, []>("input_7_cast_fp16")];
37
  tensor<string, []> x_7_pad_type_0 = const()[name = tensor<string, []>("x_7_pad_type_0"), val = tensor<string, []>("custom")];
38
  tensor<int32, [2]> x_7_pad_0 = const()[name = tensor<string, []>("x_7_pad_0"), val = tensor<int32, [2]>([2, 2])];
39
  tensor<int32, [1]> x_7_strides_0 = const()[name = tensor<string, []>("x_7_strides_0"), val = tensor<int32, [1]>([1])];
40
  tensor<int32, [1]> x_7_dilations_0 = const()[name = tensor<string, []>("x_7_dilations_0"), val = tensor<int32, [1]>([1])];
41
  tensor<int32, []> x_7_groups_0 = const()[name = tensor<string, []>("x_7_groups_0"), val = tensor<int32, []>(1)];
42
- tensor<fp16, [512, 512, 5]> weight_7_to_fp16 = const()[name = tensor<string, []>("weight_7_to_fp16"), val = tensor<fp16, [512, 512, 5]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2807168)))];
43
- tensor<fp16, [512]> text_encoder_cnn_1_0_bias_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_1_0_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5428672)))];
44
- tensor<fp16, [1, 512, ?]> x_7_cast_fp16 = conv(bias = text_encoder_cnn_1_0_bias_to_fp16, dilations = x_7_dilations_0, groups = x_7_groups_0, pad = x_7_pad_0, pad_type = x_7_pad_type_0, strides = x_7_strides_0, weight = weight_7_to_fp16, x = input_7_cast_fp16)[name = tensor<string, []>("x_7_cast_fp16")];
45
  tensor<int32, [3]> input_11_perm_0 = const()[name = tensor<string, []>("input_11_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
46
  tensor<int32, [1]> x_9_axes_0 = const()[name = tensor<string, []>("x_9_axes_0"), val = tensor<int32, [1]>([-1])];
47
- tensor<fp16, [512]> text_encoder_cnn_1_1_gamma_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_1_1_gamma_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5429760)))];
48
- tensor<fp16, [512]> text_encoder_cnn_1_1_beta_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_1_1_beta_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5430848)))];
49
- tensor<fp16, [1, ?, 512]> input_11_cast_fp16 = transpose(perm = input_11_perm_0, x = x_7_cast_fp16)[name = tensor<string, []>("transpose_33")];
50
  tensor<fp16, [1, ?, 512]> x_9_cast_fp16 = layer_norm(axes = x_9_axes_0, beta = text_encoder_cnn_1_1_beta_to_fp16, epsilon = var_28_to_fp16, gamma = text_encoder_cnn_1_1_gamma_to_fp16, x = input_11_cast_fp16)[name = tensor<string, []>("x_9_cast_fp16")];
51
  tensor<int32, [3]> input_13_perm_0 = const()[name = tensor<string, []>("input_13_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
52
- tensor<fp16, [1, 512, ?]> input_13_cast_fp16 = transpose(perm = input_13_perm_0, x = x_9_cast_fp16)[name = tensor<string, []>("transpose_32")];
53
  tensor<fp16, [1, 512, ?]> input_15_cast_fp16 = leaky_relu(alpha = var_30, x = input_13_cast_fp16)[name = tensor<string, []>("input_15_cast_fp16")];
54
  tensor<string, []> x_11_pad_type_0 = const()[name = tensor<string, []>("x_11_pad_type_0"), val = tensor<string, []>("custom")];
55
  tensor<int32, [2]> x_11_pad_0 = const()[name = tensor<string, []>("x_11_pad_0"), val = tensor<int32, [2]>([2, 2])];
56
  tensor<int32, [1]> x_11_strides_0 = const()[name = tensor<string, []>("x_11_strides_0"), val = tensor<int32, [1]>([1])];
57
  tensor<int32, [1]> x_11_dilations_0 = const()[name = tensor<string, []>("x_11_dilations_0"), val = tensor<int32, [1]>([1])];
58
  tensor<int32, []> x_11_groups_0 = const()[name = tensor<string, []>("x_11_groups_0"), val = tensor<int32, []>(1)];
59
- tensor<fp16, [512, 512, 5]> weight_11_to_fp16 = const()[name = tensor<string, []>("weight_11_to_fp16"), val = tensor<fp16, [512, 512, 5]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5431936)))];
60
- tensor<fp16, [512]> text_encoder_cnn_2_0_bias_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_2_0_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8053440)))];
61
- tensor<fp16, [1, 512, ?]> x_11_cast_fp16 = conv(bias = text_encoder_cnn_2_0_bias_to_fp16, dilations = x_11_dilations_0, groups = x_11_groups_0, pad = x_11_pad_0, pad_type = x_11_pad_type_0, strides = x_11_strides_0, weight = weight_11_to_fp16, x = input_15_cast_fp16)[name = tensor<string, []>("x_11_cast_fp16")];
62
  tensor<int32, [3]> input_19_perm_0 = const()[name = tensor<string, []>("input_19_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
63
  tensor<int32, [1]> x_13_axes_0 = const()[name = tensor<string, []>("x_13_axes_0"), val = tensor<int32, [1]>([-1])];
64
- tensor<fp16, [512]> text_encoder_cnn_2_1_gamma_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_2_1_gamma_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8054528)))];
65
- tensor<fp16, [512]> text_encoder_cnn_2_1_beta_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_2_1_beta_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8055616)))];
66
- tensor<fp16, [1, ?, 512]> input_19_cast_fp16 = transpose(perm = input_19_perm_0, x = x_11_cast_fp16)[name = tensor<string, []>("transpose_31")];
67
  tensor<fp16, [1, ?, 512]> x_13_cast_fp16 = layer_norm(axes = x_13_axes_0, beta = text_encoder_cnn_2_1_beta_to_fp16, epsilon = var_28_to_fp16, gamma = text_encoder_cnn_2_1_gamma_to_fp16, x = input_19_cast_fp16)[name = tensor<string, []>("x_13_cast_fp16")];
68
  tensor<fp16, [1, ?, 512]> input_23_cast_fp16 = leaky_relu(alpha = var_30, x = x_13_cast_fp16)[name = tensor<string, []>("input_23_cast_fp16")];
69
  tensor<int32, [3]> input_25_batch_first_transpose_perm_0 = const()[name = tensor<string, []>("input_25_batch_first_transpose_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
@@ -72,25 +72,25 @@ program(1.0)
72
  tensor<string, []> x_17_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("x_17_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
73
  tensor<string, []> x_17_batch_first_cell_activation_0 = const()[name = tensor<string, []>("x_17_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
74
  tensor<string, []> x_17_batch_first_activation_0 = const()[name = tensor<string, []>("x_17_batch_first_activation_0"), val = tensor<string, []>("tanh")];
75
- tensor<fp16, [1, 512]> x_17_batch_first_lstm_h0_reshaped_to_fp16 = const()[name = tensor<string, []>("x_17_batch_first_lstm_h0_reshaped_to_fp16"), val = tensor<fp16, [1, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8056704)))];
76
- tensor<fp16, [1024, 512]> concat_4_to_fp16 = const()[name = tensor<string, []>("concat_4_to_fp16"), val = tensor<fp16, [1024, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8057792)))];
77
- tensor<fp16, [1024, 256]> concat_5_to_fp16 = const()[name = tensor<string, []>("concat_5_to_fp16"), val = tensor<fp16, [1024, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9106432)))];
78
- tensor<fp16, [1024]> add_1_to_fp16 = const()[name = tensor<string, []>("add_1_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9630784)))];
79
- tensor<fp16, [1024, 512]> concat_6_to_fp16 = const()[name = tensor<string, []>("concat_6_to_fp16"), val = tensor<fp16, [1024, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9632896)))];
80
- tensor<fp16, [1024, 256]> concat_7_to_fp16 = const()[name = tensor<string, []>("concat_7_to_fp16"), val = tensor<fp16, [1024, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10681536)))];
81
- tensor<fp16, [1024]> add_2_to_fp16 = const()[name = tensor<string, []>("add_2_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11205888)))];
82
- tensor<fp16, [?, 1, 512]> input_25_batch_first_transpose_cast_fp16 = transpose(perm = input_25_batch_first_transpose_perm_0, x = input_23_cast_fp16)[name = tensor<string, []>("transpose_30")];
83
- tensor<fp16, [?, 1, 512]> x_17_batch_first_cast_fp16_0, tensor<fp16, [1, 512]> x_17_batch_first_cast_fp16_1, tensor<fp16, [1, 512]> x_17_batch_first_cast_fp16_2 = lstm(activation = x_17_batch_first_activation_0, bias = add_1_to_fp16, bias_back = add_2_to_fp16, cell_activation = x_17_batch_first_cell_activation_0, direction = x_17_batch_first_direction_0, initial_c = x_17_batch_first_lstm_h0_reshaped_to_fp16, initial_h = x_17_batch_first_lstm_h0_reshaped_to_fp16, output_sequence = x_17_batch_first_output_sequence_0, recurrent_activation = x_17_batch_first_recurrent_activation_0, weight_hh = concat_5_to_fp16, weight_hh_back = concat_7_to_fp16, weight_ih = concat_4_to_fp16, weight_ih_back = concat_6_to_fp16, x = input_25_batch_first_transpose_cast_fp16)[name = tensor<string, []>("x_17_batch_first_cast_fp16")];
84
  tensor<int32, [3]> transpose_0_perm_0 = const()[name = tensor<string, []>("transpose_0_perm_0"), val = tensor<int32, [3]>([1, 2, 0])];
85
- tensor<fp16, [512, 768]> bert_encoder_weight_to_fp16 = const()[name = tensor<string, []>("bert_encoder_weight_to_fp16"), val = tensor<fp16, [512, 768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11208000)))];
86
- tensor<fp16, [512]> bert_encoder_bias_to_fp16 = const()[name = tensor<string, []>("bert_encoder_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11994496)))];
87
- tensor<fp16, [1, ?, 512]> linear_0_cast_fp16 = linear(bias = bert_encoder_bias_to_fp16, weight = bert_encoder_weight_to_fp16, x = bert_dur)[name = tensor<string, []>("linear_0_cast_fp16")];
88
  tensor<int32, [3]> x_19_perm_0 = const()[name = tensor<string, []>("x_19_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
89
  tensor<int32, []> var_147 = const()[name = tensor<string, []>("op_147"), val = tensor<int32, []>(1)];
90
  tensor<int32, [3]> var_163_begin_0 = const()[name = tensor<string, []>("op_163_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
91
  tensor<int32, [3]> var_163_end_0 = const()[name = tensor<string, []>("op_163_end_0"), val = tensor<int32, [3]>([1, 1, 0])];
92
  tensor<bool, [3]> var_163_end_mask_0 = const()[name = tensor<string, []>("op_163_end_mask_0"), val = tensor<bool, [3]>([true, false, true])];
93
- tensor<fp16, [1, 512, ?]> x_19_cast_fp16 = transpose(perm = x_19_perm_0, x = linear_0_cast_fp16)[name = tensor<string, []>("transpose_28")];
94
  tensor<fp16, [1, 1, ?]> var_163_cast_fp16 = slice_by_index(begin = var_163_begin_0, end = var_163_end_0, end_mask = var_163_end_mask_0, x = x_19_cast_fp16)[name = tensor<string, []>("op_163_cast_fp16")];
95
  tensor<fp16, [1, 1, ?]> sub_0_cast_fp16 = sub(x = var_163_cast_fp16, y = var_163_cast_fp16)[name = tensor<string, []>("sub_0_cast_fp16")];
96
  tensor<int32, [1]> var_166_axes_0 = const()[name = tensor<string, []>("op_166_axes_0"), val = tensor<int32, [1]>([-1])];
@@ -104,18 +104,18 @@ program(1.0)
104
  tensor<string, []> input_29_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("input_29_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
105
  tensor<string, []> input_29_batch_first_cell_activation_0 = const()[name = tensor<string, []>("input_29_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
106
  tensor<string, []> input_29_batch_first_activation_0 = const()[name = tensor<string, []>("input_29_batch_first_activation_0"), val = tensor<string, []>("tanh")];
107
- tensor<fp16, [1024, 640]> concat_14_to_fp16 = const()[name = tensor<string, []>("concat_14_to_fp16"), val = tensor<fp16, [1024, 640]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11995584)))];
108
- tensor<fp16, [1024, 256]> concat_15_to_fp16 = const()[name = tensor<string, []>("concat_15_to_fp16"), val = tensor<fp16, [1024, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13306368)))];
109
- tensor<fp16, [1024]> add_4_to_fp16 = const()[name = tensor<string, []>("add_4_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13830720)))];
110
- tensor<fp16, [1024, 640]> concat_16_to_fp16 = const()[name = tensor<string, []>("concat_16_to_fp16"), val = tensor<fp16, [1024, 640]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13832832)))];
111
- tensor<fp16, [1024, 256]> concat_17_to_fp16 = const()[name = tensor<string, []>("concat_17_to_fp16"), val = tensor<fp16, [1024, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(15143616)))];
112
- tensor<fp16, [1024]> add_5_to_fp16 = const()[name = tensor<string, []>("add_5_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(15667968)))];
113
- tensor<fp16, [?, 1, 640]> transpose_1_cast_fp16 = transpose(perm = transpose_1_perm_0, x = x_21_cast_fp16)[name = tensor<string, []>("transpose_27")];
114
- tensor<fp16, [?, 1, 512]> input_29_batch_first_cast_fp16_0, tensor<fp16, [1, 512]> input_29_batch_first_cast_fp16_1, tensor<fp16, [1, 512]> input_29_batch_first_cast_fp16_2 = lstm(activation = input_29_batch_first_activation_0, bias = add_4_to_fp16, bias_back = add_5_to_fp16, cell_activation = input_29_batch_first_cell_activation_0, direction = input_29_batch_first_direction_0, initial_c = x_17_batch_first_lstm_h0_reshaped_to_fp16, initial_h = x_17_batch_first_lstm_h0_reshaped_to_fp16, output_sequence = input_29_batch_first_output_sequence_0, recurrent_activation = input_29_batch_first_recurrent_activation_0, weight_hh = concat_15_to_fp16, weight_hh_back = concat_17_to_fp16, weight_ih = concat_14_to_fp16, weight_ih_back = concat_16_to_fp16, x = transpose_1_cast_fp16)[name = tensor<string, []>("input_29_batch_first_cast_fp16")];
115
  tensor<int32, [3]> transpose_7_perm_0 = const()[name = tensor<string, []>("transpose_7_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
116
- tensor<fp16, [1024, 128]> duration_encoder_norms_0_fc_weight_to_fp16 = const()[name = tensor<string, []>("duration_encoder_norms_0_fc_weight_to_fp16"), val = tensor<fp16, [1024, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(15670080)))];
117
- tensor<fp16, [1024]> duration_encoder_norms_0_fc_bias_to_fp16 = const()[name = tensor<string, []>("duration_encoder_norms_0_fc_bias_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(15932288)))];
118
- tensor<fp16, [1, 1024]> linear_1_cast_fp16 = linear(bias = duration_encoder_norms_0_fc_bias_to_fp16, weight = duration_encoder_norms_0_fc_weight_to_fp16, x = style_cast_fp16)[name = tensor<string, []>("linear_1_cast_fp16")];
119
  tensor<int32, [3]> var_200 = const()[name = tensor<string, []>("op_200"), val = tensor<int32, [3]>([1, 1024, 1])];
120
  tensor<fp16, [1, 1024, 1]> h_3_cast_fp16 = reshape(shape = var_200, x = linear_1_cast_fp16)[name = tensor<string, []>("h_3_cast_fp16")];
121
  tensor<int32, [2]> var_202_split_sizes_0 = const()[name = tensor<string, []>("op_202_split_sizes_0"), val = tensor<int32, [2]>([512, 512])];
@@ -125,17 +125,17 @@ program(1.0)
125
  tensor<int32, [3]> beta_3_perm_0 = const()[name = tensor<string, []>("beta_3_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
126
  tensor<int32, [1]> x_31_axes_0 = const()[name = tensor<string, []>("x_31_axes_0"), val = tensor<int32, [1]>([-1])];
127
  tensor<fp16, []> var_136_to_fp16 = const()[name = tensor<string, []>("op_136_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
128
- tensor<fp16, [1, ?, 512]> transpose_7_cast_fp16 = transpose(perm = transpose_7_perm_0, x = input_29_batch_first_cast_fp16_0)[name = tensor<string, []>("transpose_26")];
129
  tensor<fp16, [1, ?, 512]> x_31_cast_fp16 = layer_norm(axes = x_31_axes_0, epsilon = var_136_to_fp16, x = transpose_7_cast_fp16)[name = tensor<string, []>("x_31_cast_fp16")];
130
  tensor<fp16, []> var_208_promoted_to_fp16 = const()[name = tensor<string, []>("op_208_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
131
- tensor<fp16, [1, 1, 512]> gamma_3_cast_fp16 = transpose(perm = gamma_3_perm_0, x = var_202_cast_fp16_0)[name = tensor<string, []>("transpose_25")];
132
  tensor<fp16, [1, 1, 512]> var_209_cast_fp16 = add(x = gamma_3_cast_fp16, y = var_208_promoted_to_fp16)[name = tensor<string, []>("op_209_cast_fp16")];
133
  tensor<fp16, [1, ?, 512]> var_210_cast_fp16 = mul(x = var_209_cast_fp16, y = x_31_cast_fp16)[name = tensor<string, []>("op_210_cast_fp16")];
134
- tensor<fp16, [1, 1, 512]> beta_3_cast_fp16 = transpose(perm = beta_3_perm_0, x = var_202_cast_fp16_1)[name = tensor<string, []>("transpose_24")];
135
  tensor<fp16, [1, ?, 512]> x_33_cast_fp16 = add(x = var_210_cast_fp16, y = beta_3_cast_fp16)[name = tensor<string, []>("x_33_cast_fp16")];
136
  tensor<int32, [3]> x_35_perm_0 = const()[name = tensor<string, []>("x_35_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
137
  tensor<bool, []> x_37_interleave_0 = const()[name = tensor<string, []>("x_37_interleave_0"), val = tensor<bool, []>(false)];
138
- tensor<fp16, [1, 512, ?]> x_35_cast_fp16 = transpose(perm = x_35_perm_0, x = x_33_cast_fp16)[name = tensor<string, []>("transpose_23")];
139
  tensor<fp16, [1, 640, ?]> x_37_cast_fp16 = concat(axis = var_147, interleave = x_37_interleave_0, values = (x_35_cast_fp16, s_chan_cast_fp16))[name = tensor<string, []>("x_37_cast_fp16")];
140
  tensor<int32, [3]> transpose_3_perm_0 = const()[name = tensor<string, []>("transpose_3_perm_0"), val = tensor<int32, [3]>([-1, 0, -2])];
141
  tensor<string, []> input_35_batch_first_direction_0 = const()[name = tensor<string, []>("input_35_batch_first_direction_0"), val = tensor<string, []>("bidirectional")];
@@ -143,18 +143,18 @@ program(1.0)
143
  tensor<string, []> input_35_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("input_35_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
144
  tensor<string, []> input_35_batch_first_cell_activation_0 = const()[name = tensor<string, []>("input_35_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
145
  tensor<string, []> input_35_batch_first_activation_0 = const()[name = tensor<string, []>("input_35_batch_first_activation_0"), val = tensor<string, []>("tanh")];
146
- tensor<fp16, [1024, 640]> concat_24_to_fp16 = const()[name = tensor<string, []>("concat_24_to_fp16"), val = tensor<fp16, [1024, 640]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(15934400)))];
147
- tensor<fp16, [1024, 256]> concat_25_to_fp16 = const()[name = tensor<string, []>("concat_25_to_fp16"), val = tensor<fp16, [1024, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(17245184)))];
148
- tensor<fp16, [1024]> add_7_to_fp16 = const()[name = tensor<string, []>("add_7_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(17769536)))];
149
- tensor<fp16, [1024, 640]> concat_26_to_fp16 = const()[name = tensor<string, []>("concat_26_to_fp16"), val = tensor<fp16, [1024, 640]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(17771648)))];
150
- tensor<fp16, [1024, 256]> concat_27_to_fp16 = const()[name = tensor<string, []>("concat_27_to_fp16"), val = tensor<fp16, [1024, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(19082432)))];
151
- tensor<fp16, [1024]> add_8_to_fp16 = const()[name = tensor<string, []>("add_8_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(19606784)))];
152
- tensor<fp16, [?, 1, 640]> transpose_3_cast_fp16 = transpose(perm = transpose_3_perm_0, x = x_37_cast_fp16)[name = tensor<string, []>("transpose_22")];
153
- tensor<fp16, [?, 1, 512]> input_35_batch_first_cast_fp16_0, tensor<fp16, [1, 512]> input_35_batch_first_cast_fp16_1, tensor<fp16, [1, 512]> input_35_batch_first_cast_fp16_2 = lstm(activation = input_35_batch_first_activation_0, bias = add_7_to_fp16, bias_back = add_8_to_fp16, cell_activation = input_35_batch_first_cell_activation_0, direction = input_35_batch_first_direction_0, initial_c = x_17_batch_first_lstm_h0_reshaped_to_fp16, initial_h = x_17_batch_first_lstm_h0_reshaped_to_fp16, output_sequence = input_35_batch_first_output_sequence_0, recurrent_activation = input_35_batch_first_recurrent_activation_0, weight_hh = concat_25_to_fp16, weight_hh_back = concat_27_to_fp16, weight_ih = concat_24_to_fp16, weight_ih_back = concat_26_to_fp16, x = transpose_3_cast_fp16)[name = tensor<string, []>("input_35_batch_first_cast_fp16")];
154
  tensor<int32, [3]> transpose_8_perm_0 = const()[name = tensor<string, []>("transpose_8_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
155
- tensor<fp16, [1024, 128]> duration_encoder_norms_1_fc_weight_to_fp16 = const()[name = tensor<string, []>("duration_encoder_norms_1_fc_weight_to_fp16"), val = tensor<fp16, [1024, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(19608896)))];
156
- tensor<fp16, [1024]> duration_encoder_norms_1_fc_bias_to_fp16 = const()[name = tensor<string, []>("duration_encoder_norms_1_fc_bias_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(19871104)))];
157
- tensor<fp16, [1, 1024]> linear_2_cast_fp16 = linear(bias = duration_encoder_norms_1_fc_bias_to_fp16, weight = duration_encoder_norms_1_fc_weight_to_fp16, x = style_cast_fp16)[name = tensor<string, []>("linear_2_cast_fp16")];
158
  tensor<int32, [3]> var_247 = const()[name = tensor<string, []>("op_247"), val = tensor<int32, [3]>([1, 1024, 1])];
159
  tensor<fp16, [1, 1024, 1]> h_7_cast_fp16 = reshape(shape = var_247, x = linear_2_cast_fp16)[name = tensor<string, []>("h_7_cast_fp16")];
160
  tensor<int32, [2]> var_249_split_sizes_0 = const()[name = tensor<string, []>("op_249_split_sizes_0"), val = tensor<int32, [2]>([512, 512])];
@@ -163,17 +163,17 @@ program(1.0)
163
  tensor<int32, [3]> gamma_7_perm_0 = const()[name = tensor<string, []>("gamma_7_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
164
  tensor<int32, [3]> beta_7_perm_0 = const()[name = tensor<string, []>("beta_7_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
165
  tensor<int32, [1]> x_47_axes_0 = const()[name = tensor<string, []>("x_47_axes_0"), val = tensor<int32, [1]>([-1])];
166
- tensor<fp16, [1, ?, 512]> transpose_8_cast_fp16 = transpose(perm = transpose_8_perm_0, x = input_35_batch_first_cast_fp16_0)[name = tensor<string, []>("transpose_21")];
167
  tensor<fp16, [1, ?, 512]> x_47_cast_fp16 = layer_norm(axes = x_47_axes_0, epsilon = var_136_to_fp16, x = transpose_8_cast_fp16)[name = tensor<string, []>("x_47_cast_fp16")];
168
  tensor<fp16, []> var_255_promoted_to_fp16 = const()[name = tensor<string, []>("op_255_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
169
- tensor<fp16, [1, 1, 512]> gamma_7_cast_fp16 = transpose(perm = gamma_7_perm_0, x = var_249_cast_fp16_0)[name = tensor<string, []>("transpose_20")];
170
  tensor<fp16, [1, 1, 512]> var_256_cast_fp16 = add(x = gamma_7_cast_fp16, y = var_255_promoted_to_fp16)[name = tensor<string, []>("op_256_cast_fp16")];
171
  tensor<fp16, [1, ?, 512]> var_257_cast_fp16 = mul(x = var_256_cast_fp16, y = x_47_cast_fp16)[name = tensor<string, []>("op_257_cast_fp16")];
172
- tensor<fp16, [1, 1, 512]> beta_7_cast_fp16 = transpose(perm = beta_7_perm_0, x = var_249_cast_fp16_1)[name = tensor<string, []>("transpose_19")];
173
  tensor<fp16, [1, ?, 512]> x_49_cast_fp16 = add(x = var_257_cast_fp16, y = beta_7_cast_fp16)[name = tensor<string, []>("x_49_cast_fp16")];
174
  tensor<int32, [3]> x_51_perm_0 = const()[name = tensor<string, []>("x_51_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
175
  tensor<bool, []> x_53_interleave_0 = const()[name = tensor<string, []>("x_53_interleave_0"), val = tensor<bool, []>(false)];
176
- tensor<fp16, [1, 512, ?]> x_51_cast_fp16 = transpose(perm = x_51_perm_0, x = x_49_cast_fp16)[name = tensor<string, []>("transpose_18")];
177
  tensor<fp16, [1, 640, ?]> x_53_cast_fp16 = concat(axis = var_147, interleave = x_53_interleave_0, values = (x_51_cast_fp16, s_chan_cast_fp16))[name = tensor<string, []>("x_53_cast_fp16")];
178
  tensor<int32, [3]> transpose_5_perm_0 = const()[name = tensor<string, []>("transpose_5_perm_0"), val = tensor<int32, [3]>([-1, 0, -2])];
179
  tensor<string, []> input_41_batch_first_direction_0 = const()[name = tensor<string, []>("input_41_batch_first_direction_0"), val = tensor<string, []>("bidirectional")];
@@ -181,18 +181,18 @@ program(1.0)
181
  tensor<string, []> input_41_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("input_41_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
182
  tensor<string, []> input_41_batch_first_cell_activation_0 = const()[name = tensor<string, []>("input_41_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
183
  tensor<string, []> input_41_batch_first_activation_0 = const()[name = tensor<string, []>("input_41_batch_first_activation_0"), val = tensor<string, []>("tanh")];
184
- tensor<fp16, [1024, 640]> concat_34_to_fp16 = const()[name = tensor<string, []>("concat_34_to_fp16"), val = tensor<fp16, [1024, 640]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(19873216)))];
185
- tensor<fp16, [1024, 256]> concat_35_to_fp16 = const()[name = tensor<string, []>("concat_35_to_fp16"), val = tensor<fp16, [1024, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(21184000)))];
186
- tensor<fp16, [1024]> add_10_to_fp16 = const()[name = tensor<string, []>("add_10_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(21708352)))];
187
- tensor<fp16, [1024, 640]> concat_36_to_fp16 = const()[name = tensor<string, []>("concat_36_to_fp16"), val = tensor<fp16, [1024, 640]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(21710464)))];
188
- tensor<fp16, [1024, 256]> concat_37_to_fp16 = const()[name = tensor<string, []>("concat_37_to_fp16"), val = tensor<fp16, [1024, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(23021248)))];
189
- tensor<fp16, [1024]> add_11_to_fp16 = const()[name = tensor<string, []>("add_11_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(23545600)))];
190
- tensor<fp16, [?, 1, 640]> transpose_5_cast_fp16 = transpose(perm = transpose_5_perm_0, x = x_53_cast_fp16)[name = tensor<string, []>("transpose_17")];
191
- tensor<fp16, [?, 1, 512]> input_41_batch_first_cast_fp16_0, tensor<fp16, [1, 512]> input_41_batch_first_cast_fp16_1, tensor<fp16, [1, 512]> input_41_batch_first_cast_fp16_2 = lstm(activation = input_41_batch_first_activation_0, bias = add_10_to_fp16, bias_back = add_11_to_fp16, cell_activation = input_41_batch_first_cell_activation_0, direction = input_41_batch_first_direction_0, initial_c = x_17_batch_first_lstm_h0_reshaped_to_fp16, initial_h = x_17_batch_first_lstm_h0_reshaped_to_fp16, output_sequence = input_41_batch_first_output_sequence_0, recurrent_activation = input_41_batch_first_recurrent_activation_0, weight_hh = concat_35_to_fp16, weight_hh_back = concat_37_to_fp16, weight_ih = concat_34_to_fp16, weight_ih_back = concat_36_to_fp16, x = transpose_5_cast_fp16)[name = tensor<string, []>("input_41_batch_first_cast_fp16")];
192
  tensor<int32, [3]> transpose_9_perm_0 = const()[name = tensor<string, []>("transpose_9_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
193
- tensor<fp16, [1024, 128]> duration_encoder_norms_2_fc_weight_to_fp16 = const()[name = tensor<string, []>("duration_encoder_norms_2_fc_weight_to_fp16"), val = tensor<fp16, [1024, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(23547712)))];
194
- tensor<fp16, [1024]> duration_encoder_norms_2_fc_bias_to_fp16 = const()[name = tensor<string, []>("duration_encoder_norms_2_fc_bias_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(23809920)))];
195
- tensor<fp16, [1, 1024]> linear_3_cast_fp16 = linear(bias = duration_encoder_norms_2_fc_bias_to_fp16, weight = duration_encoder_norms_2_fc_weight_to_fp16, x = style_cast_fp16)[name = tensor<string, []>("linear_3_cast_fp16")];
196
  tensor<int32, [3]> var_294 = const()[name = tensor<string, []>("op_294"), val = tensor<int32, [3]>([1, 1024, 1])];
197
  tensor<fp16, [1, 1024, 1]> h_cast_fp16 = reshape(shape = var_294, x = linear_3_cast_fp16)[name = tensor<string, []>("h_cast_fp16")];
198
  tensor<int32, [2]> var_296_split_sizes_0 = const()[name = tensor<string, []>("op_296_split_sizes_0"), val = tensor<int32, [2]>([512, 512])];
@@ -201,17 +201,17 @@ program(1.0)
201
  tensor<int32, [3]> gamma_11_perm_0 = const()[name = tensor<string, []>("gamma_11_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
202
  tensor<int32, [3]> beta_11_perm_0 = const()[name = tensor<string, []>("beta_11_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
203
  tensor<int32, [1]> x_63_axes_0 = const()[name = tensor<string, []>("x_63_axes_0"), val = tensor<int32, [1]>([-1])];
204
- tensor<fp16, [1, ?, 512]> transpose_9_cast_fp16 = transpose(perm = transpose_9_perm_0, x = input_41_batch_first_cast_fp16_0)[name = tensor<string, []>("transpose_16")];
205
  tensor<fp16, [1, ?, 512]> x_63_cast_fp16 = layer_norm(axes = x_63_axes_0, epsilon = var_136_to_fp16, x = transpose_9_cast_fp16)[name = tensor<string, []>("x_63_cast_fp16")];
206
  tensor<fp16, []> var_302_promoted_to_fp16 = const()[name = tensor<string, []>("op_302_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
207
- tensor<fp16, [1, 1, 512]> gamma_11_cast_fp16 = transpose(perm = gamma_11_perm_0, x = var_296_cast_fp16_0)[name = tensor<string, []>("transpose_15")];
208
  tensor<fp16, [1, 1, 512]> var_303_cast_fp16 = add(x = gamma_11_cast_fp16, y = var_302_promoted_to_fp16)[name = tensor<string, []>("op_303_cast_fp16")];
209
  tensor<fp16, [1, ?, 512]> var_304_cast_fp16 = mul(x = var_303_cast_fp16, y = x_63_cast_fp16)[name = tensor<string, []>("op_304_cast_fp16")];
210
- tensor<fp16, [1, 1, 512]> beta_11_cast_fp16 = transpose(perm = beta_11_perm_0, x = var_296_cast_fp16_1)[name = tensor<string, []>("transpose_14")];
211
  tensor<fp16, [1, ?, 512]> x_65_cast_fp16 = add(x = var_304_cast_fp16, y = beta_11_cast_fp16)[name = tensor<string, []>("x_65_cast_fp16")];
212
  tensor<int32, [3]> x_67_perm_0 = const()[name = tensor<string, []>("x_67_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
213
  tensor<bool, []> x_interleave_0 = const()[name = tensor<string, []>("x_interleave_0"), val = tensor<bool, []>(false)];
214
- tensor<fp16, [1, 512, ?]> x_67_cast_fp16 = transpose(perm = x_67_perm_0, x = x_65_cast_fp16)[name = tensor<string, []>("transpose_13")];
215
  tensor<fp16, [1, 640, ?]> x_cast_fp16 = concat(axis = var_147, interleave = x_interleave_0, values = (x_67_cast_fp16, s_chan_cast_fp16))[name = tensor<string, []>("x_cast_fp16")];
216
  tensor<int32, [3]> input_45_perm_0 = const()[name = tensor<string, []>("input_45_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
217
  tensor<int32, [3]> input_45_batch_first_transpose_perm_0 = const()[name = tensor<string, []>("input_45_batch_first_transpose_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
@@ -220,20 +220,20 @@ program(1.0)
220
  tensor<string, []> input_47_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("input_47_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
221
  tensor<string, []> input_47_batch_first_cell_activation_0 = const()[name = tensor<string, []>("input_47_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
222
  tensor<string, []> input_47_batch_first_activation_0 = const()[name = tensor<string, []>("input_47_batch_first_activation_0"), val = tensor<string, []>("tanh")];
223
- tensor<fp16, [1024, 640]> concat_44_to_fp16 = const()[name = tensor<string, []>("concat_44_to_fp16"), val = tensor<fp16, [1024, 640]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(23812032)))];
224
- tensor<fp16, [1024, 256]> concat_45_to_fp16 = const()[name = tensor<string, []>("concat_45_to_fp16"), val = tensor<fp16, [1024, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(25122816)))];
225
- tensor<fp16, [1024]> add_13_to_fp16 = const()[name = tensor<string, []>("add_13_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(25647168)))];
226
- tensor<fp16, [1024, 640]> concat_46_to_fp16 = const()[name = tensor<string, []>("concat_46_to_fp16"), val = tensor<fp16, [1024, 640]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(25649280)))];
227
- tensor<fp16, [1024, 256]> concat_47_to_fp16 = const()[name = tensor<string, []>("concat_47_to_fp16"), val = tensor<fp16, [1024, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(26960064)))];
228
- tensor<fp16, [1024]> add_14_to_fp16 = const()[name = tensor<string, []>("add_14_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(27484416)))];
229
- tensor<fp16, [1, ?, 640]> d = transpose(perm = input_45_perm_0, x = x_cast_fp16)[name = tensor<string, []>("transpose_12")];
230
- tensor<fp16, [?, 1, 640]> input_45_batch_first_transpose_cast_fp16 = transpose(perm = input_45_batch_first_transpose_perm_0, x = d)[name = tensor<string, []>("transpose_11")];
231
- tensor<fp16, [?, 1, 512]> input_47_batch_first_cast_fp16_0, tensor<fp16, [1, 512]> input_47_batch_first_cast_fp16_1, tensor<fp16, [1, 512]> input_47_batch_first_cast_fp16_2 = lstm(activation = input_47_batch_first_activation_0, bias = add_13_to_fp16, bias_back = add_14_to_fp16, cell_activation = input_47_batch_first_cell_activation_0, direction = input_47_batch_first_direction_0, initial_c = x_17_batch_first_lstm_h0_reshaped_to_fp16, initial_h = x_17_batch_first_lstm_h0_reshaped_to_fp16, output_sequence = input_47_batch_first_output_sequence_0, recurrent_activation = input_47_batch_first_recurrent_activation_0, weight_hh = concat_45_to_fp16, weight_hh_back = concat_47_to_fp16, weight_ih = concat_44_to_fp16, weight_ih_back = concat_46_to_fp16, x = input_45_batch_first_transpose_cast_fp16)[name = tensor<string, []>("input_47_batch_first_cast_fp16")];
232
  tensor<int32, [3]> input_47_perm_0 = const()[name = tensor<string, []>("input_47_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
233
- tensor<fp16, [50, 512]> duration_proj_linear_layer_weight_to_fp16 = const()[name = tensor<string, []>("duration_proj_linear_layer_weight_to_fp16"), val = tensor<fp16, [50, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(27486528)))];
234
- tensor<fp16, [50]> duration_proj_linear_layer_bias_to_fp16 = const()[name = tensor<string, []>("duration_proj_linear_layer_bias_to_fp16"), val = tensor<fp16, [50]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(27537792)))];
235
- tensor<fp16, [1, ?, 512]> input_47_cast_fp16 = transpose(perm = input_47_perm_0, x = input_47_batch_first_cast_fp16_0)[name = tensor<string, []>("transpose_10")];
236
- tensor<fp16, [1, ?, 50]> pred_dur_log = linear(bias = duration_proj_linear_layer_bias_to_fp16, weight = duration_proj_linear_layer_weight_to_fp16, x = input_47_cast_fp16)[name = tensor<string, []>("linear_4_cast_fp16")];
237
  tensor<int32, []> var_345 = const()[name = tensor<string, []>("op_345"), val = tensor<int32, []>(-1)];
238
  tensor<int32, [3]> var_355_begin_0 = const()[name = tensor<string, []>("op_355_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
239
  tensor<int32, [3]> var_355_end_0 = const()[name = tensor<string, []>("op_355_end_0"), val = tensor<int32, [3]>([1, 0, 1])];
@@ -247,19 +247,19 @@ program(1.0)
247
  tensor<fp16, [1, ?]> var_357_cast_fp16 = cumsum(axis = var_345, exclusive = var_357_exclusive_0, reverse = var_357_reverse_0, x = fill_like_0_cast_fp16)[name = tensor<string, []>("op_357_cast_fp16")];
248
  tensor<string, []> cast_6_dtype_0 = const()[name = tensor<string, []>("cast_6_dtype_0"), val = tensor<string, []>("int32")];
249
  tensor<int32, []> var_359 = const()[name = tensor<string, []>("op_359"), val = tensor<int32, []>(1)];
250
- tensor<int32, [1, ?]> var_357_cast_fp16_to_int32 = cast(dtype = cast_6_dtype_0, x = var_357_cast_fp16)[name = tensor<string, []>("cast_13")];
251
  tensor<int32, [1, ?]> indices = sub(x = var_357_cast_fp16_to_int32, y = var_359)[name = tensor<string, []>("indices")];
252
  tensor<int32, [1]> input_axes_0 = const()[name = tensor<string, []>("input_axes_0"), val = tensor<int32, [1]>([0])];
253
  tensor<string, []> indices_to_uint16_dtype_0 = const()[name = tensor<string, []>("indices_to_uint16_dtype_0"), val = tensor<string, []>("uint16")];
254
- tensor<uint16, [1, ?]> indices_to_uint16 = cast(dtype = indices_to_uint16_dtype_0, x = indices)[name = tensor<string, []>("cast_12")];
255
  tensor<uint16, [?]> input_cast_uint16 = squeeze(axes = input_axes_0, x = indices_to_uint16)[name = tensor<string, []>("input_cast_uint16")];
256
  tensor<int32, []> fe_axis_0 = const()[name = tensor<string, []>("fe_axis_0"), val = tensor<int32, []>(0)];
257
  tensor<int32, []> fe_batch_dims_0 = const()[name = tensor<string, []>("fe_batch_dims_0"), val = tensor<int32, []>(0)];
258
  tensor<bool, []> fe_validate_indices_0 = const()[name = tensor<string, []>("fe_validate_indices_0"), val = tensor<bool, []>(false)];
259
- tensor<fp16, [512, 768]> fixed_embedding_embedding_weight_to_fp16 = const()[name = tensor<string, []>("fixed_embedding_embedding_weight_to_fp16"), val = tensor<fp16, [512, 768]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(27537984)))];
260
- tensor<fp16, [?, 768]> fe_cast_fp16_cast_uint16 = gather(axis = fe_axis_0, batch_dims = fe_batch_dims_0, indices = input_cast_uint16, validate_indices = fe_validate_indices_0, x = fixed_embedding_embedding_weight_to_fp16)[name = tensor<string, []>("fe_cast_fp16_cast_uint16")];
261
  tensor<int32, [1]> var_364_axes_0 = const()[name = tensor<string, []>("op_364_axes_0"), val = tensor<int32, [1]>([0])];
262
  tensor<fp16, [1, ?, 768]> fixed_embedding = expand_dims(axes = var_364_axes_0, x = fe_cast_fp16_cast_uint16)[name = tensor<string, []>("op_364_cast_fp16")];
263
- tensor<fp16, [1, 512, ?]> t_en = transpose(perm = transpose_0_perm_0, x = x_17_batch_first_cast_fp16_0)[name = tensor<string, []>("transpose_29")];
264
  } -> (t_en, d, pred_dur_log, fixed_embedding);
265
  }
 
1
  program(1.0)
2
+ [buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3520.4.1"}, {"coremlc-version", "3520.5.1"}})]
3
  {
4
  func main<ios17>(tensor<fp16, [1, ?, 768]> bert_dur, tensor<fp16, [1, 256]> style, tensor<int32, [1, ?]> tokens) [FlexibleShapeInformation = tuple<tuple<tensor<string, []>, dict<tensor<string, []>, tensor<int32, [?]>>>, tuple<tensor<string, []>, dict<tensor<string, []>, list<tensor<int32, [2]>, ?>>>>((("DefaultShapes", {{"bert_dur", [1, 64, 768]}, {"tokens", [1, 64]}}), ("RangeDims", {{"bert_dur", [[1, 1], [2, 512], [768, 768]]}, {"tokens", [[1, 1], [2, 512]]}})))] {
5
+ tensor<int32, [2]> style_begin_0 = const()[name = tensor<string, []>("style_begin_0"), val = tensor<int32, [2]>([0, 128])];
6
+ tensor<int32, [2]> style_end_0 = const()[name = tensor<string, []>("style_end_0"), val = tensor<int32, [2]>([1, 256])];
7
+ tensor<bool, [2]> style_end_mask_0 = const()[name = tensor<string, []>("style_end_mask_0"), val = tensor<bool, [2]>([true, true])];
8
  tensor<fp16, [1, 128]> style_cast_fp16 = slice_by_index(begin = style_begin_0, end = style_end_0, end_mask = style_end_mask_0, x = style)[name = tensor<string, []>("style_cast_fp16")];
9
  tensor<fp32, []> var_30 = const()[name = tensor<string, []>("op_30"), val = tensor<fp32, []>(0x1.99999ap-3)];
10
  tensor<int32, []> x_1_axis_0 = const()[name = tensor<string, []>("x_1_axis_0"), val = tensor<int32, []>(0)];
11
  tensor<int32, []> x_1_batch_dims_0 = const()[name = tensor<string, []>("x_1_batch_dims_0"), val = tensor<int32, []>(0)];
12
  tensor<bool, []> x_1_validate_indices_0 = const()[name = tensor<string, []>("x_1_validate_indices_0"), val = tensor<bool, []>(false)];
13
+ tensor<fp16, [178, 512]> text_encoder_embedding_weight_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [91136]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(64))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(91264))), name = tensor<string, []>("text_encoder_embedding_weight_to_fp16_palettized"), shape = tensor<uint32, [2]>([178, 512])];
14
  tensor<string, []> tokens_to_int16_dtype_0 = const()[name = tensor<string, []>("tokens_to_int16_dtype_0"), val = tensor<string, []>("int16")];
15
+ tensor<int16, [1, ?]> tokens_to_int16 = cast(dtype = tokens_to_int16_dtype_0, x = tokens)[name = tensor<string, []>("cast_2")];
16
+ tensor<fp16, [1, ?, 512]> x_1_cast_fp16_cast_uint16 = gather(axis = x_1_axis_0, batch_dims = x_1_batch_dims_0, indices = tokens_to_int16, validate_indices = x_1_validate_indices_0, x = text_encoder_embedding_weight_to_fp16_palettized)[name = tensor<string, []>("x_1_cast_fp16_cast_uint16")];
17
  tensor<int32, [3]> input_1_perm_0 = const()[name = tensor<string, []>("input_1_perm_0"), val = tensor<int32, [3]>([0, 2, 1])];
18
  tensor<string, []> x_3_pad_type_0 = const()[name = tensor<string, []>("x_3_pad_type_0"), val = tensor<string, []>("custom")];
19
  tensor<int32, [2]> x_3_pad_0 = const()[name = tensor<string, []>("x_3_pad_0"), val = tensor<int32, [2]>([2, 2])];
20
  tensor<int32, [1]> x_3_strides_0 = const()[name = tensor<string, []>("x_3_strides_0"), val = tensor<int32, [1]>([1])];
21
  tensor<int32, [1]> x_3_dilations_0 = const()[name = tensor<string, []>("x_3_dilations_0"), val = tensor<int32, [1]>([1])];
22
  tensor<int32, []> x_3_groups_0 = const()[name = tensor<string, []>("x_3_groups_0"), val = tensor<int32, []>(1)];
23
+ tensor<fp16, [512, 512, 5]> weight_3_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [1310720]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(91840))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1402624))), name = tensor<string, []>("weight_3_to_fp16_palettized"), shape = tensor<uint32, [3]>([512, 512, 5])];
24
+ tensor<fp16, [512]> text_encoder_cnn_0_0_bias_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_0_0_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1403200)))];
25
+ tensor<fp16, [1, 512, ?]> input_1_cast_fp16 = transpose(perm = input_1_perm_0, x = x_1_cast_fp16_cast_uint16)[name = tensor<string, []>("transpose_26")];
26
+ tensor<fp16, [1, 512, ?]> x_3_cast_fp16 = conv(bias = text_encoder_cnn_0_0_bias_to_fp16, dilations = x_3_dilations_0, groups = x_3_groups_0, pad = x_3_pad_0, pad_type = x_3_pad_type_0, strides = x_3_strides_0, weight = weight_3_to_fp16_palettized, x = input_1_cast_fp16)[name = tensor<string, []>("x_3_cast_fp16")];
27
  tensor<int32, [3]> input_3_perm_0 = const()[name = tensor<string, []>("input_3_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
28
  tensor<int32, [1]> x_5_axes_0 = const()[name = tensor<string, []>("x_5_axes_0"), val = tensor<int32, [1]>([-1])];
29
+ tensor<fp16, [512]> text_encoder_cnn_0_1_gamma_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_0_1_gamma_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1404288)))];
30
+ tensor<fp16, [512]> text_encoder_cnn_0_1_beta_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_0_1_beta_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1405376)))];
31
  tensor<fp16, []> var_28_to_fp16 = const()[name = tensor<string, []>("op_28_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
32
+ tensor<fp16, [1, ?, 512]> input_3_cast_fp16 = transpose(perm = input_3_perm_0, x = x_3_cast_fp16)[name = tensor<string, []>("transpose_25")];
33
  tensor<fp16, [1, ?, 512]> x_5_cast_fp16 = layer_norm(axes = x_5_axes_0, beta = text_encoder_cnn_0_1_beta_to_fp16, epsilon = var_28_to_fp16, gamma = text_encoder_cnn_0_1_gamma_to_fp16, x = input_3_cast_fp16)[name = tensor<string, []>("x_5_cast_fp16")];
34
  tensor<int32, [3]> input_5_perm_0 = const()[name = tensor<string, []>("input_5_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
35
+ tensor<fp16, [1, 512, ?]> input_5_cast_fp16 = transpose(perm = input_5_perm_0, x = x_5_cast_fp16)[name = tensor<string, []>("transpose_24")];
36
  tensor<fp16, [1, 512, ?]> input_7_cast_fp16 = leaky_relu(alpha = var_30, x = input_5_cast_fp16)[name = tensor<string, []>("input_7_cast_fp16")];
37
  tensor<string, []> x_7_pad_type_0 = const()[name = tensor<string, []>("x_7_pad_type_0"), val = tensor<string, []>("custom")];
38
  tensor<int32, [2]> x_7_pad_0 = const()[name = tensor<string, []>("x_7_pad_0"), val = tensor<int32, [2]>([2, 2])];
39
  tensor<int32, [1]> x_7_strides_0 = const()[name = tensor<string, []>("x_7_strides_0"), val = tensor<int32, [1]>([1])];
40
  tensor<int32, [1]> x_7_dilations_0 = const()[name = tensor<string, []>("x_7_dilations_0"), val = tensor<int32, [1]>([1])];
41
  tensor<int32, []> x_7_groups_0 = const()[name = tensor<string, []>("x_7_groups_0"), val = tensor<int32, []>(1)];
42
+ tensor<fp16, [512, 512, 5]> weight_7_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [1310720]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1406464))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2717248))), name = tensor<string, []>("weight_7_to_fp16_palettized"), shape = tensor<uint32, [3]>([512, 512, 5])];
43
+ tensor<fp16, [512]> text_encoder_cnn_1_0_bias_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_1_0_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2717824)))];
44
+ tensor<fp16, [1, 512, ?]> x_7_cast_fp16 = conv(bias = text_encoder_cnn_1_0_bias_to_fp16, dilations = x_7_dilations_0, groups = x_7_groups_0, pad = x_7_pad_0, pad_type = x_7_pad_type_0, strides = x_7_strides_0, weight = weight_7_to_fp16_palettized, x = input_7_cast_fp16)[name = tensor<string, []>("x_7_cast_fp16")];
45
  tensor<int32, [3]> input_11_perm_0 = const()[name = tensor<string, []>("input_11_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
46
  tensor<int32, [1]> x_9_axes_0 = const()[name = tensor<string, []>("x_9_axes_0"), val = tensor<int32, [1]>([-1])];
47
+ tensor<fp16, [512]> text_encoder_cnn_1_1_gamma_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_1_1_gamma_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2718912)))];
48
+ tensor<fp16, [512]> text_encoder_cnn_1_1_beta_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_1_1_beta_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2720000)))];
49
+ tensor<fp16, [1, ?, 512]> input_11_cast_fp16 = transpose(perm = input_11_perm_0, x = x_7_cast_fp16)[name = tensor<string, []>("transpose_23")];
50
  tensor<fp16, [1, ?, 512]> x_9_cast_fp16 = layer_norm(axes = x_9_axes_0, beta = text_encoder_cnn_1_1_beta_to_fp16, epsilon = var_28_to_fp16, gamma = text_encoder_cnn_1_1_gamma_to_fp16, x = input_11_cast_fp16)[name = tensor<string, []>("x_9_cast_fp16")];
51
  tensor<int32, [3]> input_13_perm_0 = const()[name = tensor<string, []>("input_13_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
52
+ tensor<fp16, [1, 512, ?]> input_13_cast_fp16 = transpose(perm = input_13_perm_0, x = x_9_cast_fp16)[name = tensor<string, []>("transpose_22")];
53
  tensor<fp16, [1, 512, ?]> input_15_cast_fp16 = leaky_relu(alpha = var_30, x = input_13_cast_fp16)[name = tensor<string, []>("input_15_cast_fp16")];
54
  tensor<string, []> x_11_pad_type_0 = const()[name = tensor<string, []>("x_11_pad_type_0"), val = tensor<string, []>("custom")];
55
  tensor<int32, [2]> x_11_pad_0 = const()[name = tensor<string, []>("x_11_pad_0"), val = tensor<int32, [2]>([2, 2])];
56
  tensor<int32, [1]> x_11_strides_0 = const()[name = tensor<string, []>("x_11_strides_0"), val = tensor<int32, [1]>([1])];
57
  tensor<int32, [1]> x_11_dilations_0 = const()[name = tensor<string, []>("x_11_dilations_0"), val = tensor<int32, [1]>([1])];
58
  tensor<int32, []> x_11_groups_0 = const()[name = tensor<string, []>("x_11_groups_0"), val = tensor<int32, []>(1)];
59
+ tensor<fp16, [512, 512, 5]> weight_11_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [1310720]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(2721088))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4031872))), name = tensor<string, []>("weight_11_to_fp16_palettized"), shape = tensor<uint32, [3]>([512, 512, 5])];
60
+ tensor<fp16, [512]> text_encoder_cnn_2_0_bias_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_2_0_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4032448)))];
61
+ tensor<fp16, [1, 512, ?]> x_11_cast_fp16 = conv(bias = text_encoder_cnn_2_0_bias_to_fp16, dilations = x_11_dilations_0, groups = x_11_groups_0, pad = x_11_pad_0, pad_type = x_11_pad_type_0, strides = x_11_strides_0, weight = weight_11_to_fp16_palettized, x = input_15_cast_fp16)[name = tensor<string, []>("x_11_cast_fp16")];
62
  tensor<int32, [3]> input_19_perm_0 = const()[name = tensor<string, []>("input_19_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
63
  tensor<int32, [1]> x_13_axes_0 = const()[name = tensor<string, []>("x_13_axes_0"), val = tensor<int32, [1]>([-1])];
64
+ tensor<fp16, [512]> text_encoder_cnn_2_1_gamma_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_2_1_gamma_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4033536)))];
65
+ tensor<fp16, [512]> text_encoder_cnn_2_1_beta_to_fp16 = const()[name = tensor<string, []>("text_encoder_cnn_2_1_beta_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4034624)))];
66
+ tensor<fp16, [1, ?, 512]> input_19_cast_fp16 = transpose(perm = input_19_perm_0, x = x_11_cast_fp16)[name = tensor<string, []>("transpose_21")];
67
  tensor<fp16, [1, ?, 512]> x_13_cast_fp16 = layer_norm(axes = x_13_axes_0, beta = text_encoder_cnn_2_1_beta_to_fp16, epsilon = var_28_to_fp16, gamma = text_encoder_cnn_2_1_gamma_to_fp16, x = input_19_cast_fp16)[name = tensor<string, []>("x_13_cast_fp16")];
68
  tensor<fp16, [1, ?, 512]> input_23_cast_fp16 = leaky_relu(alpha = var_30, x = x_13_cast_fp16)[name = tensor<string, []>("input_23_cast_fp16")];
69
  tensor<int32, [3]> input_25_batch_first_transpose_perm_0 = const()[name = tensor<string, []>("input_25_batch_first_transpose_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
 
72
  tensor<string, []> x_17_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("x_17_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
73
  tensor<string, []> x_17_batch_first_cell_activation_0 = const()[name = tensor<string, []>("x_17_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
74
  tensor<string, []> x_17_batch_first_activation_0 = const()[name = tensor<string, []>("x_17_batch_first_activation_0"), val = tensor<string, []>("tanh")];
75
+ tensor<fp16, [1, 512]> x_17_batch_first_lstm_h0_reshaped_to_fp16 = const()[name = tensor<string, []>("x_17_batch_first_lstm_h0_reshaped_to_fp16"), val = tensor<fp16, [1, 512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4035712)))];
76
+ tensor<fp16, [1024, 512]> concat_4_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [524288]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4036800))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4561152))), name = tensor<string, []>("concat_4_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 512])];
77
+ tensor<fp16, [1024, 256]> concat_5_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [262144]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4561728))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4823936))), name = tensor<string, []>("concat_5_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 256])];
78
+ tensor<fp16, [1024]> add_1_to_fp16 = const()[name = tensor<string, []>("add_1_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4824512)))];
79
+ tensor<fp16, [1024, 512]> concat_6_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [524288]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(4826624))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5350976))), name = tensor<string, []>("concat_6_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 512])];
80
+ tensor<fp16, [1024, 256]> concat_7_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [262144]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5351552))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5613760))), name = tensor<string, []>("concat_7_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 256])];
81
+ tensor<fp16, [1024]> add_2_to_fp16 = const()[name = tensor<string, []>("add_2_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5614336)))];
82
+ tensor<fp16, [?, 1, 512]> input_25_batch_first_transpose_cast_fp16 = transpose(perm = input_25_batch_first_transpose_perm_0, x = input_23_cast_fp16)[name = tensor<string, []>("transpose_20")];
83
+ tensor<fp16, [?, 1, 512]> x_17_batch_first_cast_fp16_0, tensor<fp16, [1, 512]> x_17_batch_first_cast_fp16_1, tensor<fp16, [1, 512]> x_17_batch_first_cast_fp16_2 = lstm(activation = x_17_batch_first_activation_0, bias = add_1_to_fp16, bias_back = add_2_to_fp16, cell_activation = x_17_batch_first_cell_activation_0, direction = x_17_batch_first_direction_0, initial_c = x_17_batch_first_lstm_h0_reshaped_to_fp16, initial_h = x_17_batch_first_lstm_h0_reshaped_to_fp16, output_sequence = x_17_batch_first_output_sequence_0, recurrent_activation = x_17_batch_first_recurrent_activation_0, weight_hh = concat_5_to_fp16_palettized, weight_hh_back = concat_7_to_fp16_palettized, weight_ih = concat_4_to_fp16_palettized, weight_ih_back = concat_6_to_fp16_palettized, x = input_25_batch_first_transpose_cast_fp16)[name = tensor<string, []>("x_17_batch_first_cast_fp16")];
84
  tensor<int32, [3]> transpose_0_perm_0 = const()[name = tensor<string, []>("transpose_0_perm_0"), val = tensor<int32, [3]>([1, 2, 0])];
85
+ tensor<fp16, [512, 768]> bert_encoder_weight_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [393216]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(5616448))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6009728))), name = tensor<string, []>("bert_encoder_weight_to_fp16_palettized"), shape = tensor<uint32, [2]>([512, 768])];
86
+ tensor<fp16, [512]> bert_encoder_bias_to_fp16 = const()[name = tensor<string, []>("bert_encoder_bias_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6010304)))];
87
+ tensor<fp16, [1, ?, 512]> linear_0_cast_fp16 = linear(bias = bert_encoder_bias_to_fp16, weight = bert_encoder_weight_to_fp16_palettized, x = bert_dur)[name = tensor<string, []>("linear_0_cast_fp16")];
88
  tensor<int32, [3]> x_19_perm_0 = const()[name = tensor<string, []>("x_19_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
89
  tensor<int32, []> var_147 = const()[name = tensor<string, []>("op_147"), val = tensor<int32, []>(1)];
90
  tensor<int32, [3]> var_163_begin_0 = const()[name = tensor<string, []>("op_163_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
91
  tensor<int32, [3]> var_163_end_0 = const()[name = tensor<string, []>("op_163_end_0"), val = tensor<int32, [3]>([1, 1, 0])];
92
  tensor<bool, [3]> var_163_end_mask_0 = const()[name = tensor<string, []>("op_163_end_mask_0"), val = tensor<bool, [3]>([true, false, true])];
93
+ tensor<fp16, [1, 512, ?]> x_19_cast_fp16 = transpose(perm = x_19_perm_0, x = linear_0_cast_fp16)[name = tensor<string, []>("transpose_19")];
94
  tensor<fp16, [1, 1, ?]> var_163_cast_fp16 = slice_by_index(begin = var_163_begin_0, end = var_163_end_0, end_mask = var_163_end_mask_0, x = x_19_cast_fp16)[name = tensor<string, []>("op_163_cast_fp16")];
95
  tensor<fp16, [1, 1, ?]> sub_0_cast_fp16 = sub(x = var_163_cast_fp16, y = var_163_cast_fp16)[name = tensor<string, []>("sub_0_cast_fp16")];
96
  tensor<int32, [1]> var_166_axes_0 = const()[name = tensor<string, []>("op_166_axes_0"), val = tensor<int32, [1]>([-1])];
 
104
  tensor<string, []> input_29_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("input_29_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
105
  tensor<string, []> input_29_batch_first_cell_activation_0 = const()[name = tensor<string, []>("input_29_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
106
  tensor<string, []> input_29_batch_first_activation_0 = const()[name = tensor<string, []>("input_29_batch_first_activation_0"), val = tensor<string, []>("tanh")];
107
+ tensor<fp16, [1024, 640]> concat_14_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [655360]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6011392))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6666816))), name = tensor<string, []>("concat_14_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 640])];
108
+ tensor<fp16, [1024, 256]> concat_15_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [262144]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6667392))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6929600))), name = tensor<string, []>("concat_15_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 256])];
109
+ tensor<fp16, [1024]> add_4_to_fp16 = const()[name = tensor<string, []>("add_4_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6930176)))];
110
+ tensor<fp16, [1024, 640]> concat_16_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [655360]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(6932288))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7587712))), name = tensor<string, []>("concat_16_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 640])];
111
+ tensor<fp16, [1024, 256]> concat_17_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [262144]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7588288))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7850496))), name = tensor<string, []>("concat_17_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 256])];
112
+ tensor<fp16, [1024]> add_5_to_fp16 = const()[name = tensor<string, []>("add_5_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7851072)))];
113
+ tensor<fp16, [?, 1, 640]> transpose_1_cast_fp16 = transpose(perm = transpose_1_perm_0, x = x_21_cast_fp16)[name = tensor<string, []>("transpose_18")];
114
+ tensor<fp16, [?, 1, 512]> input_29_batch_first_cast_fp16_0, tensor<fp16, [1, 512]> input_29_batch_first_cast_fp16_1, tensor<fp16, [1, 512]> input_29_batch_first_cast_fp16_2 = lstm(activation = input_29_batch_first_activation_0, bias = add_4_to_fp16, bias_back = add_5_to_fp16, cell_activation = input_29_batch_first_cell_activation_0, direction = input_29_batch_first_direction_0, initial_c = x_17_batch_first_lstm_h0_reshaped_to_fp16, initial_h = x_17_batch_first_lstm_h0_reshaped_to_fp16, output_sequence = input_29_batch_first_output_sequence_0, recurrent_activation = input_29_batch_first_recurrent_activation_0, weight_hh = concat_15_to_fp16_palettized, weight_hh_back = concat_17_to_fp16_palettized, weight_ih = concat_14_to_fp16_palettized, weight_ih_back = concat_16_to_fp16_palettized, x = transpose_1_cast_fp16)[name = tensor<string, []>("input_29_batch_first_cast_fp16")];
115
  tensor<int32, [3]> transpose_7_perm_0 = const()[name = tensor<string, []>("transpose_7_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
116
+ tensor<fp16, [1024, 128]> duration_encoder_norms_0_fc_weight_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [131072]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7853184))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7984320))), name = tensor<string, []>("duration_encoder_norms_0_fc_weight_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 128])];
117
+ tensor<fp16, [1024]> duration_encoder_norms_0_fc_bias_to_fp16 = const()[name = tensor<string, []>("duration_encoder_norms_0_fc_bias_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7984896)))];
118
+ tensor<fp16, [1, 1024]> linear_1_cast_fp16 = linear(bias = duration_encoder_norms_0_fc_bias_to_fp16, weight = duration_encoder_norms_0_fc_weight_to_fp16_palettized, x = style_cast_fp16)[name = tensor<string, []>("linear_1_cast_fp16")];
119
  tensor<int32, [3]> var_200 = const()[name = tensor<string, []>("op_200"), val = tensor<int32, [3]>([1, 1024, 1])];
120
  tensor<fp16, [1, 1024, 1]> h_3_cast_fp16 = reshape(shape = var_200, x = linear_1_cast_fp16)[name = tensor<string, []>("h_3_cast_fp16")];
121
  tensor<int32, [2]> var_202_split_sizes_0 = const()[name = tensor<string, []>("op_202_split_sizes_0"), val = tensor<int32, [2]>([512, 512])];
 
125
  tensor<int32, [3]> beta_3_perm_0 = const()[name = tensor<string, []>("beta_3_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
126
  tensor<int32, [1]> x_31_axes_0 = const()[name = tensor<string, []>("x_31_axes_0"), val = tensor<int32, [1]>([-1])];
127
  tensor<fp16, []> var_136_to_fp16 = const()[name = tensor<string, []>("op_136_to_fp16"), val = tensor<fp16, []>(0x1.5p-17)];
128
+ tensor<fp16, [1, ?, 512]> transpose_7_cast_fp16 = transpose(perm = transpose_7_perm_0, x = input_29_batch_first_cast_fp16_0)[name = tensor<string, []>("transpose_17")];
129
  tensor<fp16, [1, ?, 512]> x_31_cast_fp16 = layer_norm(axes = x_31_axes_0, epsilon = var_136_to_fp16, x = transpose_7_cast_fp16)[name = tensor<string, []>("x_31_cast_fp16")];
130
  tensor<fp16, []> var_208_promoted_to_fp16 = const()[name = tensor<string, []>("op_208_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
131
+ tensor<fp16, [1, 1, 512]> gamma_3_cast_fp16 = transpose(perm = gamma_3_perm_0, x = var_202_cast_fp16_0)[name = tensor<string, []>("transpose_16")];
132
  tensor<fp16, [1, 1, 512]> var_209_cast_fp16 = add(x = gamma_3_cast_fp16, y = var_208_promoted_to_fp16)[name = tensor<string, []>("op_209_cast_fp16")];
133
  tensor<fp16, [1, ?, 512]> var_210_cast_fp16 = mul(x = var_209_cast_fp16, y = x_31_cast_fp16)[name = tensor<string, []>("op_210_cast_fp16")];
134
+ tensor<fp16, [1, 1, 512]> beta_3_cast_fp16 = transpose(perm = beta_3_perm_0, x = var_202_cast_fp16_1)[name = tensor<string, []>("transpose_15")];
135
  tensor<fp16, [1, ?, 512]> x_33_cast_fp16 = add(x = var_210_cast_fp16, y = beta_3_cast_fp16)[name = tensor<string, []>("x_33_cast_fp16")];
136
  tensor<int32, [3]> x_35_perm_0 = const()[name = tensor<string, []>("x_35_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
137
  tensor<bool, []> x_37_interleave_0 = const()[name = tensor<string, []>("x_37_interleave_0"), val = tensor<bool, []>(false)];
138
+ tensor<fp16, [1, 512, ?]> x_35_cast_fp16 = transpose(perm = x_35_perm_0, x = x_33_cast_fp16)[name = tensor<string, []>("transpose_14")];
139
  tensor<fp16, [1, 640, ?]> x_37_cast_fp16 = concat(axis = var_147, interleave = x_37_interleave_0, values = (x_35_cast_fp16, s_chan_cast_fp16))[name = tensor<string, []>("x_37_cast_fp16")];
140
  tensor<int32, [3]> transpose_3_perm_0 = const()[name = tensor<string, []>("transpose_3_perm_0"), val = tensor<int32, [3]>([-1, 0, -2])];
141
  tensor<string, []> input_35_batch_first_direction_0 = const()[name = tensor<string, []>("input_35_batch_first_direction_0"), val = tensor<string, []>("bidirectional")];
 
143
  tensor<string, []> input_35_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("input_35_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
144
  tensor<string, []> input_35_batch_first_cell_activation_0 = const()[name = tensor<string, []>("input_35_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
145
  tensor<string, []> input_35_batch_first_activation_0 = const()[name = tensor<string, []>("input_35_batch_first_activation_0"), val = tensor<string, []>("tanh")];
146
+ tensor<fp16, [1024, 640]> concat_24_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [655360]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(7987008))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8642432))), name = tensor<string, []>("concat_24_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 640])];
147
+ tensor<fp16, [1024, 256]> concat_25_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [262144]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8643008))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8905216))), name = tensor<string, []>("concat_25_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 256])];
148
+ tensor<fp16, [1024]> add_7_to_fp16 = const()[name = tensor<string, []>("add_7_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8905792)))];
149
+ tensor<fp16, [1024, 640]> concat_26_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [655360]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(8907904))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9563328))), name = tensor<string, []>("concat_26_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 640])];
150
+ tensor<fp16, [1024, 256]> concat_27_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [262144]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9563904))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9826112))), name = tensor<string, []>("concat_27_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 256])];
151
+ tensor<fp16, [1024]> add_8_to_fp16 = const()[name = tensor<string, []>("add_8_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9826688)))];
152
+ tensor<fp16, [?, 1, 640]> transpose_3_cast_fp16 = transpose(perm = transpose_3_perm_0, x = x_37_cast_fp16)[name = tensor<string, []>("transpose_13")];
153
+ tensor<fp16, [?, 1, 512]> input_35_batch_first_cast_fp16_0, tensor<fp16, [1, 512]> input_35_batch_first_cast_fp16_1, tensor<fp16, [1, 512]> input_35_batch_first_cast_fp16_2 = lstm(activation = input_35_batch_first_activation_0, bias = add_7_to_fp16, bias_back = add_8_to_fp16, cell_activation = input_35_batch_first_cell_activation_0, direction = input_35_batch_first_direction_0, initial_c = x_17_batch_first_lstm_h0_reshaped_to_fp16, initial_h = x_17_batch_first_lstm_h0_reshaped_to_fp16, output_sequence = input_35_batch_first_output_sequence_0, recurrent_activation = input_35_batch_first_recurrent_activation_0, weight_hh = concat_25_to_fp16_palettized, weight_hh_back = concat_27_to_fp16_palettized, weight_ih = concat_24_to_fp16_palettized, weight_ih_back = concat_26_to_fp16_palettized, x = transpose_3_cast_fp16)[name = tensor<string, []>("input_35_batch_first_cast_fp16")];
154
  tensor<int32, [3]> transpose_8_perm_0 = const()[name = tensor<string, []>("transpose_8_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
155
+ tensor<fp16, [1024, 128]> duration_encoder_norms_1_fc_weight_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [131072]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9828800))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9959936))), name = tensor<string, []>("duration_encoder_norms_1_fc_weight_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 128])];
156
+ tensor<fp16, [1024]> duration_encoder_norms_1_fc_bias_to_fp16 = const()[name = tensor<string, []>("duration_encoder_norms_1_fc_bias_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9960512)))];
157
+ tensor<fp16, [1, 1024]> linear_2_cast_fp16 = linear(bias = duration_encoder_norms_1_fc_bias_to_fp16, weight = duration_encoder_norms_1_fc_weight_to_fp16_palettized, x = style_cast_fp16)[name = tensor<string, []>("linear_2_cast_fp16")];
158
  tensor<int32, [3]> var_247 = const()[name = tensor<string, []>("op_247"), val = tensor<int32, [3]>([1, 1024, 1])];
159
  tensor<fp16, [1, 1024, 1]> h_7_cast_fp16 = reshape(shape = var_247, x = linear_2_cast_fp16)[name = tensor<string, []>("h_7_cast_fp16")];
160
  tensor<int32, [2]> var_249_split_sizes_0 = const()[name = tensor<string, []>("op_249_split_sizes_0"), val = tensor<int32, [2]>([512, 512])];
 
163
  tensor<int32, [3]> gamma_7_perm_0 = const()[name = tensor<string, []>("gamma_7_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
164
  tensor<int32, [3]> beta_7_perm_0 = const()[name = tensor<string, []>("beta_7_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
165
  tensor<int32, [1]> x_47_axes_0 = const()[name = tensor<string, []>("x_47_axes_0"), val = tensor<int32, [1]>([-1])];
166
+ tensor<fp16, [1, ?, 512]> transpose_8_cast_fp16 = transpose(perm = transpose_8_perm_0, x = input_35_batch_first_cast_fp16_0)[name = tensor<string, []>("transpose_12")];
167
  tensor<fp16, [1, ?, 512]> x_47_cast_fp16 = layer_norm(axes = x_47_axes_0, epsilon = var_136_to_fp16, x = transpose_8_cast_fp16)[name = tensor<string, []>("x_47_cast_fp16")];
168
  tensor<fp16, []> var_255_promoted_to_fp16 = const()[name = tensor<string, []>("op_255_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
169
+ tensor<fp16, [1, 1, 512]> gamma_7_cast_fp16 = transpose(perm = gamma_7_perm_0, x = var_249_cast_fp16_0)[name = tensor<string, []>("transpose_11")];
170
  tensor<fp16, [1, 1, 512]> var_256_cast_fp16 = add(x = gamma_7_cast_fp16, y = var_255_promoted_to_fp16)[name = tensor<string, []>("op_256_cast_fp16")];
171
  tensor<fp16, [1, ?, 512]> var_257_cast_fp16 = mul(x = var_256_cast_fp16, y = x_47_cast_fp16)[name = tensor<string, []>("op_257_cast_fp16")];
172
+ tensor<fp16, [1, 1, 512]> beta_7_cast_fp16 = transpose(perm = beta_7_perm_0, x = var_249_cast_fp16_1)[name = tensor<string, []>("transpose_10")];
173
  tensor<fp16, [1, ?, 512]> x_49_cast_fp16 = add(x = var_257_cast_fp16, y = beta_7_cast_fp16)[name = tensor<string, []>("x_49_cast_fp16")];
174
  tensor<int32, [3]> x_51_perm_0 = const()[name = tensor<string, []>("x_51_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
175
  tensor<bool, []> x_53_interleave_0 = const()[name = tensor<string, []>("x_53_interleave_0"), val = tensor<bool, []>(false)];
176
+ tensor<fp16, [1, 512, ?]> x_51_cast_fp16 = transpose(perm = x_51_perm_0, x = x_49_cast_fp16)[name = tensor<string, []>("transpose_9")];
177
  tensor<fp16, [1, 640, ?]> x_53_cast_fp16 = concat(axis = var_147, interleave = x_53_interleave_0, values = (x_51_cast_fp16, s_chan_cast_fp16))[name = tensor<string, []>("x_53_cast_fp16")];
178
  tensor<int32, [3]> transpose_5_perm_0 = const()[name = tensor<string, []>("transpose_5_perm_0"), val = tensor<int32, [3]>([-1, 0, -2])];
179
  tensor<string, []> input_41_batch_first_direction_0 = const()[name = tensor<string, []>("input_41_batch_first_direction_0"), val = tensor<string, []>("bidirectional")];
 
181
  tensor<string, []> input_41_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("input_41_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
182
  tensor<string, []> input_41_batch_first_cell_activation_0 = const()[name = tensor<string, []>("input_41_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
183
  tensor<string, []> input_41_batch_first_activation_0 = const()[name = tensor<string, []>("input_41_batch_first_activation_0"), val = tensor<string, []>("tanh")];
184
+ tensor<fp16, [1024, 640]> concat_34_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [655360]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(9962624))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10618048))), name = tensor<string, []>("concat_34_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 640])];
185
+ tensor<fp16, [1024, 256]> concat_35_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [262144]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10618624))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10880832))), name = tensor<string, []>("concat_35_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 256])];
186
+ tensor<fp16, [1024]> add_10_to_fp16 = const()[name = tensor<string, []>("add_10_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10881408)))];
187
+ tensor<fp16, [1024, 640]> concat_36_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [655360]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10883520))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11538944))), name = tensor<string, []>("concat_36_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 640])];
188
+ tensor<fp16, [1024, 256]> concat_37_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [262144]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11539520))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11801728))), name = tensor<string, []>("concat_37_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 256])];
189
+ tensor<fp16, [1024]> add_11_to_fp16 = const()[name = tensor<string, []>("add_11_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11802304)))];
190
+ tensor<fp16, [?, 1, 640]> transpose_5_cast_fp16 = transpose(perm = transpose_5_perm_0, x = x_53_cast_fp16)[name = tensor<string, []>("transpose_8")];
191
+ tensor<fp16, [?, 1, 512]> input_41_batch_first_cast_fp16_0, tensor<fp16, [1, 512]> input_41_batch_first_cast_fp16_1, tensor<fp16, [1, 512]> input_41_batch_first_cast_fp16_2 = lstm(activation = input_41_batch_first_activation_0, bias = add_10_to_fp16, bias_back = add_11_to_fp16, cell_activation = input_41_batch_first_cell_activation_0, direction = input_41_batch_first_direction_0, initial_c = x_17_batch_first_lstm_h0_reshaped_to_fp16, initial_h = x_17_batch_first_lstm_h0_reshaped_to_fp16, output_sequence = input_41_batch_first_output_sequence_0, recurrent_activation = input_41_batch_first_recurrent_activation_0, weight_hh = concat_35_to_fp16_palettized, weight_hh_back = concat_37_to_fp16_palettized, weight_ih = concat_34_to_fp16_palettized, weight_ih_back = concat_36_to_fp16_palettized, x = transpose_5_cast_fp16)[name = tensor<string, []>("input_41_batch_first_cast_fp16")];
192
  tensor<int32, [3]> transpose_9_perm_0 = const()[name = tensor<string, []>("transpose_9_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
193
+ tensor<fp16, [1024, 128]> duration_encoder_norms_2_fc_weight_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [131072]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11804416))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11935552))), name = tensor<string, []>("duration_encoder_norms_2_fc_weight_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 128])];
194
+ tensor<fp16, [1024]> duration_encoder_norms_2_fc_bias_to_fp16 = const()[name = tensor<string, []>("duration_encoder_norms_2_fc_bias_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11936128)))];
195
+ tensor<fp16, [1, 1024]> linear_3_cast_fp16 = linear(bias = duration_encoder_norms_2_fc_bias_to_fp16, weight = duration_encoder_norms_2_fc_weight_to_fp16_palettized, x = style_cast_fp16)[name = tensor<string, []>("linear_3_cast_fp16")];
196
  tensor<int32, [3]> var_294 = const()[name = tensor<string, []>("op_294"), val = tensor<int32, [3]>([1, 1024, 1])];
197
  tensor<fp16, [1, 1024, 1]> h_cast_fp16 = reshape(shape = var_294, x = linear_3_cast_fp16)[name = tensor<string, []>("h_cast_fp16")];
198
  tensor<int32, [2]> var_296_split_sizes_0 = const()[name = tensor<string, []>("op_296_split_sizes_0"), val = tensor<int32, [2]>([512, 512])];
 
201
  tensor<int32, [3]> gamma_11_perm_0 = const()[name = tensor<string, []>("gamma_11_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
202
  tensor<int32, [3]> beta_11_perm_0 = const()[name = tensor<string, []>("beta_11_perm_0"), val = tensor<int32, [3]>([0, -1, 1])];
203
  tensor<int32, [1]> x_63_axes_0 = const()[name = tensor<string, []>("x_63_axes_0"), val = tensor<int32, [1]>([-1])];
204
+ tensor<fp16, [1, ?, 512]> transpose_9_cast_fp16 = transpose(perm = transpose_9_perm_0, x = input_41_batch_first_cast_fp16_0)[name = tensor<string, []>("transpose_7")];
205
  tensor<fp16, [1, ?, 512]> x_63_cast_fp16 = layer_norm(axes = x_63_axes_0, epsilon = var_136_to_fp16, x = transpose_9_cast_fp16)[name = tensor<string, []>("x_63_cast_fp16")];
206
  tensor<fp16, []> var_302_promoted_to_fp16 = const()[name = tensor<string, []>("op_302_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+0)];
207
+ tensor<fp16, [1, 1, 512]> gamma_11_cast_fp16 = transpose(perm = gamma_11_perm_0, x = var_296_cast_fp16_0)[name = tensor<string, []>("transpose_6")];
208
  tensor<fp16, [1, 1, 512]> var_303_cast_fp16 = add(x = gamma_11_cast_fp16, y = var_302_promoted_to_fp16)[name = tensor<string, []>("op_303_cast_fp16")];
209
  tensor<fp16, [1, ?, 512]> var_304_cast_fp16 = mul(x = var_303_cast_fp16, y = x_63_cast_fp16)[name = tensor<string, []>("op_304_cast_fp16")];
210
+ tensor<fp16, [1, 1, 512]> beta_11_cast_fp16 = transpose(perm = beta_11_perm_0, x = var_296_cast_fp16_1)[name = tensor<string, []>("transpose_5")];
211
  tensor<fp16, [1, ?, 512]> x_65_cast_fp16 = add(x = var_304_cast_fp16, y = beta_11_cast_fp16)[name = tensor<string, []>("x_65_cast_fp16")];
212
  tensor<int32, [3]> x_67_perm_0 = const()[name = tensor<string, []>("x_67_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
213
  tensor<bool, []> x_interleave_0 = const()[name = tensor<string, []>("x_interleave_0"), val = tensor<bool, []>(false)];
214
+ tensor<fp16, [1, 512, ?]> x_67_cast_fp16 = transpose(perm = x_67_perm_0, x = x_65_cast_fp16)[name = tensor<string, []>("transpose_4")];
215
  tensor<fp16, [1, 640, ?]> x_cast_fp16 = concat(axis = var_147, interleave = x_interleave_0, values = (x_67_cast_fp16, s_chan_cast_fp16))[name = tensor<string, []>("x_cast_fp16")];
216
  tensor<int32, [3]> input_45_perm_0 = const()[name = tensor<string, []>("input_45_perm_0"), val = tensor<int32, [3]>([0, -1, -2])];
217
  tensor<int32, [3]> input_45_batch_first_transpose_perm_0 = const()[name = tensor<string, []>("input_45_batch_first_transpose_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
 
220
  tensor<string, []> input_47_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("input_47_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
221
  tensor<string, []> input_47_batch_first_cell_activation_0 = const()[name = tensor<string, []>("input_47_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
222
  tensor<string, []> input_47_batch_first_activation_0 = const()[name = tensor<string, []>("input_47_batch_first_activation_0"), val = tensor<string, []>("tanh")];
223
+ tensor<fp16, [1024, 640]> concat_44_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [655360]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11938240))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(12593664))), name = tensor<string, []>("concat_44_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 640])];
224
+ tensor<fp16, [1024, 256]> concat_45_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [262144]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(12594240))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(12856448))), name = tensor<string, []>("concat_45_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 256])];
225
+ tensor<fp16, [1024]> add_13_to_fp16 = const()[name = tensor<string, []>("add_13_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(12857024)))];
226
+ tensor<fp16, [1024, 640]> concat_46_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [655360]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(12859136))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13514560))), name = tensor<string, []>("concat_46_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 640])];
227
+ tensor<fp16, [1024, 256]> concat_47_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [262144]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13515136))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13777344))), name = tensor<string, []>("concat_47_to_fp16_palettized"), shape = tensor<uint32, [2]>([1024, 256])];
228
+ tensor<fp16, [1024]> add_14_to_fp16 = const()[name = tensor<string, []>("add_14_to_fp16"), val = tensor<fp16, [1024]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13777920)))];
229
+ tensor<fp16, [1, ?, 640]> d = transpose(perm = input_45_perm_0, x = x_cast_fp16)[name = tensor<string, []>("transpose_3")];
230
+ tensor<fp16, [?, 1, 640]> input_45_batch_first_transpose_cast_fp16 = transpose(perm = input_45_batch_first_transpose_perm_0, x = d)[name = tensor<string, []>("transpose_2")];
231
+ tensor<fp16, [?, 1, 512]> input_47_batch_first_cast_fp16_0, tensor<fp16, [1, 512]> input_47_batch_first_cast_fp16_1, tensor<fp16, [1, 512]> input_47_batch_first_cast_fp16_2 = lstm(activation = input_47_batch_first_activation_0, bias = add_13_to_fp16, bias_back = add_14_to_fp16, cell_activation = input_47_batch_first_cell_activation_0, direction = input_47_batch_first_direction_0, initial_c = x_17_batch_first_lstm_h0_reshaped_to_fp16, initial_h = x_17_batch_first_lstm_h0_reshaped_to_fp16, output_sequence = input_47_batch_first_output_sequence_0, recurrent_activation = input_47_batch_first_recurrent_activation_0, weight_hh = concat_45_to_fp16_palettized, weight_hh_back = concat_47_to_fp16_palettized, weight_ih = concat_44_to_fp16_palettized, weight_ih_back = concat_46_to_fp16_palettized, x = input_45_batch_first_transpose_cast_fp16)[name = tensor<string, []>("input_47_batch_first_cast_fp16")];
232
  tensor<int32, [3]> input_47_perm_0 = const()[name = tensor<string, []>("input_47_perm_0"), val = tensor<int32, [3]>([1, 0, 2])];
233
+ tensor<fp16, [50, 512]> duration_proj_linear_layer_weight_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [25600]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13780032))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13805696))), name = tensor<string, []>("duration_proj_linear_layer_weight_to_fp16_palettized"), shape = tensor<uint32, [2]>([50, 512])];
234
+ tensor<fp16, [50]> duration_proj_linear_layer_bias_to_fp16 = const()[name = tensor<string, []>("duration_proj_linear_layer_bias_to_fp16"), val = tensor<fp16, [50]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13806272)))];
235
+ tensor<fp16, [1, ?, 512]> input_47_cast_fp16 = transpose(perm = input_47_perm_0, x = input_47_batch_first_cast_fp16_0)[name = tensor<string, []>("transpose_1")];
236
+ tensor<fp16, [1, ?, 50]> pred_dur_log = linear(bias = duration_proj_linear_layer_bias_to_fp16, weight = duration_proj_linear_layer_weight_to_fp16_palettized, x = input_47_cast_fp16)[name = tensor<string, []>("linear_4_cast_fp16")];
237
  tensor<int32, []> var_345 = const()[name = tensor<string, []>("op_345"), val = tensor<int32, []>(-1)];
238
  tensor<int32, [3]> var_355_begin_0 = const()[name = tensor<string, []>("op_355_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
239
  tensor<int32, [3]> var_355_end_0 = const()[name = tensor<string, []>("op_355_end_0"), val = tensor<int32, [3]>([1, 0, 1])];
 
247
  tensor<fp16, [1, ?]> var_357_cast_fp16 = cumsum(axis = var_345, exclusive = var_357_exclusive_0, reverse = var_357_reverse_0, x = fill_like_0_cast_fp16)[name = tensor<string, []>("op_357_cast_fp16")];
248
  tensor<string, []> cast_6_dtype_0 = const()[name = tensor<string, []>("cast_6_dtype_0"), val = tensor<string, []>("int32")];
249
  tensor<int32, []> var_359 = const()[name = tensor<string, []>("op_359"), val = tensor<int32, []>(1)];
250
+ tensor<int32, [1, ?]> var_357_cast_fp16_to_int32 = cast(dtype = cast_6_dtype_0, x = var_357_cast_fp16)[name = tensor<string, []>("cast_1")];
251
  tensor<int32, [1, ?]> indices = sub(x = var_357_cast_fp16_to_int32, y = var_359)[name = tensor<string, []>("indices")];
252
  tensor<int32, [1]> input_axes_0 = const()[name = tensor<string, []>("input_axes_0"), val = tensor<int32, [1]>([0])];
253
  tensor<string, []> indices_to_uint16_dtype_0 = const()[name = tensor<string, []>("indices_to_uint16_dtype_0"), val = tensor<string, []>("uint16")];
254
+ tensor<uint16, [1, ?]> indices_to_uint16 = cast(dtype = indices_to_uint16_dtype_0, x = indices)[name = tensor<string, []>("cast_0")];
255
  tensor<uint16, [?]> input_cast_uint16 = squeeze(axes = input_axes_0, x = indices_to_uint16)[name = tensor<string, []>("input_cast_uint16")];
256
  tensor<int32, []> fe_axis_0 = const()[name = tensor<string, []>("fe_axis_0"), val = tensor<int32, []>(0)];
257
  tensor<int32, []> fe_batch_dims_0 = const()[name = tensor<string, []>("fe_batch_dims_0"), val = tensor<int32, []>(0)];
258
  tensor<bool, []> fe_validate_indices_0 = const()[name = tensor<string, []>("fe_validate_indices_0"), val = tensor<bool, []>(false)];
259
+ tensor<fp16, [512, 768]> fixed_embedding_embedding_weight_to_fp16_palettized = constexpr_lut_to_dense()[indices = tensor<uint8, [393216]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(13806464))), lut = tensor<fp16, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(14199744))), name = tensor<string, []>("fixed_embedding_embedding_weight_to_fp16_palettized"), shape = tensor<uint32, [2]>([512, 768])];
260
+ tensor<fp16, [?, 768]> fe_cast_fp16_cast_uint16 = gather(axis = fe_axis_0, batch_dims = fe_batch_dims_0, indices = input_cast_uint16, validate_indices = fe_validate_indices_0, x = fixed_embedding_embedding_weight_to_fp16_palettized)[name = tensor<string, []>("fe_cast_fp16_cast_uint16")];
261
  tensor<int32, [1]> var_364_axes_0 = const()[name = tensor<string, []>("op_364_axes_0"), val = tensor<int32, [1]>([0])];
262
  tensor<fp16, [1, ?, 768]> fixed_embedding = expand_dims(axes = var_364_axes_0, x = fe_cast_fp16_cast_uint16)[name = tensor<string, []>("op_364_cast_fp16")];
263
+ tensor<fp16, [1, 512, ?]> t_en = transpose(perm = transpose_0_perm_0, x = x_17_batch_first_cast_fp16_0)[name = tensor<string, []>("transpose_0")];
264
  } -> (t_en, d, pred_dur_log, fixed_embedding);
265
  }
ANE/styletts2_ane_postbert.mlmodelc/weights/weight.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bffc0f40bfeee94d93537de68e3057f8e18e847c2197bef2045118d25e950a0d
3
- size 28324480
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf0fad98760e4fda11d7c11114e6448ee2443240265720a55080d40ee97b346f
3
+ size 14200320
ANE/styletts2_ane_postbert.mlpackage/Data/com.apple.CoreML/model.mlmodel CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:982078ab6840241c1b6717dab503af3f123373606fd6b31967f33845468aa0fd
3
- size 43623
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b454e92bf029364391c1456bf4f69a5d0981f905423b86fa7eb955bf99217d0b
3
+ size 47924
ANE/styletts2_ane_postbert.mlpackage/Data/com.apple.CoreML/weights/weight.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bffc0f40bfeee94d93537de68e3057f8e18e847c2197bef2045118d25e950a0d
3
- size 28324480
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf0fad98760e4fda11d7c11114e6448ee2443240265720a55080d40ee97b346f
3
+ size 14200320
ANE/styletts2_ane_postbert.mlpackage/Manifest.json CHANGED
@@ -1,18 +1,18 @@
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
- "4577D915-6FB9-4738-8BE7-3DAA463EE8BD": {
5
- "author": "com.apple.CoreML",
6
- "description": "CoreML Model Specification",
7
- "name": "model.mlmodel",
8
- "path": "com.apple.CoreML/model.mlmodel"
9
- },
10
- "8CBB3422-373A-42D0-8E4F-AF8A2A241439": {
11
  "author": "com.apple.CoreML",
12
  "description": "CoreML Model Weights",
13
  "name": "weights",
14
  "path": "com.apple.CoreML/weights"
 
 
 
 
 
 
15
  }
16
  },
17
- "rootModelIdentifier": "4577D915-6FB9-4738-8BE7-3DAA463EE8BD"
18
  }
 
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
+ "579EF757-64B2-4FC5-B6F3-E89145D74BE1": {
 
 
 
 
 
 
5
  "author": "com.apple.CoreML",
6
  "description": "CoreML Model Weights",
7
  "name": "weights",
8
  "path": "com.apple.CoreML/weights"
9
+ },
10
+ "86717364-E608-461C-A6FF-7DFA98056399": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Specification",
13
+ "name": "model.mlmodel",
14
+ "path": "com.apple.CoreML/model.mlmodel"
15
  }
16
  },
17
+ "rootModelIdentifier": "86717364-E608-461C-A6FF-7DFA98056399"
18
  }
ANE/styletts2_ane_prosody.mlmodelc/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:97801e9d7ade59ab0c78110290f93222ad0430e0c479125ef09755433bff3ac7
3
  size 417
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21ec9c806bdf3191a486aec9bb495ac9dcedfe1983565c6453b96ee4455340a2
3
  size 417
ANE/styletts2_ane_vocoder.mlmodelc/analytics/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e00e88bd1cdc41d123c27fe2f02f15f06711c8f6a271a0e6f458a482f066a233
3
  size 243
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66edac0a49a0eb82d4f02ad1bcab582cc3e6e0aae0a47cf9b5d669a0963ab5fd
3
  size 243
ANE/styletts2_ane_vocoder.mlmodelc/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b5bd3b5278ffc740bb257d2e837104d36fdc269adac04b7e9ac374676f923f51
3
- size 579
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8f0a56a5b227d3ee174a9099a03b6faffc5599429addd4a7cd6d91ea4a8a45b
3
+ size 477
ANE/styletts2_ane_vocoder.mlmodelc/metadata.json CHANGED
@@ -1,20 +1,20 @@
1
  [
2
  {
3
  "metadataOutputVersion" : "3.0",
4
- "shortDescription" : "StyleTTS2-ANE Stage 7: HiFi-GAN body (cos-Snake, RangeDim T_a∈[2,2000] (default=120)) — fp16, ANE.",
5
  "outputSchema" : [
6
  {
7
  "hasShapeFlexibility" : "0",
8
  "isOptional" : "0",
9
  "dataType" : "Float32",
10
- "formattedType" : "MultiArray (Float32)",
11
  "shortDescription" : "",
12
- "shape" : "[]",
13
  "name" : "audio",
14
  "type" : "MultiArray"
15
  }
16
  ],
17
- "storagePrecision" : "Mixed (Float32, Palettized (8 bits))",
18
  "modelParameters" : [
19
 
20
  ],
@@ -24,9 +24,8 @@
24
  "Ios17.linear" : 107,
25
  "Ios17.transpose" : 1,
26
  "Ios17.cos" : 96,
27
- "Ios16.constexprLutToDense" : 224,
28
- "Ios17.conv" : 119,
29
  "Ios17.sin" : 5,
 
30
  "Ios17.leakyRelu" : 10,
31
  "Ios17.concat" : 5,
32
  "Ios17.add" : 474,
@@ -58,40 +57,34 @@
58
  },
59
  "inputSchema" : [
60
  {
61
- "dataType" : "Float32",
62
- "hasShapeFlexibility" : "1",
63
  "isOptional" : "0",
64
- "shapeFlexibility" : "1 × 512 × 2...2000",
65
- "shapeRange" : "[[1, 1], [512, 512], [2, 2000]]",
66
- "formattedType" : "MultiArray (Float32 1 × 512 × 120)",
67
- "type" : "MultiArray",
68
- "shape" : "[1, 512, 120]",
69
  "name" : "asr",
70
- "shortDescription" : ""
71
  },
72
  {
73
- "dataType" : "Float32",
74
- "hasShapeFlexibility" : "1",
75
  "isOptional" : "0",
76
- "shapeFlexibility" : "1 × 4...4000",
77
- "shapeRange" : "[[1, 1], [4, 4000]]",
78
- "formattedType" : "MultiArray (Float32 1 × 240)",
79
- "type" : "MultiArray",
80
- "shape" : "[1, 240]",
81
  "name" : "F0_curve",
82
- "shortDescription" : ""
83
  },
84
  {
85
- "dataType" : "Float32",
86
- "hasShapeFlexibility" : "1",
87
  "isOptional" : "0",
88
- "shapeFlexibility" : "1 × 4...4000",
89
- "shapeRange" : "[[1, 1], [4, 4000]]",
90
- "formattedType" : "MultiArray (Float32 1 × 240)",
91
- "type" : "MultiArray",
92
- "shape" : "[1, 240]",
93
  "name" : "N",
94
- "shortDescription" : ""
95
  },
96
  {
97
  "hasShapeFlexibility" : "0",
@@ -104,22 +97,20 @@
104
  "type" : "MultiArray"
105
  },
106
  {
107
- "dataType" : "Float32",
108
- "hasShapeFlexibility" : "1",
109
  "isOptional" : "0",
110
- "shapeFlexibility" : "1 × 1200...1200000 × 9",
111
- "shapeRange" : "[[1, 1], [1200, 1200000], [9, 9]]",
112
- "formattedType" : "MultiArray (Float32 1 × 72000 × 9)",
113
- "type" : "MultiArray",
114
- "shape" : "[1, 72000, 9]",
115
  "name" : "sine_waves",
116
- "shortDescription" : ""
117
  }
118
  ],
119
  "userDefinedMetadata" : {
120
- "com.github.apple.coremltools.source_dialect" : "TorchScript",
121
  "com.github.apple.coremltools.source" : "torch==2.11.0",
122
- "com.github.apple.coremltools.version" : "8.3.0"
123
  },
124
  "generatedClassName" : "styletts2_ane_vocoder",
125
  "method" : "predict"
 
1
  [
2
  {
3
  "metadataOutputVersion" : "3.0",
4
+ "shortDescription" : "StyleTTS2-ANE Stage 7: HiFi-GAN body (cos-Snake, T_a=2000) — fp16, ANE.",
5
  "outputSchema" : [
6
  {
7
  "hasShapeFlexibility" : "0",
8
  "isOptional" : "0",
9
  "dataType" : "Float32",
10
+ "formattedType" : "MultiArray (Float32 1 × 1200000)",
11
  "shortDescription" : "",
12
+ "shape" : "[1, 1200000]",
13
  "name" : "audio",
14
  "type" : "MultiArray"
15
  }
16
  ],
17
+ "storagePrecision" : "Float32",
18
  "modelParameters" : [
19
 
20
  ],
 
24
  "Ios17.linear" : 107,
25
  "Ios17.transpose" : 1,
26
  "Ios17.cos" : 96,
 
 
27
  "Ios17.sin" : 5,
28
+ "Ios17.conv" : 119,
29
  "Ios17.leakyRelu" : 10,
30
  "Ios17.concat" : 5,
31
  "Ios17.add" : 474,
 
57
  },
58
  "inputSchema" : [
59
  {
60
+ "hasShapeFlexibility" : "0",
 
61
  "isOptional" : "0",
62
+ "dataType" : "Float32",
63
+ "formattedType" : "MultiArray (Float32 1 × 512 × 2000)",
64
+ "shortDescription" : "",
65
+ "shape" : "[1, 512, 2000]",
 
66
  "name" : "asr",
67
+ "type" : "MultiArray"
68
  },
69
  {
70
+ "hasShapeFlexibility" : "0",
 
71
  "isOptional" : "0",
72
+ "dataType" : "Float32",
73
+ "formattedType" : "MultiArray (Float32 1 × 4000)",
74
+ "shortDescription" : "",
75
+ "shape" : "[1, 4000]",
 
76
  "name" : "F0_curve",
77
+ "type" : "MultiArray"
78
  },
79
  {
80
+ "hasShapeFlexibility" : "0",
 
81
  "isOptional" : "0",
82
+ "dataType" : "Float32",
83
+ "formattedType" : "MultiArray (Float32 1 × 4000)",
84
+ "shortDescription" : "",
85
+ "shape" : "[1, 4000]",
 
86
  "name" : "N",
87
+ "type" : "MultiArray"
88
  },
89
  {
90
  "hasShapeFlexibility" : "0",
 
97
  "type" : "MultiArray"
98
  },
99
  {
100
+ "hasShapeFlexibility" : "0",
 
101
  "isOptional" : "0",
102
+ "dataType" : "Float32",
103
+ "formattedType" : "MultiArray (Float32 1 × 1200000 × 9)",
104
+ "shortDescription" : "",
105
+ "shape" : "[1, 1200000, 9]",
 
106
  "name" : "sine_waves",
107
+ "type" : "MultiArray"
108
  }
109
  ],
110
  "userDefinedMetadata" : {
111
+ "com.github.apple.coremltools.version" : "8.3.0",
112
  "com.github.apple.coremltools.source" : "torch==2.11.0",
113
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
114
  },
115
  "generatedClassName" : "styletts2_ane_vocoder",
116
  "method" : "predict"
ANE/styletts2_ane_vocoder.mlmodelc/model.mil CHANGED
The diff for this file is too large to render. See raw diff
 
ANE/styletts2_ane_vocoder.mlmodelc/weights/weight.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fe39faf7c2a8e3b75f2db31db61a246d1e858ddd56d80340707bc08924821664
3
- size 54836160
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d37f76b5e85cada8c97e8b6cb201913a97e97becf5175163e6beb7c51945d98
3
+ size 217140224
ANE/voices/ref_s_1221-135767-0014.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbfa9572285c117b8e06f0d26a08679f688f03f842a2a7bc79695d0368f0f621
3
+ size 1024
ANE/voices/ref_s_1789_142896_000022_000005.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1242a7fe05ee53dd49527ff2b8d9b080a888d2b1028921bdcc1bbabbe01bf4dc
3
+ size 1024
ANE/voices/ref_s_3.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9eca98835e3fa51232222af89638c8e371056b116cdbcddc7692b83c9ea54425
3
+ size 1024
ANE/voices/ref_s_4.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f65ca54ff2245a72b38294f81f255c1154925a295256345f21c458bfcc852276
3
+ size 1024
ANE/voices/ref_s_4077-13754-0000.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecaa216d75e7bd83df614b271b02f1f0a2f72cef3bad9c2df31f62f529b56ec0
3
+ size 1024
ANE/voices/ref_s_5.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:895321189f14164bea15359edaa310813871a13a849eda299b7b4fa772859b35
3
+ size 1024
ANE/voices/ref_s_5639-40744-0020.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbeffd18becde07721d2403d87febf8206e75451d1479636d454d5de8508a037
3
+ size 1024
ANE/voices/ref_s_696_92939_000016_000006.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed1ce726d8493824d261750257248e1688f9d7579469115e89d1cc1c99906ed5
3
+ size 1024
ANE/voices/ref_s_908-157963-0027.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45e669a05a10375611dd48834896f1efd937c83eb9c62626dc36aab4d7d9533e
3
+ size 1024
ANE/voices/ref_s_Gavin.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1429d8bb380e20e0503f0d5005461147fcc64df7225df1c93a668de843fa30af
3
+ size 1024
ANE/voices/ref_s_Nima.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b52bd16a96272ecdf19e36e23edf17fac665d6d892dfc0791f358640bee358b
3
+ size 1024
ANE/voices/ref_s_Vinay.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75c0f8ee1d56add6d709d907b2b188fc5074dfb040b23efea60313be73095c72
3
+ size 1024
ANE/voices/ref_s_Yinghao.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41c0cd685d8ffae199f47c7da31387acb4f96435953fbc1896afdce9044ce04d
3
+ size 1024
ANE/voices/ref_s_amused.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:531baf0e7863cec3ab7e70389bedd3276d0fc5703750c185cd21ab65bab0f519
3
+ size 1024
ANE/voices/ref_s_anger.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bdb75c39092504ecfc93620f46c47cf5b5172a3fe953491eac16019bbc75bc7
3
+ size 1024
ANE/voices/ref_s_disgusted.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebf549df4207fb195b241ed2f6c08e0980a42cdc401b1929eba84449fe828158
3
+ size 1024
ANE/voices/ref_s_sleepy.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffc90f3269abc3a04c4fbb574600c2fc71f3f7e241e07a7848e89217d7346420
3
+ size 1024