diff options
Diffstat (limited to 'operators/type_conversion/rescale/rescale_8x5x5x4x2x9_i32_outi16_sc1_dr1_pc1/test.json')
-rw-r--r-- | operators/type_conversion/rescale/rescale_8x5x5x4x2x9_i32_outi16_sc1_dr1_pc1/test.json | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_8x5x5x4x2x9_i32_outi16_sc1_dr1_pc1/test.json b/operators/type_conversion/rescale/rescale_8x5x5x4x2x9_i32_outi16_sc1_dr1_pc1/test.json new file mode 100644 index 000000000..6144bc239 --- /dev/null +++ b/operators/type_conversion/rescale/rescale_8x5x5x4x2x9_i32_outi16_sc1_dr1_pc1/test.json @@ -0,0 +1,91 @@ +{ + version: { + _major: 0, + _minor: 70, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 1125289344, + 1587064064, + 1362622592, + 1479527168, + 1669250432, + 1611592064, + 1416992384, + 1116575616, + 1129323008 + ], + shift: [ + 50, + 47, + 49, + 48, + 48, + 47, + 47, + 48, + 47 + ], + scale32: true, + double_round: true, + per_channel: true + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 8, + 5, + 5, + 4, + 2, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 8, + 5, + 5, + 4, + 2, + 9 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |