| [ |
| { |
| "metadataOutputVersion" : "3.0", |
| "shortDescription" : "StyleTTS2 text+predictor (LibriTTS HiFi-GAN) @ T_tok=32.", |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 512 × 32)", |
| "shortDescription" : "", |
| "shape" : "[1, 512, 32]", |
| "name" : "t_en", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 512 × 32)", |
| "shortDescription" : "", |
| "shape" : "[1, 512, 32]", |
| "name" : "d_en", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 32 × 640)", |
| "shortDescription" : "", |
| "shape" : "[1, 32, 640]", |
| "name" : "d", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 32 × 50)", |
| "shortDescription" : "", |
| "shape" : "[1, 32, 50]", |
| "name" : "pred_dur_log", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 32 × 768)", |
| "shortDescription" : "", |
| "shape" : "[1, 32, 768]", |
| "name" : "fixed_embedding", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 32 × 768)", |
| "shortDescription" : "", |
| "shape" : "[1, 32, 768]", |
| "name" : "bert_dur", |
| "type" : "MultiArray" |
| } |
| ], |
| "storagePrecision" : "Float16", |
| "modelParameters" : [ |
|
|
| ], |
| "specificationVersion" : 8, |
| "mlProgramOperationTypeHistogram" : { |
| "Split" : 3, |
| "Ios17.mul" : 15, |
| "Ios17.linear" : 78, |
| "Ios17.transpose" : 76, |
| "Ios17.matmul" : 24, |
| "Ios17.conv" : 3, |
| "Ios17.leakyRelu" : 3, |
| "Ios17.gather" : 2, |
| "Ios17.add" : 32, |
| "Ios17.lstm" : 5, |
| "Ios17.concat" : 4, |
| "Ios16.softmax" : 12, |
| "Ios16.gelu" : 12, |
| "Ios17.expandDims" : 1, |
| "Tile" : 1, |
| "Ios17.cast" : 3, |
| "Ios17.layerNorm" : 31, |
| "Ios17.reshape" : 51 |
| }, |
| "computePrecision" : "Mixed (Float16, Float32, Int16, Int32, UInt16)", |
| "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" |
| }, |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 32)", |
| "shortDescription" : "", |
| "shape" : "[1, 32]", |
| "name" : "tokens", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 128)", |
| "shortDescription" : "", |
| "shape" : "[1, 128]", |
| "name" : "style", |
| "type" : "MultiArray" |
| } |
| ], |
| "userDefinedMetadata" : { |
| "com.github.apple.coremltools.version" : "8.3.0", |
| "com.github.apple.coremltools.source" : "torch==2.11.0", |
| "com.github.apple.coremltools.source_dialect" : "TorchScript" |
| }, |
| "generatedClassName" : "styletts2_text_predictor_32", |
| "method" : "predict" |
| } |
| ] |