| [ | |
| { | |
| "metadataOutputVersion" : "3.0", | |
| "storagePrecision" : "Float32", | |
| "outputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float32", | |
| "formattedType" : "MultiArray (Float32)", | |
| "shortDescription" : "", | |
| "shape" : "[]", | |
| "name" : "logits", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "modelParameters" : [ | |
| ], | |
| "specificationVersion" : 8, | |
| "mlProgramOperationTypeHistogram" : { | |
| "Range1d" : 2, | |
| "Fill" : 2, | |
| "Ios17.reshape" : 32, | |
| "Ios16.reduceMean" : 13, | |
| "Ios16.softmax" : 8, | |
| "Ios17.matmul" : 16, | |
| "Ios17.transpose" : 33, | |
| "Select" : 3, | |
| "Ios17.expandDims" : 11, | |
| "Ios17.add" : 38, | |
| "Tile" : 1, | |
| "Ios17.lessEqual" : 1, | |
| "Ios16.fillLike" : 1, | |
| "Shape" : 4, | |
| "Ios17.gather" : 6, | |
| "Ios17.log" : 1, | |
| "Ios17.cast" : 4, | |
| "Ios17.sub" : 4, | |
| "Ios17.pow" : 13, | |
| "Ios17.less" : 1, | |
| "Ios16.gelu" : 4, | |
| "Ios17.linear" : 45, | |
| "Ios17.concat" : 3, | |
| "Ios17.greaterEqual" : 2, | |
| "Ios17.minimum" : 2, | |
| "Ios17.rsqrt" : 13, | |
| "Ios17.mul" : 37 | |
| }, | |
| "computePrecision" : "Mixed (Float32, Int32)", | |
| "isUpdatable" : "0", | |
| "stateSchema" : [ | |
| ], | |
| "availability" : { | |
| "macOS" : "14.0", | |
| "tvOS" : "17.0", | |
| "visionOS" : "1.0", | |
| "watchOS" : "10.0", | |
| "iOS" : "17.0", | |
| "macCatalyst" : "17.0" | |
| }, | |
| "modelType" : { | |
| "name" : "MLModelType_mlProgram" | |
| }, | |
| "userDefinedMetadata" : { | |
| "com.github.apple.coremltools.conversion_date" : "2026-03-13", | |
| "com.github.apple.coremltools.source" : "torch==2.7.0", | |
| "com.github.apple.coremltools.version" : "9.0", | |
| "com.github.apple.coremltools.source_dialect" : "TorchScript" | |
| }, | |
| "inputSchema" : [ | |
| { | |
| "dataType" : "Int32", | |
| "hasShapeFlexibility" : "1", | |
| "isOptional" : "0", | |
| "shapeFlexibility" : "1 × 1...128", | |
| "shapeRange" : "[[1, 1], [1, 128]]", | |
| "formattedType" : "MultiArray (Int32 1 × 8)", | |
| "type" : "MultiArray", | |
| "shape" : "[1, 8]", | |
| "name" : "decoder_input_ids", | |
| "shortDescription" : "" | |
| }, | |
| { | |
| "dataType" : "Float32", | |
| "hasShapeFlexibility" : "1", | |
| "isOptional" : "0", | |
| "shapeFlexibility" : "1 × 1...64 × 256", | |
| "shapeRange" : "[[1, 1], [1, 64], [256, 256]]", | |
| "formattedType" : "MultiArray (Float32 1 × 16 × 256)", | |
| "type" : "MultiArray", | |
| "shape" : "[1, 16, 256]", | |
| "name" : "encoder_hidden_states", | |
| "shortDescription" : "" | |
| }, | |
| { | |
| "dataType" : "Int32", | |
| "hasShapeFlexibility" : "1", | |
| "isOptional" : "0", | |
| "shapeFlexibility" : "1 × 1...64", | |
| "shapeRange" : "[[1, 1], [1, 64]]", | |
| "formattedType" : "MultiArray (Int32 1 × 16)", | |
| "type" : "MultiArray", | |
| "shape" : "[1, 16]", | |
| "name" : "encoder_attention_mask", | |
| "shortDescription" : "" | |
| } | |
| ], | |
| "generatedClassName" : "G2PDecoder", | |
| "method" : "predict" | |
| } | |
| ] |