From 2caed563b3a5a394c38c42835ef3f0ce1dbece43 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 12:50:32 +0100 Subject: Updating TYPE_CONVERSION tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: I7e97e3e6a12f138c96a5c8febc45d47dd4f15b98 --- .../test.json | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_12x12_u16_outINT16_sc0_dr0_pc0/test.json (limited to 'operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_12x12_u16_outINT16_sc0_dr0_pc0/test.json') diff --git a/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_12x12_u16_outINT16_sc0_dr0_pc0/test.json b/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_12x12_u16_outINT16_sc0_dr0_pc0/test.json new file mode 100644 index 000000000..4deb3f7c2 --- /dev/null +++ b/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_12x12_u16_outINT16_sc0_dr0_pc0/test.json @@ -0,0 +1,62 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 25641 + ], + shift: [ + 16 + ], + scale32: false, + double_round: false, + per_channel: false + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12 + ], + type: "UINT16" + }, + { + name: "result-0", + shape: [ + 12, + 12 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1