| [ |
| { |
| "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" |
| } |
| ] |