diff options
Diffstat (limited to 'operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json')
-rw-r--r-- | operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json | 191 |
1 files changed, 98 insertions, 93 deletions
diff --git a/operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json b/operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json index 8edb092cc..01ace2096 100644 --- a/operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json +++ b/operators/type_conversion/rescale/rescale_28_i8_outu8_sc0_dr0_pc1/test.json @@ -5,80 +5,107 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - 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 - }, + 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" ], @@ -86,28 +113,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 28 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 28 - ], - type: "UINT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |