diff options
Diffstat (limited to 'operators/type_conversion/rescale/rescale_2x12x10x7_u8_outi16_sc0_dr0_pc1')
-rw-r--r-- | operators/type_conversion/rescale/rescale_2x12x10x7_u8_outi16_sc0_dr0_pc1/test.json | 119 |
1 files changed, 62 insertions, 57 deletions
diff --git a/operators/type_conversion/rescale/rescale_2x12x10x7_u8_outi16_sc0_dr0_pc1/test.json b/operators/type_conversion/rescale/rescale_2x12x10x7_u8_outi16_sc0_dr0_pc1/test.json index 6df956b3e..cf0270f29 100644 --- a/operators/type_conversion/rescale/rescale_2x12x10x7_u8_outi16_sc0_dr0_pc1/test.json +++ b/operators/type_conversion/rescale/rescale_2x12x10x7_u8_outi16_sc0_dr0_pc1/test.json @@ -5,38 +5,71 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 90, - output_zp: 0, - multiplier: [ - 23688, - 24947, - 25175, - 20217, - 31901, - 21475, - 16547 - ], - shift: [ - 8, - 9, - 9, - 8, - 12, - 8, - 8 - ], - scale32: false, - double_round: false, - per_channel: true - }, + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 90, + output_zp: 0, + multiplier: [ + 23688, + 24947, + 25175, + 20217, + 31901, + 21475, + 16547 + ], + shift: [ + 8, + 9, + 9, + 8, + 12, + 8, + 8 + ], + scale32: false, + double_round: false, + per_channel: true + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "UINT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -44,34 +77,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "UINT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |