{ | |
version: { | |
_major: 0, | |
_minor: 40, | |
_patch: 0, | |
_draft: false | |
}, | |
blocks: [ | |
{ | |
name: "main", | |
operators: [ | |
{ | |
op: "RESCALE", | |
attribute_type: "RescaleAttribute", | |
attribute: { | |
input_zp: 87, | |
output_zp: 87, | |
multiplier: [ | |
1369211264, | |
1394036992, | |
1439250560, | |
1638321792, | |
1996592256, | |
1574571008, | |
1158626304, | |
1453659520, | |
1813504512, | |
2072633088, | |
1650615168, | |
1829689344, | |
1084031488, | |
1953248512, | |
1260839040, | |
1825950208, | |
1462826368, | |
2142402560, | |
1141196544, | |
1803537792, | |
1711769984, | |
1969967616, | |
1354701952, | |
1524769920, | |
1455373824, | |
1645857280, | |
1705832576, | |
1991706112 | |
], | |
shift: [ | |
31, | |
31, | |
31, | |
31, | |
35, | |
32, | |
31, | |
32, | |
31, | |
32, | |
31, | |
31, | |
31, | |
31, | |
31, | |
31, | |
32, | |
32, | |
31, | |
34, | |
32, | |
31, | |
31, | |
33, | |
32, | |
33, | |
36, | |
31 | |
], | |
scale32: true, | |
double_round: true, | |
per_channel: true | |
}, | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
28 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
28 | |
], | |
type: "INT8" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |