{ | |
version: { | |
_major: 0, | |
_minor: 50, | |
_patch: 0, | |
_draft: false | |
}, | |
blocks: [ | |
{ | |
name: "main", | |
operators: [ | |
{ | |
op: "RESCALE", | |
attribute_type: "RescaleAttribute", | |
attribute: { | |
input_zp: 0, | |
output_zp: -28, | |
multiplier: [ | |
1945640576, | |
1772247552, | |
2020305024, | |
1804184448, | |
2131625984, | |
2146599168, | |
1768162560, | |
1974912640, | |
2118920832, | |
1971165056, | |
1472555392, | |
1848440832 | |
], | |
shift: [ | |
23, | |
25, | |
23, | |
24, | |
27, | |
25, | |
25, | |
23, | |
26, | |
26, | |
23, | |
23 | |
], | |
scale32: true, | |
double_round: true, | |
per_channel: true | |
}, | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
4, | |
12 | |
], | |
type: "BOOL" | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
4, | |
12 | |
], | |
type: "INT8" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |