File size: 3,069 Bytes
758e547
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[
  {
    "metadataOutputVersion" : "3.0",
    "storagePrecision" : "Float16",
    "outputSchema" : [
      {
        "hasShapeFlexibility" : "0",
        "isOptional" : "0",
        "dataType" : "Float32",
        "formattedType" : "MultiArray (Float32)",
        "shortDescription" : "",
        "shape" : "[]",
        "name" : "encoded",
        "type" : "MultiArray"
      },
      {
        "hasShapeFlexibility" : "0",
        "isOptional" : "0",
        "dataType" : "Int32",
        "formattedType" : "MultiArray (Int32 1)",
        "shortDescription" : "",
        "shape" : "[1]",
        "name" : "encoded_length",
        "type" : "MultiArray"
      }
    ],
    "modelParameters" : [

    ],
    "specificationVersion" : 9,
    "mlProgramOperationTypeHistogram" : {
      "Ios18.expandDims" : 22,
      "Range1d" : 5,
      "Ios18.mul" : 105,
      "Fill" : 1,
      "Ios18.floorDiv" : 3,
      "Ios18.matmul" : 72,
      "Ios18.softmax" : 24,
      "Ios18.realDiv" : 17,
      "Ios18.logicalNot" : 2,
      "Ios18.sigmoid" : 24,
      "Split" : 24,
      "Select" : 72,
      "Tile" : 18,
      "Ios18.gather" : 164,
      "Ios18.add" : 178,
      "Ios18.layerNorm" : 120,
      "Ios18.reshape" : 169,
      "Shape" : 119,
      "Pad" : 48,
      "Ios18.linear" : 217,
      "Ios18.conv" : 77,
      "Ios18.relu" : 3,
      "Ios18.sub" : 5,
      "Ios18.concat" : 144,
      "Ios18.transpose" : 196,
      "Ios18.cast" : 286,
      "Ios18.less" : 5,
      "Ios18.logicalAnd" : 2,
      "Ios18.silu" : 72,
      "Ios18.sliceByIndex" : 51,
      "Ios18.squeeze" : 2
    },
    "computePrecision" : "Mixed (Float16, Float32, Int16, Int32, UInt16)",
    "isUpdatable" : "0",
    "stateSchema" : [

    ],
    "availability" : {
      "macOS" : "15.0",
      "tvOS" : "18.0",
      "visionOS" : "2.0",
      "watchOS" : "11.0",
      "iOS" : "18.0",
      "macCatalyst" : "18.0"
    },
    "modelType" : {
      "name" : "MLModelType_mlProgram"
    },
    "userDefinedMetadata" : {
      "com.github.apple.coremltools.source_dialect" : "TorchScript",
      "com.github.apple.coremltools.source" : "torch==2.11.0",
      "com.github.apple.coremltools.version" : "8.1"
    },
    "inputSchema" : [
      {
        "shortDescription" : "",
        "dataType" : "Float32",
        "hasShapeFlexibility" : "1",
        "isOptional" : "0",
        "shapeFlexibility" : "1 × 128 × 501 | 1 × 128 × 1001 | 1 × 128 × 1501 | 1 × 128 × 3001",
        "formattedType" : "MultiArray (Float32 1 × 128 × 501)",
        "type" : "MultiArray",
        "shape" : "[1, 128, 501]",
        "name" : "audio_signal",
        "enumeratedShapes" : "[[1, 128, 501], [1, 128, 1001], [1, 128, 1501], [1, 128, 3001]]"
      },
      {
        "hasShapeFlexibility" : "0",
        "isOptional" : "0",
        "dataType" : "Int32",
        "formattedType" : "MultiArray (Int32 1)",
        "shortDescription" : "",
        "shape" : "[1]",
        "name" : "length",
        "type" : "MultiArray"
      }
    ],
    "generatedClassName" : "encoder",
    "method" : "predict"
  }
]