{ | |
version: { | |
_major: 0, | |
_minor: 40, | |
_patch: 0, | |
_draft: false | |
}, | |
blocks: [ | |
{ | |
name: "main", | |
operators: [ | |
{ | |
op: "RESCALE", | |
attribute_type: "RescaleAttribute", | |
attribute: { | |
input_zp: -119, | |
output_zp: -10, | |
multiplier: [ | |
1433411968, | |
1626317824, | |
1977500544, | |
1676139648, | |
1656328064, | |
1644710400, | |
1480598784, | |
1905391488, | |
1496870144, | |
1680531584, | |
1564826112, | |
1432951552, | |
2064876928, | |
1089857920, | |
1766615936, | |
1110386048, | |
1151389568 | |
], | |
shift: [ | |
33, | |
33, | |
33, | |
31, | |
31, | |
32, | |
33, | |
34, | |
34, | |
32, | |
35, | |
32, | |
31, | |
31, | |
31, | |
33, | |
32 | |
], | |
scale32: true, | |
double_round: true, | |
per_channel: true | |
}, | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
19, | |
17 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
19, | |
17 | |
], | |
type: "INT8" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |