diff options
Diffstat (limited to 'operators/type_conversion/rescale/rescale_28_i8_outi8_sc1_dr1_pc1/test.json')
-rw-r--r-- | operators/type_conversion/rescale/rescale_28_i8_outi8_sc1_dr1_pc1/test.json | 114 |
1 files changed, 114 insertions, 0 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 new file mode 100644 index 000000000..bbb75e1dc --- /dev/null +++ b/operators/type_conversion/rescale/rescale_28_i8_outi8_sc1_dr1_pc1/test.json @@ -0,0 +1,114 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + 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" + ], + outputs: [ + "result-0" + ] + } + ] +} |