From ff2b7eb06072b4313e5e3746c03ee65a4b156c2f Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Tue, 30 Aug 2022 12:23:56 +0100 Subject: Regen RESCALE tests for rank restriction removal Signed-off-by: Jeremy Johnson Change-Id: Icdd64491addaa79b43fef400953cec69bb317819 --- .../test.json | 106 +++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 operators/type_conversion/rescale/rescale_28x26x22_i16_outINT16_sc0_dr0_pc1/test.json (limited to 'operators/type_conversion/rescale/rescale_28x26x22_i16_outINT16_sc0_dr0_pc1/test.json') diff --git a/operators/type_conversion/rescale/rescale_28x26x22_i16_outINT16_sc0_dr0_pc1/test.json b/operators/type_conversion/rescale/rescale_28x26x22_i16_outINT16_sc0_dr0_pc1/test.json new file mode 100644 index 000000000..096ad1aa9 --- /dev/null +++ b/operators/type_conversion/rescale/rescale_28x26x22_i16_outINT16_sc0_dr0_pc1/test.json @@ -0,0 +1,106 @@ +{ + version: { + _major: 0, + _minor: 31, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 23889, + 27278, + 23963, + 19509, + 16422, + 31202, + 29094, + 23220, + 31745, + 31269, + 29654, + 16408, + 21883, + 19037, + 25382, + 21850, + 16762, + 28181, + 21910, + 22244, + 17851, + 20420 + ], + shift: [ + 19, + 16, + 16, + 15, + 15, + 15, + 15, + 15, + 17, + 15, + 18, + 16, + 19, + 15, + 19, + 22, + 15, + 17, + 15, + 16, + 16, + 15 + ], + scale32: false, + double_round: false, + per_channel: true + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 28, + 26, + 22 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 28, + 26, + 22 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1