diff options
Diffstat (limited to 'operators/type_conversion/rescale/rescale_7x7x4x2x9_i8_outi16_sc1_dr0_pc1/test.json')
-rw-r--r-- | operators/type_conversion/rescale/rescale_7x7x4x2x9_i8_outi16_sc1_dr0_pc1/test.json | 131 |
1 files changed, 68 insertions, 63 deletions
diff --git a/operators/type_conversion/rescale/rescale_7x7x4x2x9_i8_outi16_sc1_dr0_pc1/test.json b/operators/type_conversion/rescale/rescale_7x7x4x2x9_i8_outi16_sc1_dr0_pc1/test.json index 2b5db3433..518a62ed1 100644 --- a/operators/type_conversion/rescale/rescale_7x7x4x2x9_i8_outi16_sc1_dr0_pc1/test.json +++ b/operators/type_conversion/rescale/rescale_7x7x4x2x9_i8_outi16_sc1_dr0_pc1/test.json @@ -5,42 +5,77 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 33, - output_zp: 0, - multiplier: [ - 1414518912, - 2040108544, - 2018089088, - 1700846336, - 1753768832, - 1766027904, - 1955521024, - 1498114816, - 1409023616 - ], - shift: [ - 25, - 25, - 24, - 27, - 27, - 24, - 26, - 28, - 25 - ], - scale32: true, - double_round: false, - per_channel: true - }, + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 33, + output_zp: 0, + multiplier: [ + 1414518912, + 2040108544, + 2018089088, + 1700846336, + 1753768832, + 1766027904, + 1955521024, + 1498114816, + 1409023616 + ], + shift: [ + 25, + 25, + 24, + 27, + 27, + 24, + 26, + 28, + 25 + ], + scale32: true, + double_round: false, + per_channel: true + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 7, + 4, + 2, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 7, + 7, + 4, + 2, + 9 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -48,36 +83,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 7, - 4, - 2, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 7, - 7, - 4, - 2, - 9 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |