| [ |
| { |
| "metadataOutputVersion" : "3.0", |
| "storagePrecision" : "Float32", |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32)", |
| "shortDescription" : "", |
| "shape" : "[]", |
| "name" : "encoder_proj", |
| "type" : "MultiArray" |
| } |
| ], |
| "modelParameters" : [ |
|
|
| ], |
| "specificationVersion" : 9, |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 7, |
| "Range1d" : 2, |
| "Ios18.mul" : 12, |
| "Fill" : 10, |
| "Ios18.matmul" : 30, |
| "Ios18.floorDiv" : 10, |
| "Ios18.softmax" : 10, |
| "UpsampleNearestNeighbor" : 1, |
| "Ios18.realDiv" : 2, |
| "Ios18.logicalNot" : 2, |
| "Ios18.equal" : 4, |
| "Ios18.greaterEqual" : 3, |
| "Select" : 23, |
| "Tile" : 2, |
| "Ios18.gather" : 35, |
| "Ios18.add" : 76, |
| "Ios18.layerNorm" : 23, |
| "Ios18.reshape" : 70, |
| "Shape" : 26, |
| "Pad" : 3, |
| "Ios18.leakyRelu" : 1, |
| "Ios18.linear" : 73, |
| "Ios18.concat" : 66, |
| "Ios18.cast" : 28, |
| "Ios18.sub" : 2, |
| "Ios18.transpose" : 65, |
| "Ios18.conv" : 3, |
| "Ios18.silu" : 10, |
| "Ios18.sliceByIndex" : 32, |
| "Ios18.squeeze" : 5 |
| }, |
| "computePrecision" : "Mixed (Float32, Int32)", |
| "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.conversion_date" : "2026-03-14", |
| "com.github.apple.coremltools.source" : "torch==2.7.1", |
| "com.github.apple.coremltools.version" : "9.0", |
| "com.github.apple.coremltools.source_dialect" : "TorchScript" |
| }, |
| "inputSchema" : [ |
| { |
| "dataType" : "Int32", |
| "hasShapeFlexibility" : "1", |
| "isOptional" : "0", |
| "shapeFlexibility" : "1 × 1...2048", |
| "shapeRange" : "[[1, 1], [1, 2048]]", |
| "formattedType" : "MultiArray (Int32 1 × 500)", |
| "type" : "MultiArray", |
| "shape" : "[1, 500]", |
| "name" : "all_tokens", |
| "shortDescription" : "" |
| } |
| ], |
| "generatedClassName" : "S3Encoder", |
| "method" : "predict" |
| } |
| ] |