| [ |
| { |
| "metadataOutputVersion" : "3.0", |
| "storagePrecision" : "Float16", |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 512)", |
| "shortDescription" : "", |
| "shape" : "[1, 512]", |
| "name" : "text_embeddings", |
| "type" : "MultiArray" |
| } |
| ], |
| "modelParameters" : [ |
|
|
| ], |
| "specificationVersion" : 7, |
| "mlProgramOperationTypeHistogram" : { |
| "Ios16.cast" : 1, |
| "Ios16.mul" : 12, |
| "Ios16.layerNorm" : 25, |
| "SliceByIndex" : 36, |
| "Stack" : 1, |
| "Transpose" : 36, |
| "Ios16.linear" : 49, |
| "Ios16.add" : 25, |
| "Ios16.matmul" : 24, |
| "Ios16.gelu" : 12, |
| "Ios16.softmax" : 12, |
| "Ios16.gatherNd" : 1, |
| "Ios16.gather" : 1, |
| "Ios16.reshape" : 24, |
| "Ios16.reduceArgmax" : 1 |
| }, |
| "computePrecision" : "Mixed (Float16, Float32, Int32)", |
| "isUpdatable" : "0", |
| "availability" : { |
| "macOS" : "13.0", |
| "tvOS" : "16.0", |
| "visionOS" : "1.0", |
| "watchOS" : "9.0", |
| "iOS" : "16.0", |
| "macCatalyst" : "16.0" |
| }, |
| "modelType" : { |
| "name" : "MLModelType_mlProgram" |
| }, |
| "userDefinedMetadata" : { |
| "com.github.apple.coremltools.version" : "7.0", |
| "com.github.apple.coremltools.source" : "torch==1.13.1" |
| }, |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 77)", |
| "shortDescription" : "", |
| "shape" : "[1, 77]", |
| "name" : "input_tokens", |
| "type" : "MultiArray" |
| } |
| ], |
| "generatedClassName" : "TextEncoder_mobileCLIP_s2", |
| "method" : "predict" |
| } |
| ] |