diff options
Diffstat (limited to 'operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json')
-rw-r--r-- | operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json | 151 |
1 files changed, 78 insertions, 73 deletions
diff --git a/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json b/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json index b87478f43..9c095e90a 100644 --- a/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json +++ b/operators/type_conversion/rescale/rescale_19x17_i8_outi8_sc1_dr1_pc1/test.json @@ -5,58 +5,87 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - 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 - }, + 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" ], @@ -64,30 +93,6 @@ "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" ] } ] |