{ | |
version: { | |
_major: 0, | |
_minor: 60, | |
_patch: 0, | |
_draft: false | |
}, | |
regions: [ | |
{ | |
name: "main", | |
blocks: [ | |
{ | |
name: "main", | |
operators: [ | |
{ | |
op: "RESCALE", | |
attribute_type: "RescaleAttribute", | |
attribute: { | |
input_zp: 19, | |
output_zp: 39, | |
multiplier: [ | |
30275, | |
22175, | |
29043, | |
22891, | |
27988, | |
19371, | |
22306, | |
25797, | |
20840, | |
16532, | |
28672, | |
27890, | |
22793, | |
23789, | |
31031, | |
32688, | |
18718, | |
27280, | |
25823, | |
24485, | |
17162, | |
26653, | |
27311, | |
27243, | |
30305, | |
25982, | |
27642, | |
29578 | |
], | |
shift: [ | |
18, | |
20, | |
19, | |
17, | |
19, | |
15, | |
15, | |
16, | |
16, | |
15, | |
15, | |
15, | |
19, | |
17, | |
17, | |
17, | |
15, | |
16, | |
19, | |
16, | |
15, | |
18, | |
15, | |
19, | |
15, | |
18, | |
15, | |
15 | |
], | |
scale32: false, | |
double_round: false, | |
per_channel: true | |
}, | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
28 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
28 | |
], | |
type: "UINT8" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} | |
] | |
} |