|
[ |
|
{ |
|
"metadataOutputVersion" : "3.0", |
|
"storagePrecision" : "Float16", |
|
"outputSchema" : [ |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float32", |
|
"formattedType" : "MultiArray (Float32 2 × 4 × 48 × 80)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 4, 48, 80]", |
|
"name" : "noise_pred", |
|
"type" : "MultiArray" |
|
} |
|
], |
|
"modelParameters" : [ |
|
|
|
], |
|
"specificationVersion" : 7, |
|
"mlProgramOperationTypeHistogram" : { |
|
"Split" : 9, |
|
"Concat" : 10, |
|
"Ios16.cast" : 14, |
|
"Ios16.mul" : 108, |
|
"Ios16.rsqrt" : 27, |
|
"Ios16.sqrt" : 30, |
|
"Ios16.sub" : 57, |
|
"UpsampleNearestNeighbor" : 3, |
|
"Ios16.conv" : 153, |
|
"Ios16.add" : 141, |
|
"Ios16.realDiv" : 30, |
|
"Ios16.matmul" : 36, |
|
"Ios16.gelu" : 9, |
|
"Ios16.reduceMean" : 114, |
|
"Ios16.softmax" : 18, |
|
"Ios16.batchNorm" : 30, |
|
"Ios16.square" : 30, |
|
"Ios16.reshape" : 150, |
|
"Ios16.silu" : 21 |
|
}, |
|
"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 × 1024 × 1 × 77)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 1024, 1, 77]", |
|
"name" : "encoder_hidden_states", |
|
"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 × 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 × 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 × 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 × 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 × 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 × 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 × 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 × 320 × 24 × 40)", |
|
"shortDescription" : "", |
|
"shape" : "[2, 320, 24, 40]", |
|
"name" : "input_63_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_61_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" |
|
} |
|
], |
|
"generatedClassName" : "Stable_Diffusion_version__Users_keijiro_Documents_StableDiffusion_sd_turbo_unet_chunk2", |
|
"method" : "predict" |
|
} |
|
] |