diff options
Diffstat (limited to 'operators/type_conversion/rescale/rescale_7x13x2x11_i8_outi16_sc1_dr0_pc1/test.json')
-rw-r--r-- | operators/type_conversion/rescale/rescale_7x13x2x11_i8_outi16_sc1_dr0_pc1/test.json | 135 |
1 files changed, 70 insertions, 65 deletions
diff --git a/operators/type_conversion/rescale/rescale_7x13x2x11_i8_outi16_sc1_dr0_pc1/test.json b/operators/type_conversion/rescale/rescale_7x13x2x11_i8_outi16_sc1_dr0_pc1/test.json index edd4cbbed..433d63da8 100644 --- a/operators/type_conversion/rescale/rescale_7x13x2x11_i8_outi16_sc1_dr0_pc1/test.json +++ b/operators/type_conversion/rescale/rescale_7x13x2x11_i8_outi16_sc1_dr0_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: 65, - output_zp: 0, - multiplier: [ - 1865166464, - 1831974400, - 1977699584, - 1757097728, - 1511700736, - 1519738496, - 1262701952, - 1943006464, - 1287952896, - 1862496768, - 1656428032 - ], - shift: [ - 27, - 24, - 29, - 24, - 24, - 27, - 26, - 25, - 25, - 24, - 26 - ], - scale32: true, - double_round: false, - per_channel: true - }, + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 65, + output_zp: 0, + multiplier: [ + 1865166464, + 1831974400, + 1977699584, + 1757097728, + 1511700736, + 1519738496, + 1262701952, + 1943006464, + 1287952896, + 1862496768, + 1656428032 + ], + shift: [ + 27, + 24, + 29, + 24, + 24, + 27, + 26, + 25, + 25, + 24, + 26 + ], + scale32: true, + double_round: false, + 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: "INT16" + } + ], 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: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |