Upload 42 files
Browse files- conformer_streaming.mlmodelc/analytics/coremldata.bin +3 -0
- conformer_streaming.mlmodelc/coremldata.bin +3 -0
- conformer_streaming.mlmodelc/metadata.json +167 -0
- conformer_streaming.mlmodelc/model.mil +0 -0
- conformer_streaming.mlmodelc/weights/weight.bin +3 -0
- conformer_streaming.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- conformer_streaming.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- conformer_streaming.mlpackage/Manifest.json +18 -0
- decoder.mlmodelc/analytics/coremldata.bin +1 -1
- decoder.mlmodelc/coremldata.bin +1 -1
- decoder.mlmodelc/metadata.json +1 -1
- decoder.mlmodelc/model.mil +1 -1
- decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel +1 -1
- decoder.mlpackage/Manifest.json +8 -8
- joint_decision.mlmodelc/analytics/coremldata.bin +1 -1
- joint_decision.mlmodelc/coremldata.bin +1 -1
- joint_decision.mlmodelc/metadata.json +2 -2
- joint_decision.mlmodelc/model.mil +1 -1
- joint_decision.mlpackage/Data/com.apple.CoreML/model.mlmodel +1 -1
- joint_decision.mlpackage/Manifest.json +3 -3
- metadata.json +1 -1
- pre_encode.mlmodelc/analytics/coremldata.bin +3 -0
- pre_encode.mlmodelc/coremldata.bin +3 -0
- pre_encode.mlmodelc/metadata.json +115 -0
- pre_encode.mlmodelc/model.mil +101 -0
- pre_encode.mlmodelc/weights/weight.bin +3 -0
- pre_encode.mlpackage/Data/com.apple.CoreML/model.mlmodel +3 -0
- pre_encode.mlpackage/Data/com.apple.CoreML/weights/weight.bin +3 -0
- pre_encode.mlpackage/Manifest.json +18 -0
conformer_streaming.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bdae7c868374f23bd22a0a9dc48b8e98473762558feba961b9f88cbcb880b8b
|
| 3 |
+
size 243
|
conformer_streaming.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5216b17be13bf211fe2c3399f87be509502e46ea959eb360793d9ddd9e7e0124
|
| 3 |
+
size 624
|
conformer_streaming.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"shortDescription" : "ConformerStreaming",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float32",
|
| 10 |
+
"formattedType" : "MultiArray (Float32 1 × 512 × 16)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 512, 16]",
|
| 13 |
+
"name" : "encoder",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"hasShapeFlexibility" : "0",
|
| 18 |
+
"isOptional" : "0",
|
| 19 |
+
"dataType" : "Int32",
|
| 20 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 21 |
+
"shortDescription" : "",
|
| 22 |
+
"shape" : "[1]",
|
| 23 |
+
"name" : "encoder_length",
|
| 24 |
+
"type" : "MultiArray"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"hasShapeFlexibility" : "0",
|
| 28 |
+
"isOptional" : "0",
|
| 29 |
+
"dataType" : "Float32",
|
| 30 |
+
"formattedType" : "MultiArray (Float32 17 × 1 × 70 × 512)",
|
| 31 |
+
"shortDescription" : "",
|
| 32 |
+
"shape" : "[17, 1, 70, 512]",
|
| 33 |
+
"name" : "new_cache_channel",
|
| 34 |
+
"type" : "MultiArray"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"hasShapeFlexibility" : "0",
|
| 38 |
+
"isOptional" : "0",
|
| 39 |
+
"dataType" : "Float32",
|
| 40 |
+
"formattedType" : "MultiArray (Float32 17 × 1 × 512 × 8)",
|
| 41 |
+
"shortDescription" : "",
|
| 42 |
+
"shape" : "[17, 1, 512, 8]",
|
| 43 |
+
"name" : "new_cache_time",
|
| 44 |
+
"type" : "MultiArray"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"hasShapeFlexibility" : "0",
|
| 48 |
+
"isOptional" : "0",
|
| 49 |
+
"dataType" : "Int32",
|
| 50 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 51 |
+
"shortDescription" : "",
|
| 52 |
+
"shape" : "[1]",
|
| 53 |
+
"name" : "new_cache_len",
|
| 54 |
+
"type" : "MultiArray"
|
| 55 |
+
}
|
| 56 |
+
],
|
| 57 |
+
"storagePrecision" : "Float16",
|
| 58 |
+
"modelParameters" : [
|
| 59 |
+
|
| 60 |
+
],
|
| 61 |
+
"author" : "Fluid Inference",
|
| 62 |
+
"specificationVersion" : 8,
|
| 63 |
+
"mlProgramOperationTypeHistogram" : {
|
| 64 |
+
"Ios17.reshape" : 102,
|
| 65 |
+
"Ios17.logicalAnd" : 3,
|
| 66 |
+
"Ios16.softmax" : 17,
|
| 67 |
+
"Ios17.matmul" : 51,
|
| 68 |
+
"Ios17.transpose" : 155,
|
| 69 |
+
"Split" : 17,
|
| 70 |
+
"Ios17.expandDims" : 5,
|
| 71 |
+
"Select" : 51,
|
| 72 |
+
"Ios17.add" : 122,
|
| 73 |
+
"Tile" : 1,
|
| 74 |
+
"Ios17.sliceByIndex" : 139,
|
| 75 |
+
"Ios16.sigmoid" : 17,
|
| 76 |
+
"Pad" : 17,
|
| 77 |
+
"Ios17.logicalNot" : 2,
|
| 78 |
+
"Ios17.layerNorm" : 102,
|
| 79 |
+
"Ios17.less" : 1,
|
| 80 |
+
"Ios17.sub" : 1,
|
| 81 |
+
"Ios17.clip" : 2,
|
| 82 |
+
"Ios17.cast" : 10,
|
| 83 |
+
"Ios16.silu" : 51,
|
| 84 |
+
"Ios17.linear" : 136,
|
| 85 |
+
"Ios17.concat" : 51,
|
| 86 |
+
"Ios17.greaterEqual" : 1,
|
| 87 |
+
"Ios17.conv" : 51,
|
| 88 |
+
"Stack" : 2,
|
| 89 |
+
"Ios17.mul" : 69
|
| 90 |
+
},
|
| 91 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
| 92 |
+
"isUpdatable" : "0",
|
| 93 |
+
"stateSchema" : [
|
| 94 |
+
|
| 95 |
+
],
|
| 96 |
+
"availability" : {
|
| 97 |
+
"macOS" : "14.0",
|
| 98 |
+
"tvOS" : "17.0",
|
| 99 |
+
"visionOS" : "1.0",
|
| 100 |
+
"watchOS" : "10.0",
|
| 101 |
+
"iOS" : "17.0",
|
| 102 |
+
"macCatalyst" : "17.0"
|
| 103 |
+
},
|
| 104 |
+
"modelType" : {
|
| 105 |
+
"name" : "MLModelType_mlProgram"
|
| 106 |
+
},
|
| 107 |
+
"inputSchema" : [
|
| 108 |
+
{
|
| 109 |
+
"hasShapeFlexibility" : "0",
|
| 110 |
+
"isOptional" : "0",
|
| 111 |
+
"dataType" : "Float32",
|
| 112 |
+
"formattedType" : "MultiArray (Float32 1 × 18 × 512)",
|
| 113 |
+
"shortDescription" : "",
|
| 114 |
+
"shape" : "[1, 18, 512]",
|
| 115 |
+
"name" : "pre_encoded",
|
| 116 |
+
"type" : "MultiArray"
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"hasShapeFlexibility" : "0",
|
| 120 |
+
"isOptional" : "0",
|
| 121 |
+
"dataType" : "Int32",
|
| 122 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 123 |
+
"shortDescription" : "",
|
| 124 |
+
"shape" : "[1]",
|
| 125 |
+
"name" : "pre_encoded_length",
|
| 126 |
+
"type" : "MultiArray"
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"hasShapeFlexibility" : "0",
|
| 130 |
+
"isOptional" : "0",
|
| 131 |
+
"dataType" : "Float32",
|
| 132 |
+
"formattedType" : "MultiArray (Float32 17 × 1 × 70 × 512)",
|
| 133 |
+
"shortDescription" : "",
|
| 134 |
+
"shape" : "[17, 1, 70, 512]",
|
| 135 |
+
"name" : "cache_last_channel",
|
| 136 |
+
"type" : "MultiArray"
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"hasShapeFlexibility" : "0",
|
| 140 |
+
"isOptional" : "0",
|
| 141 |
+
"dataType" : "Float32",
|
| 142 |
+
"formattedType" : "MultiArray (Float32 17 × 1 × 512 × 8)",
|
| 143 |
+
"shortDescription" : "",
|
| 144 |
+
"shape" : "[17, 1, 512, 8]",
|
| 145 |
+
"name" : "cache_last_time",
|
| 146 |
+
"type" : "MultiArray"
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"hasShapeFlexibility" : "0",
|
| 150 |
+
"isOptional" : "0",
|
| 151 |
+
"dataType" : "Int32",
|
| 152 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 153 |
+
"shortDescription" : "",
|
| 154 |
+
"shape" : "[1]",
|
| 155 |
+
"name" : "cache_last_channel_len",
|
| 156 |
+
"type" : "MultiArray"
|
| 157 |
+
}
|
| 158 |
+
],
|
| 159 |
+
"userDefinedMetadata" : {
|
| 160 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 161 |
+
"com.github.apple.coremltools.source" : "torch==2.4.0",
|
| 162 |
+
"com.github.apple.coremltools.version" : "8.3.0"
|
| 163 |
+
},
|
| 164 |
+
"generatedClassName" : "conformer_streaming",
|
| 165 |
+
"method" : "predict"
|
| 166 |
+
}
|
| 167 |
+
]
|
conformer_streaming.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
conformer_streaming.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc803a8f01e659ff3a72c33142841d16a9ce35761e9e3b59732d5f2144a280f9
|
| 3 |
+
size 208407616
|
conformer_streaming.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd73072f0d5ec05510531ad65278caeae1eca3db0ad8e0272eb328934b89217a
|
| 3 |
+
size 513705
|
conformer_streaming.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc803a8f01e659ff3a72c33142841d16a9ce35761e9e3b59732d5f2144a280f9
|
| 3 |
+
size 208407616
|
conformer_streaming.mlpackage/Manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"fileFormatVersion": "1.0.0",
|
| 3 |
+
"itemInfoEntries": {
|
| 4 |
+
"CD5C49FD-C6DE-43DF-8727-686BAB1E82D8": {
|
| 5 |
+
"author": "com.apple.CoreML",
|
| 6 |
+
"description": "CoreML Model Weights",
|
| 7 |
+
"name": "weights",
|
| 8 |
+
"path": "com.apple.CoreML/weights"
|
| 9 |
+
},
|
| 10 |
+
"EA8A367B-5B03-442B-9E15-5678C18CE731": {
|
| 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": "EA8A367B-5B03-442B-9E15-5678C18CE731"
|
| 18 |
+
}
|
decoder.mlmodelc/analytics/coremldata.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 243
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e739d0ede0b1992e22d740c0f7af587e8f3cf95fa3717e1757b0c8cfe1ca94f
|
| 3 |
size 243
|
decoder.mlmodelc/coremldata.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 458
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ab259f1638ef9995a342c1a36d1768f9b0f6152a0fc9c832a7b1e972ea2095a
|
| 3 |
size 458
|
decoder.mlmodelc/metadata.json
CHANGED
|
@@ -111,7 +111,7 @@
|
|
| 111 |
"userDefinedMetadata" : {
|
| 112 |
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 113 |
"com.github.apple.coremltools.version" : "8.3.0",
|
| 114 |
-
"com.github.apple.coremltools.source" : "torch==2.
|
| 115 |
},
|
| 116 |
"generatedClassName" : "decoder",
|
| 117 |
"method" : "predict"
|
|
|
|
| 111 |
"userDefinedMetadata" : {
|
| 112 |
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 113 |
"com.github.apple.coremltools.version" : "8.3.0",
|
| 114 |
+
"com.github.apple.coremltools.source" : "torch==2.4.0"
|
| 115 |
},
|
| 116 |
"generatedClassName" : "decoder",
|
| 117 |
"method" : "predict"
|
decoder.mlmodelc/model.mil
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
program(1.0)
|
| 2 |
-
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3500.14.1"}, {"coremlc-version", "3500.32.1"}, {"coremltools-component-torch", "2.
|
| 3 |
{
|
| 4 |
func main<ios17>(tensor<fp32, [1, 1, 640]> c_in, tensor<fp32, [1, 1, 640]> h_in, tensor<int32, [1]> target_length, tensor<int32, [1, 1]> targets) {
|
| 5 |
tensor<int32, []> var_15 = const()[name = tensor<string, []>("op_15"), val = tensor<int32, []>(1)];
|
|
|
|
| 1 |
program(1.0)
|
| 2 |
+
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3500.14.1"}, {"coremlc-version", "3500.32.1"}, {"coremltools-component-torch", "2.4.0"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "8.3.0"}})]
|
| 3 |
{
|
| 4 |
func main<ios17>(tensor<fp32, [1, 1, 640]> c_in, tensor<fp32, [1, 1, 640]> h_in, tensor<int32, [1]> target_length, tensor<int32, [1, 1]> targets) {
|
| 5 |
tensor<int32, []> var_15 = const()[name = tensor<string, []>("op_15"), val = tensor<int32, []>(1)];
|
decoder.mlpackage/Data/com.apple.CoreML/model.mlmodel
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 7265
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1244c8436e6a6be286408bbeb406e289de1fc97d91b542b1ec4446baefff1d3
|
| 3 |
size 7265
|
decoder.mlpackage/Manifest.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
{
|
| 2 |
"fileFormatVersion": "1.0.0",
|
| 3 |
"itemInfoEntries": {
|
| 4 |
-
"
|
| 5 |
-
"author": "com.apple.CoreML",
|
| 6 |
-
"description": "CoreML Model Weights",
|
| 7 |
-
"name": "weights",
|
| 8 |
-
"path": "com.apple.CoreML/weights"
|
| 9 |
-
},
|
| 10 |
-
"C6EF3FD9-9BAA-4C33-A4E1-39278E0AFAA1": {
|
| 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": "
|
| 18 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"fileFormatVersion": "1.0.0",
|
| 3 |
"itemInfoEntries": {
|
| 4 |
+
"1ED1A279-6262-48EA-A0AB-BDC71BF0E685": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"author": "com.apple.CoreML",
|
| 6 |
"description": "CoreML Model Specification",
|
| 7 |
"name": "model.mlmodel",
|
| 8 |
"path": "com.apple.CoreML/model.mlmodel"
|
| 9 |
+
},
|
| 10 |
+
"23073A42-CE49-4FD6-804B-0202E5F2F5FE": {
|
| 11 |
+
"author": "com.apple.CoreML",
|
| 12 |
+
"description": "CoreML Model Weights",
|
| 13 |
+
"name": "weights",
|
| 14 |
+
"path": "com.apple.CoreML/weights"
|
| 15 |
}
|
| 16 |
},
|
| 17 |
+
"rootModelIdentifier": "1ED1A279-6262-48EA-A0AB-BDC71BF0E685"
|
| 18 |
}
|
joint_decision.mlmodelc/analytics/coremldata.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 243
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf591aad6f49236974c15ec2c458e3f6149f4b14e4e86ec7c793e36b6168a9c8
|
| 3 |
size 243
|
joint_decision.mlmodelc/coremldata.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 467
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5ba480215cdc9d07c66536da11e3219973373d5292f722f0d876168c809302d
|
| 3 |
size 467
|
joint_decision.mlmodelc/metadata.json
CHANGED
|
@@ -102,9 +102,9 @@
|
|
| 102 |
}
|
| 103 |
],
|
| 104 |
"userDefinedMetadata" : {
|
| 105 |
-
"com.github.apple.coremltools.version" : "8.3.0",
|
| 106 |
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 107 |
-
"com.github.apple.coremltools.
|
|
|
|
| 108 |
},
|
| 109 |
"generatedClassName" : "joint_decision",
|
| 110 |
"method" : "predict"
|
|
|
|
| 102 |
}
|
| 103 |
],
|
| 104 |
"userDefinedMetadata" : {
|
|
|
|
| 105 |
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 106 |
+
"com.github.apple.coremltools.version" : "8.3.0",
|
| 107 |
+
"com.github.apple.coremltools.source" : "torch==2.4.0"
|
| 108 |
},
|
| 109 |
"generatedClassName" : "joint_decision",
|
| 110 |
"method" : "predict"
|
joint_decision.mlmodelc/model.mil
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
program(1.0)
|
| 2 |
-
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3500.14.1"}, {"coremlc-version", "3500.32.1"}, {"coremltools-component-torch", "2.
|
| 3 |
{
|
| 4 |
func main<ios17>(tensor<fp32, [1, 640, 1]> decoder_step, tensor<fp32, [1, 512, 1]> encoder_step) {
|
| 5 |
tensor<int32, [3]> input_1_perm_0 = const()[name = tensor<string, []>("input_1_perm_0"), val = tensor<int32, [3]>([0, 2, 1])];
|
|
|
|
| 1 |
program(1.0)
|
| 2 |
+
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3500.14.1"}, {"coremlc-version", "3500.32.1"}, {"coremltools-component-torch", "2.4.0"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "8.3.0"}})]
|
| 3 |
{
|
| 4 |
func main<ios17>(tensor<fp32, [1, 640, 1]> decoder_step, tensor<fp32, [1, 512, 1]> encoder_step) {
|
| 5 |
tensor<int32, [3]> input_1_perm_0 = const()[name = tensor<string, []>("input_1_perm_0"), val = tensor<int32, [3]>([0, 2, 1])];
|
joint_decision.mlpackage/Data/com.apple.CoreML/model.mlmodel
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 8659
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:056030ae3bdaa34798599fa85d65161620e37b57736bad36e66bcc325a0697a6
|
| 3 |
size 8659
|
joint_decision.mlpackage/Manifest.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
{
|
| 2 |
"fileFormatVersion": "1.0.0",
|
| 3 |
"itemInfoEntries": {
|
| 4 |
-
"
|
| 5 |
"author": "com.apple.CoreML",
|
| 6 |
"description": "CoreML Model Weights",
|
| 7 |
"name": "weights",
|
| 8 |
"path": "com.apple.CoreML/weights"
|
| 9 |
},
|
| 10 |
-
"
|
| 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": "
|
| 18 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"fileFormatVersion": "1.0.0",
|
| 3 |
"itemInfoEntries": {
|
| 4 |
+
"0CF23592-7D60-49DD-9E5B-9AFE5264788C": {
|
| 5 |
"author": "com.apple.CoreML",
|
| 6 |
"description": "CoreML Model Weights",
|
| 7 |
"name": "weights",
|
| 8 |
"path": "com.apple.CoreML/weights"
|
| 9 |
},
|
| 10 |
+
"9E9496C6-3C38-4F1C-A99D-D6110DDE81CB": {
|
| 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": "9E9496C6-3C38-4F1C-A99D-D6110DDE81CB"
|
| 18 |
}
|
metadata.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
"mel_dim": 128,
|
| 7 |
"hidden_dim": 512,
|
| 8 |
"num_layers": 17,
|
| 9 |
-
"mel_frames_per_chunk":
|
| 10 |
"vocab_size": 1026,
|
| 11 |
"blank_id": 1026,
|
| 12 |
"decoder_hidden": 640,
|
|
|
|
| 6 |
"mel_dim": 128,
|
| 7 |
"hidden_dim": 512,
|
| 8 |
"num_layers": 17,
|
| 9 |
+
"mel_frames_per_chunk": 1005,
|
| 10 |
"vocab_size": 1026,
|
| 11 |
"blank_id": 1026,
|
| 12 |
"decoder_hidden": 640,
|
pre_encode.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b2d216925c6a5984440394c017bf480966f7208197209d7d0420022033f6ecd
|
| 3 |
+
size 243
|
pre_encode.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21af7edc583391f2ad383e01381b448c2c0507f2ff2e8f33ca4dd2eb17b136b6
|
| 3 |
+
size 458
|
pre_encode.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"shortDescription" : "PreEncode",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float32",
|
| 10 |
+
"formattedType" : "MultiArray (Float32 1 × 18 × 512)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 18, 512]",
|
| 13 |
+
"name" : "pre_encoded",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"hasShapeFlexibility" : "0",
|
| 18 |
+
"isOptional" : "0",
|
| 19 |
+
"dataType" : "Int32",
|
| 20 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 21 |
+
"shortDescription" : "",
|
| 22 |
+
"shape" : "[1]",
|
| 23 |
+
"name" : "pre_encoded_len",
|
| 24 |
+
"type" : "MultiArray"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"hasShapeFlexibility" : "0",
|
| 28 |
+
"isOptional" : "0",
|
| 29 |
+
"dataType" : "Float32",
|
| 30 |
+
"formattedType" : "MultiArray (Float32 1 × 9 × 128)",
|
| 31 |
+
"shortDescription" : "",
|
| 32 |
+
"shape" : "[1, 9, 128]",
|
| 33 |
+
"name" : "new_pre_cache",
|
| 34 |
+
"type" : "MultiArray"
|
| 35 |
+
}
|
| 36 |
+
],
|
| 37 |
+
"storagePrecision" : "Float32",
|
| 38 |
+
"modelParameters" : [
|
| 39 |
+
|
| 40 |
+
],
|
| 41 |
+
"author" : "Fluid Inference",
|
| 42 |
+
"specificationVersion" : 8,
|
| 43 |
+
"mlProgramOperationTypeHistogram" : {
|
| 44 |
+
"Identity" : 1,
|
| 45 |
+
"Ios17.mul" : 3,
|
| 46 |
+
"Ios17.linear" : 1,
|
| 47 |
+
"Ios17.floor" : 3,
|
| 48 |
+
"Ios17.transpose" : 2,
|
| 49 |
+
"Ios17.conv" : 5,
|
| 50 |
+
"Ios17.concat" : 1,
|
| 51 |
+
"Ios17.add" : 4,
|
| 52 |
+
"Ios17.sliceByIndex" : 1,
|
| 53 |
+
"Ios16.relu" : 3,
|
| 54 |
+
"Ios17.expandDims" : 1,
|
| 55 |
+
"Ios17.cast" : 2,
|
| 56 |
+
"Ios17.reshape" : 1,
|
| 57 |
+
"Pad" : 3
|
| 58 |
+
},
|
| 59 |
+
"computePrecision" : "Mixed (Float32, Int32)",
|
| 60 |
+
"isUpdatable" : "0",
|
| 61 |
+
"stateSchema" : [
|
| 62 |
+
|
| 63 |
+
],
|
| 64 |
+
"availability" : {
|
| 65 |
+
"macOS" : "14.0",
|
| 66 |
+
"tvOS" : "17.0",
|
| 67 |
+
"visionOS" : "1.0",
|
| 68 |
+
"watchOS" : "10.0",
|
| 69 |
+
"iOS" : "17.0",
|
| 70 |
+
"macCatalyst" : "17.0"
|
| 71 |
+
},
|
| 72 |
+
"modelType" : {
|
| 73 |
+
"name" : "MLModelType_mlProgram"
|
| 74 |
+
},
|
| 75 |
+
"inputSchema" : [
|
| 76 |
+
{
|
| 77 |
+
"hasShapeFlexibility" : "0",
|
| 78 |
+
"isOptional" : "0",
|
| 79 |
+
"dataType" : "Float32",
|
| 80 |
+
"formattedType" : "MultiArray (Float32 1 × 128 × 128)",
|
| 81 |
+
"shortDescription" : "",
|
| 82 |
+
"shape" : "[1, 128, 128]",
|
| 83 |
+
"name" : "mel",
|
| 84 |
+
"type" : "MultiArray"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"hasShapeFlexibility" : "0",
|
| 88 |
+
"isOptional" : "0",
|
| 89 |
+
"dataType" : "Int32",
|
| 90 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 91 |
+
"shortDescription" : "",
|
| 92 |
+
"shape" : "[1]",
|
| 93 |
+
"name" : "mel_length",
|
| 94 |
+
"type" : "MultiArray"
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"hasShapeFlexibility" : "0",
|
| 98 |
+
"isOptional" : "0",
|
| 99 |
+
"dataType" : "Float32",
|
| 100 |
+
"formattedType" : "MultiArray (Float32 1 × 9 × 128)",
|
| 101 |
+
"shortDescription" : "",
|
| 102 |
+
"shape" : "[1, 9, 128]",
|
| 103 |
+
"name" : "pre_cache",
|
| 104 |
+
"type" : "MultiArray"
|
| 105 |
+
}
|
| 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.4.0"
|
| 111 |
+
},
|
| 112 |
+
"generatedClassName" : "pre_encode",
|
| 113 |
+
"method" : "predict"
|
| 114 |
+
}
|
| 115 |
+
]
|
pre_encode.mlmodelc/model.mil
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
program(1.0)
|
| 2 |
+
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3500.14.1"}, {"coremlc-version", "3500.32.1"}, {"coremltools-component-torch", "2.4.0"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "8.3.0"}})]
|
| 3 |
+
{
|
| 4 |
+
func main<ios17>(tensor<fp32, [1, 128, 128]> mel, tensor<int32, [1]> mel_length, tensor<fp32, [1, 9, 128]> pre_cache) {
|
| 5 |
+
tensor<fp32, [256]> pre_encode_conv_0_bias = const()[name = tensor<string, []>("pre_encode_conv_0_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(64)))];
|
| 6 |
+
tensor<fp32, [256, 1, 3, 3]> pre_encode_conv_0_weight = const()[name = tensor<string, []>("pre_encode_conv_0_weight"), val = tensor<fp32, [256, 1, 3, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(1152)))];
|
| 7 |
+
tensor<fp32, [256]> pre_encode_conv_2_bias = const()[name = tensor<string, []>("pre_encode_conv_2_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(10432)))];
|
| 8 |
+
tensor<fp32, [256, 1, 3, 3]> pre_encode_conv_2_weight = const()[name = tensor<string, []>("pre_encode_conv_2_weight"), val = tensor<fp32, [256, 1, 3, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(11520)))];
|
| 9 |
+
tensor<fp32, [256]> pre_encode_conv_3_bias = const()[name = tensor<string, []>("pre_encode_conv_3_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(20800)))];
|
| 10 |
+
tensor<fp32, [256, 256, 1, 1]> pre_encode_conv_3_weight = const()[name = tensor<string, []>("pre_encode_conv_3_weight"), val = tensor<fp32, [256, 256, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(21888)))];
|
| 11 |
+
tensor<fp32, [256]> pre_encode_conv_5_bias = const()[name = tensor<string, []>("pre_encode_conv_5_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(284096)))];
|
| 12 |
+
tensor<fp32, [256, 1, 3, 3]> pre_encode_conv_5_weight = const()[name = tensor<string, []>("pre_encode_conv_5_weight"), val = tensor<fp32, [256, 1, 3, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(285184)))];
|
| 13 |
+
tensor<fp32, [256]> pre_encode_conv_6_bias = const()[name = tensor<string, []>("pre_encode_conv_6_bias"), val = tensor<fp32, [256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(294464)))];
|
| 14 |
+
tensor<fp32, [256, 256, 1, 1]> pre_encode_conv_6_weight = const()[name = tensor<string, []>("pre_encode_conv_6_weight"), val = tensor<fp32, [256, 256, 1, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(295552)))];
|
| 15 |
+
tensor<fp32, [512]> pre_encode_out_bias = const()[name = tensor<string, []>("pre_encode_out_bias"), val = tensor<fp32, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(557760)))];
|
| 16 |
+
tensor<fp32, [512, 4352]> pre_encode_out_weight = const()[name = tensor<string, []>("pre_encode_out_weight"), val = tensor<fp32, [512, 4352]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(559872)))];
|
| 17 |
+
tensor<int32, [3]> mel_perm_0 = const()[name = tensor<string, []>("mel_perm_0"), val = tensor<int32, [3]>([0, 2, 1])];
|
| 18 |
+
tensor<int32, []> var_9 = const()[name = tensor<string, []>("op_9"), val = tensor<int32, []>(1)];
|
| 19 |
+
tensor<bool, []> var_10_interleave_0 = const()[name = tensor<string, []>("op_10_interleave_0"), val = tensor<bool, []>(false)];
|
| 20 |
+
tensor<fp32, [1, 128, 128]> mel_1 = transpose(perm = mel_perm_0, x = mel)[name = tensor<string, []>("transpose_1")];
|
| 21 |
+
tensor<fp32, [1, 137, 128]> var_10 = concat(axis = var_9, interleave = var_10_interleave_0, values = (pre_cache, mel_1))[name = tensor<string, []>("op_10")];
|
| 22 |
+
tensor<int32, []> var_12 = const()[name = tensor<string, []>("op_12"), val = tensor<int32, []>(9)];
|
| 23 |
+
tensor<int32, [1]> var_13 = add(x = mel_length, y = var_12)[name = tensor<string, []>("op_13")];
|
| 24 |
+
tensor<string, []> cast_0_dtype_0 = const()[name = tensor<string, []>("cast_0_dtype_0"), val = tensor<string, []>("fp32")];
|
| 25 |
+
tensor<fp32, []> _inversed_31_y_0 = const()[name = tensor<string, []>("_inversed_31_y_0"), val = tensor<fp32, []>(0x1p-1)];
|
| 26 |
+
tensor<fp32, [1]> cast_0 = cast(dtype = cast_0_dtype_0, x = var_13)[name = tensor<string, []>("cast_12")];
|
| 27 |
+
tensor<fp32, [1]> _inversed_31 = mul(x = cast_0, y = _inversed_31_y_0)[name = tensor<string, []>("_inversed_31")];
|
| 28 |
+
tensor<fp32, []> var_32 = const()[name = tensor<string, []>("op_32"), val = tensor<fp32, []>(0x1p+0)];
|
| 29 |
+
tensor<fp32, [1]> lengths_3 = add(x = _inversed_31, y = var_32)[name = tensor<string, []>("lengths_3")];
|
| 30 |
+
tensor<fp32, [1]> lengths_5 = floor(x = lengths_3)[name = tensor<string, []>("lengths_5")];
|
| 31 |
+
tensor<fp32, []> _inversed_39_y_0 = const()[name = tensor<string, []>("_inversed_39_y_0"), val = tensor<fp32, []>(0x1p-1)];
|
| 32 |
+
tensor<fp32, [1]> _inversed_39 = mul(x = lengths_5, y = _inversed_39_y_0)[name = tensor<string, []>("_inversed_39")];
|
| 33 |
+
tensor<fp32, []> var_40 = const()[name = tensor<string, []>("op_40"), val = tensor<fp32, []>(0x1p+0)];
|
| 34 |
+
tensor<fp32, [1]> lengths_9 = add(x = _inversed_39, y = var_40)[name = tensor<string, []>("lengths_9")];
|
| 35 |
+
tensor<fp32, [1]> lengths_11 = floor(x = lengths_9)[name = tensor<string, []>("lengths_11")];
|
| 36 |
+
tensor<fp32, []> _inversed_47_y_0 = const()[name = tensor<string, []>("_inversed_47_y_0"), val = tensor<fp32, []>(0x1p-1)];
|
| 37 |
+
tensor<fp32, [1]> _inversed_47 = mul(x = lengths_11, y = _inversed_47_y_0)[name = tensor<string, []>("_inversed_47")];
|
| 38 |
+
tensor<fp32, []> var_48 = const()[name = tensor<string, []>("op_48"), val = tensor<fp32, []>(0x1p+0)];
|
| 39 |
+
tensor<fp32, [1]> lengths_15 = add(x = _inversed_47, y = var_48)[name = tensor<string, []>("lengths_15")];
|
| 40 |
+
tensor<fp32, [1]> lengths = floor(x = lengths_15)[name = tensor<string, []>("lengths")];
|
| 41 |
+
tensor<string, []> cast_9_dtype_0 = const()[name = tensor<string, []>("cast_9_dtype_0"), val = tensor<string, []>("int32")];
|
| 42 |
+
tensor<int32, [1]> input_1_axes_0 = const()[name = tensor<string, []>("input_1_axes_0"), val = tensor<int32, [1]>([1])];
|
| 43 |
+
tensor<fp32, [1, 1, 137, 128]> input_1 = expand_dims(axes = input_1_axes_0, x = var_10)[name = tensor<string, []>("input_1")];
|
| 44 |
+
tensor<fp32, []> const_0 = const()[name = tensor<string, []>("const_0"), val = tensor<fp32, []>(0x0p+0)];
|
| 45 |
+
tensor<int32, [8]> input_3_pad_0 = const()[name = tensor<string, []>("input_3_pad_0"), val = tensor<int32, [8]>([0, 0, 0, 0, 2, 1, 2, 1])];
|
| 46 |
+
tensor<string, []> input_3_mode_0 = const()[name = tensor<string, []>("input_3_mode_0"), val = tensor<string, []>("constant")];
|
| 47 |
+
tensor<fp32, [1, 1, 140, 131]> input_3 = pad(constant_val = const_0, mode = input_3_mode_0, pad = input_3_pad_0, x = input_1)[name = tensor<string, []>("input_3")];
|
| 48 |
+
tensor<string, []> input_5_pad_type_0 = const()[name = tensor<string, []>("input_5_pad_type_0"), val = tensor<string, []>("valid")];
|
| 49 |
+
tensor<int32, [2]> input_5_strides_0 = const()[name = tensor<string, []>("input_5_strides_0"), val = tensor<int32, [2]>([2, 2])];
|
| 50 |
+
tensor<int32, [4]> input_5_pad_0 = const()[name = tensor<string, []>("input_5_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
|
| 51 |
+
tensor<int32, [2]> input_5_dilations_0 = const()[name = tensor<string, []>("input_5_dilations_0"), val = tensor<int32, [2]>([1, 1])];
|
| 52 |
+
tensor<int32, []> input_5_groups_0 = const()[name = tensor<string, []>("input_5_groups_0"), val = tensor<int32, []>(1)];
|
| 53 |
+
tensor<fp32, [1, 256, 69, 65]> input_5 = conv(bias = pre_encode_conv_0_bias, dilations = input_5_dilations_0, groups = input_5_groups_0, pad = input_5_pad_0, pad_type = input_5_pad_type_0, strides = input_5_strides_0, weight = pre_encode_conv_0_weight, x = input_3)[name = tensor<string, []>("input_5")];
|
| 54 |
+
tensor<fp32, [1, 256, 69, 65]> input_7 = relu(x = input_5)[name = tensor<string, []>("input_7")];
|
| 55 |
+
tensor<fp32, []> const_1 = const()[name = tensor<string, []>("const_1"), val = tensor<fp32, []>(0x0p+0)];
|
| 56 |
+
tensor<int32, [8]> input_9_pad_0 = const()[name = tensor<string, []>("input_9_pad_0"), val = tensor<int32, [8]>([0, 0, 0, 0, 2, 1, 2, 1])];
|
| 57 |
+
tensor<string, []> input_9_mode_0 = const()[name = tensor<string, []>("input_9_mode_0"), val = tensor<string, []>("constant")];
|
| 58 |
+
tensor<fp32, [1, 256, 72, 68]> input_9 = pad(constant_val = const_1, mode = input_9_mode_0, pad = input_9_pad_0, x = input_7)[name = tensor<string, []>("input_9")];
|
| 59 |
+
tensor<string, []> input_11_pad_type_0 = const()[name = tensor<string, []>("input_11_pad_type_0"), val = tensor<string, []>("valid")];
|
| 60 |
+
tensor<int32, [2]> input_11_strides_0 = const()[name = tensor<string, []>("input_11_strides_0"), val = tensor<int32, [2]>([2, 2])];
|
| 61 |
+
tensor<int32, []> input_11_groups_0 = const()[name = tensor<string, []>("input_11_groups_0"), val = tensor<int32, []>(256)];
|
| 62 |
+
tensor<int32, [4]> input_11_pad_0 = const()[name = tensor<string, []>("input_11_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
|
| 63 |
+
tensor<int32, [2]> input_11_dilations_0 = const()[name = tensor<string, []>("input_11_dilations_0"), val = tensor<int32, [2]>([1, 1])];
|
| 64 |
+
tensor<fp32, [1, 256, 35, 33]> input_11 = conv(bias = pre_encode_conv_2_bias, dilations = input_11_dilations_0, groups = input_11_groups_0, pad = input_11_pad_0, pad_type = input_11_pad_type_0, strides = input_11_strides_0, weight = pre_encode_conv_2_weight, x = input_9)[name = tensor<string, []>("input_11")];
|
| 65 |
+
tensor<string, []> input_13_pad_type_0 = const()[name = tensor<string, []>("input_13_pad_type_0"), val = tensor<string, []>("valid")];
|
| 66 |
+
tensor<int32, [2]> input_13_strides_0 = const()[name = tensor<string, []>("input_13_strides_0"), val = tensor<int32, [2]>([1, 1])];
|
| 67 |
+
tensor<int32, [4]> input_13_pad_0 = const()[name = tensor<string, []>("input_13_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
|
| 68 |
+
tensor<int32, [2]> input_13_dilations_0 = const()[name = tensor<string, []>("input_13_dilations_0"), val = tensor<int32, [2]>([1, 1])];
|
| 69 |
+
tensor<int32, []> input_13_groups_0 = const()[name = tensor<string, []>("input_13_groups_0"), val = tensor<int32, []>(1)];
|
| 70 |
+
tensor<fp32, [1, 256, 35, 33]> input_13 = conv(bias = pre_encode_conv_3_bias, dilations = input_13_dilations_0, groups = input_13_groups_0, pad = input_13_pad_0, pad_type = input_13_pad_type_0, strides = input_13_strides_0, weight = pre_encode_conv_3_weight, x = input_11)[name = tensor<string, []>("input_13")];
|
| 71 |
+
tensor<fp32, [1, 256, 35, 33]> input_15 = relu(x = input_13)[name = tensor<string, []>("input_15")];
|
| 72 |
+
tensor<fp32, []> const_2 = const()[name = tensor<string, []>("const_2"), val = tensor<fp32, []>(0x0p+0)];
|
| 73 |
+
tensor<int32, [8]> input_17_pad_0 = const()[name = tensor<string, []>("input_17_pad_0"), val = tensor<int32, [8]>([0, 0, 0, 0, 2, 1, 2, 1])];
|
| 74 |
+
tensor<string, []> input_17_mode_0 = const()[name = tensor<string, []>("input_17_mode_0"), val = tensor<string, []>("constant")];
|
| 75 |
+
tensor<fp32, [1, 256, 38, 36]> input_17 = pad(constant_val = const_2, mode = input_17_mode_0, pad = input_17_pad_0, x = input_15)[name = tensor<string, []>("input_17")];
|
| 76 |
+
tensor<string, []> input_19_pad_type_0 = const()[name = tensor<string, []>("input_19_pad_type_0"), val = tensor<string, []>("valid")];
|
| 77 |
+
tensor<int32, [2]> input_19_strides_0 = const()[name = tensor<string, []>("input_19_strides_0"), val = tensor<int32, [2]>([2, 2])];
|
| 78 |
+
tensor<int32, []> input_19_groups_0 = const()[name = tensor<string, []>("input_19_groups_0"), val = tensor<int32, []>(256)];
|
| 79 |
+
tensor<int32, [4]> input_19_pad_0 = const()[name = tensor<string, []>("input_19_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
|
| 80 |
+
tensor<int32, [2]> input_19_dilations_0 = const()[name = tensor<string, []>("input_19_dilations_0"), val = tensor<int32, [2]>([1, 1])];
|
| 81 |
+
tensor<fp32, [1, 256, 18, 17]> input_19 = conv(bias = pre_encode_conv_5_bias, dilations = input_19_dilations_0, groups = input_19_groups_0, pad = input_19_pad_0, pad_type = input_19_pad_type_0, strides = input_19_strides_0, weight = pre_encode_conv_5_weight, x = input_17)[name = tensor<string, []>("input_19")];
|
| 82 |
+
tensor<string, []> input_21_pad_type_0 = const()[name = tensor<string, []>("input_21_pad_type_0"), val = tensor<string, []>("valid")];
|
| 83 |
+
tensor<int32, [2]> input_21_strides_0 = const()[name = tensor<string, []>("input_21_strides_0"), val = tensor<int32, [2]>([1, 1])];
|
| 84 |
+
tensor<int32, [4]> input_21_pad_0 = const()[name = tensor<string, []>("input_21_pad_0"), val = tensor<int32, [4]>([0, 0, 0, 0])];
|
| 85 |
+
tensor<int32, [2]> input_21_dilations_0 = const()[name = tensor<string, []>("input_21_dilations_0"), val = tensor<int32, [2]>([1, 1])];
|
| 86 |
+
tensor<int32, []> input_21_groups_0 = const()[name = tensor<string, []>("input_21_groups_0"), val = tensor<int32, []>(1)];
|
| 87 |
+
tensor<fp32, [1, 256, 18, 17]> input_21 = conv(bias = pre_encode_conv_6_bias, dilations = input_21_dilations_0, groups = input_21_groups_0, pad = input_21_pad_0, pad_type = input_21_pad_type_0, strides = input_21_strides_0, weight = pre_encode_conv_6_weight, x = input_19)[name = tensor<string, []>("input_21")];
|
| 88 |
+
tensor<fp32, [1, 256, 18, 17]> x = relu(x = input_21)[name = tensor<string, []>("x")];
|
| 89 |
+
tensor<int32, [4]> var_104_perm_0 = const()[name = tensor<string, []>("op_104_perm_0"), val = tensor<int32, [4]>([0, 2, 1, 3])];
|
| 90 |
+
tensor<int32, [3]> var_105 = const()[name = tensor<string, []>("op_105"), val = tensor<int32, [3]>([1, 18, -1])];
|
| 91 |
+
tensor<fp32, [1, 18, 256, 17]> var_104 = transpose(perm = var_104_perm_0, x = x)[name = tensor<string, []>("transpose_0")];
|
| 92 |
+
tensor<fp32, [1, 18, 4352]> input = reshape(shape = var_105, x = var_104)[name = tensor<string, []>("input")];
|
| 93 |
+
tensor<fp32, [1, 18, 512]> pre_encoded = linear(bias = pre_encode_out_bias, weight = pre_encode_out_weight, x = input)[name = tensor<string, []>("linear_0")];
|
| 94 |
+
tensor<int32, [3]> var_122_begin_0 = const()[name = tensor<string, []>("op_122_begin_0"), val = tensor<int32, [3]>([0, 119, 0])];
|
| 95 |
+
tensor<int32, [3]> var_122_end_0 = const()[name = tensor<string, []>("op_122_end_0"), val = tensor<int32, [3]>([1, 128, 128])];
|
| 96 |
+
tensor<bool, [3]> var_122_end_mask_0 = const()[name = tensor<string, []>("op_122_end_mask_0"), val = tensor<bool, [3]>([true, true, true])];
|
| 97 |
+
tensor<fp32, [1, 9, 128]> var_122 = slice_by_index(begin = var_122_begin_0, end = var_122_end_0, end_mask = var_122_end_mask_0, x = mel_1)[name = tensor<string, []>("op_122")];
|
| 98 |
+
tensor<fp32, [1, 9, 128]> new_pre_cache = identity(x = var_122)[name = tensor<string, []>("op_127")];
|
| 99 |
+
tensor<int32, [1]> pre_encoded_len = cast(dtype = cast_9_dtype_0, x = lengths)[name = tensor<string, []>("cast_11")];
|
| 100 |
+
} -> (pre_encoded, pre_encoded_len, new_pre_cache);
|
| 101 |
+
}
|
pre_encode.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:842054a63f229efc5c0bd938c05a044631797a2b856ad1aef27aba0db3177d0e
|
| 3 |
+
size 9472832
|
pre_encode.mlpackage/Data/com.apple.CoreML/model.mlmodel
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:038662380cc73aa6d4f177c394dea5567781a03bb8498868ebe6f58d4a95f98c
|
| 3 |
+
size 13455
|
pre_encode.mlpackage/Data/com.apple.CoreML/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:842054a63f229efc5c0bd938c05a044631797a2b856ad1aef27aba0db3177d0e
|
| 3 |
+
size 9472832
|
pre_encode.mlpackage/Manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"fileFormatVersion": "1.0.0",
|
| 3 |
+
"itemInfoEntries": {
|
| 4 |
+
"21700551-3429-4543-9ED4-0EFEF9372D61": {
|
| 5 |
+
"author": "com.apple.CoreML",
|
| 6 |
+
"description": "CoreML Model Weights",
|
| 7 |
+
"name": "weights",
|
| 8 |
+
"path": "com.apple.CoreML/weights"
|
| 9 |
+
},
|
| 10 |
+
"292518D4-FD04-458B-8541-CE9A213C40B8": {
|
| 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": "292518D4-FD04-458B-8541-CE9A213C40B8"
|
| 18 |
+
}
|