|
[ |
|
{ |
|
"metadataOutputVersion" : "3.0", |
|
"storagePrecision" : "Float16", |
|
"outputSchema" : [ |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 320 × 48 × 80)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 320, 48, 80]", |
|
"name" : "input_61_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 1280 × 6 × 10)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1280, 6, 10]", |
|
"name" : "hidden_states_149_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 1280 × 1 × 1)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1280, 1, 1]", |
|
"name" : "input_15_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 640 × 12 × 20)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 640, 12, 20]", |
|
"name" : "input_117_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 640 × 24 × 40)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 640, 24, 40]", |
|
"name" : "input_115_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 320 × 48 × 80)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 320, 48, 80]", |
|
"name" : "input_7_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 1280 × 6 × 10)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1280, 6, 10]", |
|
"name" : "input_171_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 1280 × 12 × 20)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1280, 12, 20]", |
|
"name" : "input_169_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 2560 × 6 × 10)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 2560, 6, 10]", |
|
"name" : "input_253_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 320 × 48 × 80)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 320, 48, 80]", |
|
"name" : "input_35_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 640 × 24 × 40)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 640, 24, 40]", |
|
"name" : "input_89_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 1280 × 12 × 20)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1280, 12, 20]", |
|
"name" : "input_143_cast_fp16", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 320 × 24 × 40)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 320, 24, 40]", |
|
"name" : "input_63_cast_fp16", |
|
"type" : "MultiArray" |
|
} |
|
], |
|
"modelParameters" : [ |
|
|
|
], |
|
"specificationVersion" : 7, |
|
"mlProgramOperationTypeHistogram" : { |
|
"Ios16.reduceMean" : 104, |
|
"Ios16.sin" : 1, |
|
"Ios16.softmax" : 14, |
|
"Split" : 7, |
|
"Ios16.add" : 124, |
|
"Concat" : 4, |
|
"Ios16.realDiv" : 31, |
|
"Ios16.square" : 31, |
|
"ExpandDims" : 3, |
|
"Ios16.sub" : 52, |
|
"Ios16.cast" : 13, |
|
"Ios16.conv" : 129, |
|
"Ios16.gelu" : 7, |
|
"Ios16.matmul" : 28, |
|
"Ios16.reshape" : 132, |
|
"Ios16.batchNorm" : 31, |
|
"Ios16.rsqrt" : 21, |
|
"Ios16.silu" : 26, |
|
"Ios16.sqrt" : 31, |
|
"SliceByIndex" : 2, |
|
"Ios16.mul" : 85, |
|
"Ios16.cos" : 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.1", |
|
"com.github.apple.coremltools.source" : "milinternal" |
|
}, |
|
"inputSchema" : [ |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float16", |
|
"formattedType" : "MultiArray (Float16 2 × 4 × 48 × 80)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 4, 48, 80]", |
|
"name" : "sample", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float16", |
|
"formattedType" : "MultiArray (Float16 2)", |
|
"shortDescription" : "", |
|
"shape" : "[2]", |
|
"name" : "timestep", |
|
"type" : "MultiArray" |
|
}, |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float16", |
|
"formattedType" : "MultiArray (Float16 2 × 1024 × 1 × 77)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1024, 1, 77]", |
|
"name" : "encoder_hidden_states", |
|
"type" : "MultiArray" |
|
} |
|
], |
|
"generatedClassName" : "Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd_turbo_unet_chunk1", |
|
"method" : "predict" |
|
} |
|
] |