diff options
Diffstat (limited to 'operators/type_conversion/rescale/rescale_28_i8_outi8_sc1_dr1_pc1')
-rw-r--r-- | operators/type_conversion/rescale/rescale_28_i8_outi8_sc1_dr1_pc1/test.json | 191 |
1 files changed, 98 insertions, 93 deletions
diff --git a/operators/type_conversion/rescale/rescale_28_i8_outi8_sc1_dr1_pc1/test.json b/operators/type_conversion/rescale/rescale_28_i8_outi8_sc1_dr1_pc1/test.json index 228e8ee83..8671c2aac 100644 --- a/operators/type_conversion/rescale/rescale_28_i8_outi8_sc1_dr1_pc1/test.json +++ b/operators/type_conversion/rescale/rescale_28_i8_outi8_sc1_dr1_pc1/test.json @@ -5,80 +5,107 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 87, - output_zp: 87, - multiplier: [ - 1369211264, - 1394036992, - 1439250560, - 1638321792, - 1996592256, - 1574571008, - 1158626304, - 1453659520, - 1813504512, - 2072633088, - 1650615168, - 1829689344, - 1084031488, - 1953248512, - 1260839040, - 1825950208, - 1462826368, - 2142402560, - 1141196544, - 1803537792, - 1711769984, - 1969967616, - 1354701952, - 1524769920, - 1455373824, - 1645857280, - 1705832576, - 1991706112 - ], - shift: [ - 31, - 31, - 31, - 31, - 35, - 32, - 31, - 32, - 31, - 32, - 31, - 31, - 31, - 31, - 31, - 31, - 32, - 32, - 31, - 34, - 32, - 31, - 31, - 33, - 32, - 33, - 36, - 31 - ], - scale32: true, - double_round: true, - per_channel: true - }, + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 87, + output_zp: 87, + multiplier: [ + 1369211264, + 1394036992, + 1439250560, + 1638321792, + 1996592256, + 1574571008, + 1158626304, + 1453659520, + 1813504512, + 2072633088, + 1650615168, + 1829689344, + 1084031488, + 1953248512, + 1260839040, + 1825950208, + 1462826368, + 2142402560, + 1141196544, + 1803537792, + 1711769984, + 1969967616, + 1354701952, + 1524769920, + 1455373824, + 1645857280, + 1705832576, + 1991706112 + ], + shift: [ + 31, + 31, + 31, + 31, + 35, + 32, + 31, + 32, + 31, + 32, + 31, + 31, + 31, + 31, + 31, + 31, + 32, + 32, + 31, + 34, + 32, + 31, + 31, + 33, + 32, + 33, + 36, + 31 + ], + scale32: true, + double_round: true, + per_channel: true + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 28 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 28 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -86,28 +113,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 28 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 28 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |