diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:32 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:32 +0100 |
commit | 2caed563b3a5a394c38c42835ef3f0ce1dbece43 (patch) | |
tree | e3493e60e1a8415318329f33cdf7e2dcf9473860 /operators/type_conversion/rescale/rescale_ERRORIF_InputZeroPointNotZero_10_i48_outINT16_sc0_dr0_pc0/test.json | |
parent | 06f9df4678a5e20fe6e877aff4032c23c1f4ab6d (diff) | |
download | conformance_tests-2caed563b3a5a394c38c42835ef3f0ce1dbece43.tar.gz |
Updating TYPE_CONVERSION tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I7e97e3e6a12f138c96a5c8febc45d47dd4f15b98
Diffstat (limited to 'operators/type_conversion/rescale/rescale_ERRORIF_InputZeroPointNotZero_10_i48_outINT16_sc0_dr0_pc0/test.json')
-rw-r--r-- | operators/type_conversion/rescale/rescale_ERRORIF_InputZeroPointNotZero_10_i48_outINT16_sc0_dr0_pc0/test.json | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_ERRORIF_InputZeroPointNotZero_10_i48_outINT16_sc0_dr0_pc0/test.json b/operators/type_conversion/rescale/rescale_ERRORIF_InputZeroPointNotZero_10_i48_outINT16_sc0_dr0_pc0/test.json new file mode 100644 index 000000000..dbf601dff --- /dev/null +++ b/operators/type_conversion/rescale/rescale_ERRORIF_InputZeroPointNotZero_10_i48_outINT16_sc0_dr0_pc0/test.json @@ -0,0 +1,60 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 10, + output_zp: 0, + multiplier: [ + 16384 + ], + shift: [ + 45 + ], + scale32: false, + double_round: false, + per_channel: false + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |