diff options
Diffstat (limited to 'operators/type_conversion/rescale/rescale_17x27_u8_outi16_sc0_dr0_pc0')
-rw-r--r-- | operators/type_conversion/rescale/rescale_17x27_u8_outi16_sc0_dr0_pc0/test.json | 87 |
1 files changed, 46 insertions, 41 deletions
diff --git a/operators/type_conversion/rescale/rescale_17x27_u8_outi16_sc0_dr0_pc0/test.json b/operators/type_conversion/rescale/rescale_17x27_u8_outi16_sc0_dr0_pc0/test.json index 5a8d091a6..5578c87d5 100644 --- a/operators/type_conversion/rescale/rescale_17x27_u8_outi16_sc0_dr0_pc0/test.json +++ b/operators/type_conversion/rescale/rescale_17x27_u8_outi16_sc0_dr0_pc0/test.json @@ -5,26 +5,55 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 5, - output_zp: 0, - multiplier: [ - 25660 - ], - shift: [ - 10 - ], - scale32: false, - double_round: false, - per_channel: false - }, + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 5, + output_zp: 0, + multiplier: [ + 25660 + ], + shift: [ + 10 + ], + scale32: false, + double_round: false, + per_channel: false + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 17, + 27 + ], + type: "UINT8" + }, + { + name: "result-0", + shape: [ + 17, + 27 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -32,30 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 17, - 27 - ], - type: "UINT8" - }, - { - name: "result-0", - shape: [ - 17, - 27 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |