diff options
Diffstat (limited to 'operators/type_conversion/rescale/rescale_7x13x2x11_i8_outi8_sc1_dr1_pc1/test.json')
-rw-r--r-- | operators/type_conversion/rescale/rescale_7x13x2x11_i8_outi8_sc1_dr1_pc1/test.json | 135 |
1 files changed, 70 insertions, 65 deletions
diff --git a/operators/type_conversion/rescale/rescale_7x13x2x11_i8_outi8_sc1_dr1_pc1/test.json b/operators/type_conversion/rescale/rescale_7x13x2x11_i8_outi8_sc1_dr1_pc1/test.json index 7a9d71817..4e8ab3a93 100644 --- a/operators/type_conversion/rescale/rescale_7x13x2x11_i8_outi8_sc1_dr1_pc1/test.json +++ b/operators/type_conversion/rescale/rescale_7x13x2x11_i8_outi8_sc1_dr1_pc1/test.json @@ -5,46 +5,79 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 77, - output_zp: 111, - multiplier: [ - 1489886720, - 1235735808, - 1804787456, - 1417741312, - 1741921536, - 1411233920, - 1855979520, - 1340047360, - 1137628928, - 1412808576, - 1809388032 - ], - shift: [ - 31, - 31, - 31, - 31, - 31, - 31, - 31, - 31, - 32, - 35, - 34 - ], - scale32: true, - double_round: true, - per_channel: true - }, + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 77, + output_zp: 111, + multiplier: [ + 1489886720, + 1235735808, + 1804787456, + 1417741312, + 1741921536, + 1411233920, + 1855979520, + 1340047360, + 1137628928, + 1412808576, + 1809388032 + ], + shift: [ + 31, + 31, + 31, + 31, + 31, + 31, + 31, + 31, + 32, + 35, + 34 + ], + scale32: true, + double_round: true, + per_channel: true + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 13, + 2, + 11 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 7, + 13, + 2, + 11 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -52,34 +85,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 13, - 2, - 11 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 7, - 13, - 2, - 11 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |