| [ |
| { |
| "metadataOutputVersion" : "3.0", |
| "storagePrecision" : "Mixed (Float16, Int8)", |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 896)", |
| "shortDescription" : "", |
| "shape" : "[1, 896]", |
| "name" : "embedding", |
| "type" : "MultiArray" |
| } |
| ], |
| "modelParameters" : [ |
|
|
| ], |
| "specificationVersion" : 9, |
| "functions" : [ |
| { |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 32)", |
| "shortDescription" : "", |
| "shape" : "[1, 32]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 32)", |
| "shortDescription" : "", |
| "shape" : "[1, 32]", |
| "name" : "position_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 32)", |
| "shortDescription" : "", |
| "shape" : "[1, 32]", |
| "name" : "selector", |
| "type" : "MultiArray" |
| } |
| ], |
| "computePrecision" : "Mixed (Float16, Float32, Int32)", |
| "storagePrecision" : "Mixed (Float16, Int8)", |
| "stateSchema" : [ |
|
|
| ], |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 896)", |
| "shortDescription" : "", |
| "shape" : "[1, 896]", |
| "name" : "embedding", |
| "type" : "MultiArray" |
| } |
| ], |
| "name" : "bucket_32", |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 52, |
| "Ios18.mul" : 389, |
| "Ios18.cos" : 1, |
| "Ios18.softmax" : 24, |
| "Ios18.matmul" : 49, |
| "Ios18.rsqrt" : 49, |
| "Ios16.reduceL2Norm" : 1, |
| "Ios16.reduceMean" : 49, |
| "Ios18.realDiv" : 50, |
| "Ios18.sin" : 1, |
| "Ios18.greaterEqual" : 2, |
| "Select" : 2, |
| "Ios16.reduceMax" : 49, |
| "Tile" : 49, |
| "Ios18.gather" : 1, |
| "Ios18.add" : 171, |
| "Ios16.reduceSum" : 1, |
| "Ios18.reshape" : 144, |
| "Ios18.inverse" : 49, |
| "Ios18.maximum" : 1, |
| "Ios18.concat" : 49, |
| "Ios18.clip" : 49, |
| "Ios18.transpose" : 97, |
| "Ios18.cast" : 3, |
| "Ios18.pow" : 49, |
| "Ios18.linear" : 168, |
| "Ios18.silu" : 24, |
| "Ios18.abs" : 49, |
| "Ios18.sliceByIndex" : 96, |
| "Ios18.constexprBlockwiseShiftScale" : 169 |
| } |
| }, |
| { |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 64)", |
| "shortDescription" : "", |
| "shape" : "[1, 64]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 64)", |
| "shortDescription" : "", |
| "shape" : "[1, 64]", |
| "name" : "position_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 64)", |
| "shortDescription" : "", |
| "shape" : "[1, 64]", |
| "name" : "selector", |
| "type" : "MultiArray" |
| } |
| ], |
| "computePrecision" : "Mixed (Float16, Float32, Int32)", |
| "storagePrecision" : "Mixed (Float16, Int8)", |
| "stateSchema" : [ |
|
|
| ], |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 896)", |
| "shortDescription" : "", |
| "shape" : "[1, 896]", |
| "name" : "embedding", |
| "type" : "MultiArray" |
| } |
| ], |
| "name" : "bucket_64", |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 52, |
| "Ios18.mul" : 389, |
| "Ios18.cos" : 1, |
| "Ios18.softmax" : 24, |
| "Ios18.matmul" : 49, |
| "Ios18.rsqrt" : 49, |
| "Ios16.reduceL2Norm" : 1, |
| "Ios16.reduceMean" : 49, |
| "Ios18.realDiv" : 50, |
| "Ios18.sin" : 1, |
| "Ios18.greaterEqual" : 2, |
| "Select" : 2, |
| "Ios16.reduceMax" : 49, |
| "Tile" : 49, |
| "Ios18.gather" : 1, |
| "Ios18.add" : 171, |
| "Ios16.reduceSum" : 1, |
| "Ios18.reshape" : 144, |
| "Ios18.inverse" : 49, |
| "Ios18.maximum" : 1, |
| "Ios18.concat" : 49, |
| "Ios18.clip" : 49, |
| "Ios18.transpose" : 97, |
| "Ios18.cast" : 3, |
| "Ios18.pow" : 49, |
| "Ios18.linear" : 168, |
| "Ios18.silu" : 24, |
| "Ios18.abs" : 49, |
| "Ios18.sliceByIndex" : 96, |
| "Ios18.constexprBlockwiseShiftScale" : 170 |
| } |
| }, |
| { |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 128)", |
| "shortDescription" : "", |
| "shape" : "[1, 128]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 128)", |
| "shortDescription" : "", |
| "shape" : "[1, 128]", |
| "name" : "position_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 128)", |
| "shortDescription" : "", |
| "shape" : "[1, 128]", |
| "name" : "selector", |
| "type" : "MultiArray" |
| } |
| ], |
| "computePrecision" : "Mixed (Float16, Float32, Int32)", |
| "storagePrecision" : "Mixed (Float16, Int8)", |
| "stateSchema" : [ |
|
|
| ], |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 896)", |
| "shortDescription" : "", |
| "shape" : "[1, 896]", |
| "name" : "embedding", |
| "type" : "MultiArray" |
| } |
| ], |
| "name" : "bucket_128", |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 52, |
| "Ios18.mul" : 389, |
| "Ios18.cos" : 1, |
| "Ios18.softmax" : 24, |
| "Ios18.matmul" : 49, |
| "Ios18.rsqrt" : 49, |
| "Ios16.reduceL2Norm" : 1, |
| "Ios16.reduceMean" : 49, |
| "Ios18.realDiv" : 50, |
| "Ios18.sin" : 1, |
| "Ios18.greaterEqual" : 2, |
| "Select" : 2, |
| "Ios16.reduceMax" : 49, |
| "Tile" : 49, |
| "Ios18.gather" : 1, |
| "Ios18.add" : 171, |
| "Ios16.reduceSum" : 1, |
| "Ios18.reshape" : 144, |
| "Ios18.inverse" : 49, |
| "Ios18.maximum" : 1, |
| "Ios18.concat" : 49, |
| "Ios18.clip" : 49, |
| "Ios18.transpose" : 97, |
| "Ios18.cast" : 3, |
| "Ios18.pow" : 49, |
| "Ios18.linear" : 168, |
| "Ios18.silu" : 24, |
| "Ios18.abs" : 49, |
| "Ios18.sliceByIndex" : 96, |
| "Ios18.constexprBlockwiseShiftScale" : 170 |
| } |
| }, |
| { |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 256)", |
| "shortDescription" : "", |
| "shape" : "[1, 256]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 256)", |
| "shortDescription" : "", |
| "shape" : "[1, 256]", |
| "name" : "position_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 256)", |
| "shortDescription" : "", |
| "shape" : "[1, 256]", |
| "name" : "selector", |
| "type" : "MultiArray" |
| } |
| ], |
| "computePrecision" : "Mixed (Float16, Float32, Int32)", |
| "storagePrecision" : "Mixed (Float16, Int8)", |
| "stateSchema" : [ |
|
|
| ], |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 896)", |
| "shortDescription" : "", |
| "shape" : "[1, 896]", |
| "name" : "embedding", |
| "type" : "MultiArray" |
| } |
| ], |
| "name" : "bucket_256", |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 52, |
| "Ios18.mul" : 389, |
| "Ios18.cos" : 1, |
| "Ios18.softmax" : 24, |
| "Ios18.matmul" : 49, |
| "Ios18.rsqrt" : 49, |
| "Ios16.reduceL2Norm" : 1, |
| "Ios16.reduceMean" : 49, |
| "Ios18.realDiv" : 50, |
| "Ios18.sin" : 1, |
| "Ios18.greaterEqual" : 2, |
| "Select" : 2, |
| "Ios16.reduceMax" : 49, |
| "Tile" : 49, |
| "Ios18.gather" : 1, |
| "Ios18.add" : 171, |
| "Ios16.reduceSum" : 1, |
| "Ios18.reshape" : 144, |
| "Ios18.inverse" : 49, |
| "Ios18.maximum" : 1, |
| "Ios18.concat" : 49, |
| "Ios18.clip" : 49, |
| "Ios18.transpose" : 97, |
| "Ios18.cast" : 3, |
| "Ios18.pow" : 49, |
| "Ios18.linear" : 168, |
| "Ios18.silu" : 24, |
| "Ios18.abs" : 49, |
| "Ios18.sliceByIndex" : 96, |
| "Ios18.constexprBlockwiseShiftScale" : 170 |
| } |
| }, |
| { |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 512)", |
| "shortDescription" : "", |
| "shape" : "[1, 512]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 512)", |
| "shortDescription" : "", |
| "shape" : "[1, 512]", |
| "name" : "position_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 512)", |
| "shortDescription" : "", |
| "shape" : "[1, 512]", |
| "name" : "selector", |
| "type" : "MultiArray" |
| } |
| ], |
| "computePrecision" : "Mixed (Float16, Float32, Int32)", |
| "storagePrecision" : "Mixed (Float16, Int8)", |
| "stateSchema" : [ |
|
|
| ], |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 896)", |
| "shortDescription" : "", |
| "shape" : "[1, 896]", |
| "name" : "embedding", |
| "type" : "MultiArray" |
| } |
| ], |
| "name" : "bucket_512", |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 52, |
| "Ios18.mul" : 389, |
| "Ios18.cos" : 1, |
| "Ios18.softmax" : 24, |
| "Ios18.matmul" : 49, |
| "Ios18.rsqrt" : 49, |
| "Ios16.reduceL2Norm" : 1, |
| "Ios16.reduceMean" : 49, |
| "Ios18.realDiv" : 50, |
| "Ios18.sin" : 1, |
| "Ios18.greaterEqual" : 2, |
| "Select" : 2, |
| "Ios16.reduceMax" : 49, |
| "Tile" : 49, |
| "Ios18.gather" : 1, |
| "Ios18.add" : 171, |
| "Ios16.reduceSum" : 1, |
| "Ios18.reshape" : 144, |
| "Ios18.inverse" : 49, |
| "Ios18.maximum" : 1, |
| "Ios18.concat" : 49, |
| "Ios18.clip" : 49, |
| "Ios18.transpose" : 97, |
| "Ios18.cast" : 3, |
| "Ios18.pow" : 49, |
| "Ios18.linear" : 168, |
| "Ios18.silu" : 24, |
| "Ios18.abs" : 49, |
| "Ios18.sliceByIndex" : 96, |
| "Ios18.constexprBlockwiseShiftScale" : 170 |
| } |
| }, |
| { |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 1024)", |
| "shortDescription" : "", |
| "shape" : "[1, 1024]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 1024)", |
| "shortDescription" : "", |
| "shape" : "[1, 1024]", |
| "name" : "position_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 1024)", |
| "shortDescription" : "", |
| "shape" : "[1, 1024]", |
| "name" : "selector", |
| "type" : "MultiArray" |
| } |
| ], |
| "computePrecision" : "Mixed (Float16, Float32, Int32)", |
| "storagePrecision" : "Mixed (Float16, Int8)", |
| "stateSchema" : [ |
|
|
| ], |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 896)", |
| "shortDescription" : "", |
| "shape" : "[1, 896]", |
| "name" : "embedding", |
| "type" : "MultiArray" |
| } |
| ], |
| "name" : "bucket_1024", |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 52, |
| "Ios18.mul" : 389, |
| "Ios18.cos" : 1, |
| "Ios18.softmax" : 24, |
| "Ios18.matmul" : 49, |
| "Ios18.rsqrt" : 49, |
| "Ios16.reduceL2Norm" : 1, |
| "Ios16.reduceMean" : 49, |
| "Ios18.realDiv" : 50, |
| "Ios18.sin" : 1, |
| "Ios18.greaterEqual" : 2, |
| "Select" : 2, |
| "Ios16.reduceMax" : 49, |
| "Tile" : 49, |
| "Ios18.gather" : 1, |
| "Ios18.add" : 171, |
| "Ios16.reduceSum" : 1, |
| "Ios18.reshape" : 144, |
| "Ios18.inverse" : 49, |
| "Ios18.maximum" : 1, |
| "Ios18.concat" : 49, |
| "Ios18.clip" : 49, |
| "Ios18.transpose" : 97, |
| "Ios18.cast" : 3, |
| "Ios18.pow" : 49, |
| "Ios18.linear" : 168, |
| "Ios18.silu" : 24, |
| "Ios18.abs" : 49, |
| "Ios18.sliceByIndex" : 96, |
| "Ios18.constexprBlockwiseShiftScale" : 170 |
| } |
| }, |
| { |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 2048)", |
| "shortDescription" : "", |
| "shape" : "[1, 2048]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 2048)", |
| "shortDescription" : "", |
| "shape" : "[1, 2048]", |
| "name" : "position_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 2048)", |
| "shortDescription" : "", |
| "shape" : "[1, 2048]", |
| "name" : "selector", |
| "type" : "MultiArray" |
| } |
| ], |
| "computePrecision" : "Mixed (Float16, Float32, Int32)", |
| "storagePrecision" : "Mixed (Float16, Int8)", |
| "stateSchema" : [ |
|
|
| ], |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 896)", |
| "shortDescription" : "", |
| "shape" : "[1, 896]", |
| "name" : "embedding", |
| "type" : "MultiArray" |
| } |
| ], |
| "name" : "bucket_2048", |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 52, |
| "Ios18.mul" : 389, |
| "Ios18.cos" : 1, |
| "Ios18.softmax" : 24, |
| "Ios18.matmul" : 49, |
| "Ios18.rsqrt" : 49, |
| "Ios16.reduceL2Norm" : 1, |
| "Ios16.reduceMean" : 49, |
| "Ios18.realDiv" : 50, |
| "Ios18.sin" : 1, |
| "Ios18.greaterEqual" : 2, |
| "Select" : 2, |
| "Ios16.reduceMax" : 49, |
| "Tile" : 49, |
| "Ios18.gather" : 1, |
| "Ios18.add" : 171, |
| "Ios16.reduceSum" : 1, |
| "Ios18.reshape" : 144, |
| "Ios18.inverse" : 49, |
| "Ios18.maximum" : 1, |
| "Ios18.concat" : 49, |
| "Ios18.clip" : 49, |
| "Ios18.transpose" : 97, |
| "Ios18.cast" : 3, |
| "Ios18.pow" : 49, |
| "Ios18.linear" : 168, |
| "Ios18.silu" : 24, |
| "Ios18.abs" : 49, |
| "Ios18.sliceByIndex" : 96, |
| "Ios18.constexprBlockwiseShiftScale" : 170 |
| } |
| }, |
| { |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 4 × 32)", |
| "shortDescription" : "", |
| "shape" : "[4, 32]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 4 × 32)", |
| "shortDescription" : "", |
| "shape" : "[4, 32]", |
| "name" : "position_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 4 × 32)", |
| "shortDescription" : "", |
| "shape" : "[4, 32]", |
| "name" : "selector", |
| "type" : "MultiArray" |
| } |
| ], |
| "computePrecision" : "Mixed (Float16, Float32, Int32)", |
| "storagePrecision" : "Mixed (Float16, Int8)", |
| "stateSchema" : [ |
|
|
| ], |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 4 × 896)", |
| "shortDescription" : "", |
| "shape" : "[4, 896]", |
| "name" : "embedding", |
| "type" : "MultiArray" |
| } |
| ], |
| "name" : "bucket_32_b4", |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 52, |
| "Ios18.mul" : 389, |
| "Ios18.cos" : 1, |
| "Ios18.softmax" : 24, |
| "Ios18.matmul" : 49, |
| "Ios18.rsqrt" : 49, |
| "Ios16.reduceL2Norm" : 1, |
| "Ios16.reduceMean" : 49, |
| "Ios18.realDiv" : 50, |
| "Ios18.sin" : 1, |
| "Ios18.greaterEqual" : 2, |
| "Select" : 2, |
| "Ios16.reduceMax" : 49, |
| "Tile" : 49, |
| "Ios18.gather" : 1, |
| "Ios18.add" : 171, |
| "Ios16.reduceSum" : 1, |
| "Ios18.reshape" : 144, |
| "Ios18.inverse" : 49, |
| "Ios18.maximum" : 1, |
| "Ios18.concat" : 49, |
| "Ios18.clip" : 49, |
| "Ios18.transpose" : 97, |
| "Ios18.cast" : 3, |
| "Ios18.pow" : 49, |
| "Ios18.linear" : 168, |
| "Ios18.silu" : 24, |
| "Ios18.abs" : 49, |
| "Ios18.sliceByIndex" : 96, |
| "Ios18.constexprBlockwiseShiftScale" : 170 |
| } |
| }, |
| { |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 4 × 64)", |
| "shortDescription" : "", |
| "shape" : "[4, 64]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 4 × 64)", |
| "shortDescription" : "", |
| "shape" : "[4, 64]", |
| "name" : "position_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 4 × 64)", |
| "shortDescription" : "", |
| "shape" : "[4, 64]", |
| "name" : "selector", |
| "type" : "MultiArray" |
| } |
| ], |
| "computePrecision" : "Mixed (Float16, Float32, Int32)", |
| "storagePrecision" : "Mixed (Float16, Int8)", |
| "stateSchema" : [ |
|
|
| ], |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 4 × 896)", |
| "shortDescription" : "", |
| "shape" : "[4, 896]", |
| "name" : "embedding", |
| "type" : "MultiArray" |
| } |
| ], |
| "name" : "bucket_64_b4", |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 52, |
| "Ios18.mul" : 389, |
| "Ios18.cos" : 1, |
| "Ios18.softmax" : 24, |
| "Ios18.matmul" : 49, |
| "Ios18.rsqrt" : 49, |
| "Ios16.reduceL2Norm" : 1, |
| "Ios16.reduceMean" : 49, |
| "Ios18.realDiv" : 50, |
| "Ios18.sin" : 1, |
| "Ios18.greaterEqual" : 2, |
| "Select" : 2, |
| "Ios16.reduceMax" : 49, |
| "Tile" : 49, |
| "Ios18.gather" : 1, |
| "Ios18.add" : 171, |
| "Ios16.reduceSum" : 1, |
| "Ios18.reshape" : 144, |
| "Ios18.inverse" : 49, |
| "Ios18.maximum" : 1, |
| "Ios18.concat" : 49, |
| "Ios18.clip" : 49, |
| "Ios18.transpose" : 97, |
| "Ios18.cast" : 3, |
| "Ios18.pow" : 49, |
| "Ios18.linear" : 168, |
| "Ios18.silu" : 24, |
| "Ios18.abs" : 49, |
| "Ios18.sliceByIndex" : 96, |
| "Ios18.constexprBlockwiseShiftScale" : 170 |
| } |
| }, |
| { |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 4 × 128)", |
| "shortDescription" : "", |
| "shape" : "[4, 128]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 4 × 128)", |
| "shortDescription" : "", |
| "shape" : "[4, 128]", |
| "name" : "position_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 4 × 128)", |
| "shortDescription" : "", |
| "shape" : "[4, 128]", |
| "name" : "selector", |
| "type" : "MultiArray" |
| } |
| ], |
| "computePrecision" : "Mixed (Float16, Float32, Int32)", |
| "storagePrecision" : "Mixed (Float16, Int8)", |
| "stateSchema" : [ |
|
|
| ], |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 4 × 896)", |
| "shortDescription" : "", |
| "shape" : "[4, 896]", |
| "name" : "embedding", |
| "type" : "MultiArray" |
| } |
| ], |
| "name" : "bucket_128_b4", |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 52, |
| "Ios18.mul" : 389, |
| "Ios18.cos" : 1, |
| "Ios18.softmax" : 24, |
| "Ios18.matmul" : 49, |
| "Ios18.rsqrt" : 49, |
| "Ios16.reduceL2Norm" : 1, |
| "Ios16.reduceMean" : 49, |
| "Ios18.realDiv" : 50, |
| "Ios18.sin" : 1, |
| "Ios18.greaterEqual" : 2, |
| "Select" : 2, |
| "Ios16.reduceMax" : 49, |
| "Tile" : 49, |
| "Ios18.gather" : 1, |
| "Ios18.add" : 171, |
| "Ios16.reduceSum" : 1, |
| "Ios18.reshape" : 144, |
| "Ios18.inverse" : 49, |
| "Ios18.maximum" : 1, |
| "Ios18.concat" : 49, |
| "Ios18.clip" : 49, |
| "Ios18.transpose" : 97, |
| "Ios18.cast" : 3, |
| "Ios18.pow" : 49, |
| "Ios18.linear" : 168, |
| "Ios18.silu" : 24, |
| "Ios18.abs" : 49, |
| "Ios18.sliceByIndex" : 96, |
| "Ios18.constexprBlockwiseShiftScale" : 170 |
| } |
| } |
| ], |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 52, |
| "Ios18.mul" : 389, |
| "Ios18.cos" : 1, |
| "Ios18.softmax" : 24, |
| "Ios18.matmul" : 49, |
| "Ios18.rsqrt" : 49, |
| "Ios16.reduceL2Norm" : 1, |
| "Ios16.reduceMean" : 49, |
| "Ios18.realDiv" : 50, |
| "Ios18.sin" : 1, |
| "Ios18.greaterEqual" : 2, |
| "Select" : 2, |
| "Ios16.reduceMax" : 49, |
| "Tile" : 49, |
| "Ios18.gather" : 1, |
| "Ios18.add" : 171, |
| "Ios16.reduceSum" : 1, |
| "Ios18.reshape" : 144, |
| "Ios18.inverse" : 49, |
| "Ios18.maximum" : 1, |
| "Ios18.concat" : 49, |
| "Ios18.clip" : 49, |
| "Ios18.transpose" : 97, |
| "Ios18.cast" : 3, |
| "Ios18.pow" : 49, |
| "Ios18.linear" : 168, |
| "Ios18.silu" : 24, |
| "Ios18.abs" : 49, |
| "Ios18.sliceByIndex" : 96, |
| "Ios18.constexprBlockwiseShiftScale" : 170 |
| }, |
| "isUpdatable" : "0", |
| "stateSchema" : [ |
|
|
| ], |
| "availability" : { |
| "macOS" : "15.0", |
| "tvOS" : "18.0", |
| "visionOS" : "2.0", |
| "watchOS" : "11.0", |
| "iOS" : "18.0", |
| "macCatalyst" : "18.0" |
| }, |
| "computePrecision" : "Mixed (Float16, Float32, Int32)", |
| "modelType" : { |
| "name" : "MLModelType_mlProgram" |
| }, |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 128)", |
| "shortDescription" : "", |
| "shape" : "[1, 128]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 128)", |
| "shortDescription" : "", |
| "shape" : "[1, 128]", |
| "name" : "position_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 128)", |
| "shortDescription" : "", |
| "shape" : "[1, 128]", |
| "name" : "selector", |
| "type" : "MultiArray" |
| } |
| ], |
| "defaultFunctionName" : "bucket_128", |
| "generatedClassName" : "text_multifunc", |
| "userDefinedMetadata" : { |
|
|
| }, |
| "method" : "predict" |
| } |
| ] |