diff options
Diffstat (limited to 'operators/type_conversion/rescale/rescale_ERRORIF_WrongInputType_4x12_b_outi8_sc1_dr1_pc1/test.json')
-rw-r--r-- | operators/type_conversion/rescale/rescale_ERRORIF_WrongInputType_4x12_b_outi8_sc1_dr1_pc1/test.json | 131 |
1 files changed, 68 insertions, 63 deletions
diff --git a/operators/type_conversion/rescale/rescale_ERRORIF_WrongInputType_4x12_b_outi8_sc1_dr1_pc1/test.json b/operators/type_conversion/rescale/rescale_ERRORIF_WrongInputType_4x12_b_outi8_sc1_dr1_pc1/test.json index 4a4c3cb91..fecacde94 100644 --- a/operators/type_conversion/rescale/rescale_ERRORIF_WrongInputType_4x12_b_outi8_sc1_dr1_pc1/test.json +++ b/operators/type_conversion/rescale/rescale_ERRORIF_WrongInputType_4x12_b_outi8_sc1_dr1_pc1/test.json @@ -5,48 +5,77 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: -28, - multiplier: [ - 1945640576, - 1772247552, - 2020305024, - 1804184448, - 2131625984, - 2146599168, - 1768162560, - 1974912640, - 2118920832, - 1971165056, - 1472555392, - 1848440832 - ], - shift: [ - 23, - 25, - 23, - 24, - 27, - 25, - 25, - 23, - 26, - 26, - 23, - 23 - ], - scale32: true, - double_round: true, - per_channel: true - }, + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: -28, + multiplier: [ + 1945640576, + 1772247552, + 2020305024, + 1804184448, + 2131625984, + 2146599168, + 1768162560, + 1974912640, + 2118920832, + 1971165056, + 1472555392, + 1848440832 + ], + shift: [ + 23, + 25, + 23, + 24, + 27, + 25, + 25, + 23, + 26, + 26, + 23, + 23 + ], + scale32: true, + double_round: true, + per_channel: true + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 12 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 4, + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -54,30 +83,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 12 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 4, - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |