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 --- .../rescale_28_i8_outUINT8_sc0_dr0_pc1/test.json | 114 +++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 operators/type_conversion/rescale/rescale_28_i8_outUINT8_sc0_dr0_pc1/test.json (limited to 'operators/type_conversion/rescale/rescale_28_i8_outUINT8_sc0_dr0_pc1/test.json') diff --git a/operators/type_conversion/rescale/rescale_28_i8_outUINT8_sc0_dr0_pc1/test.json b/operators/type_conversion/rescale/rescale_28_i8_outUINT8_sc0_dr0_pc1/test.json new file mode 100644 index 000000000..246ff1793 --- /dev/null +++ b/operators/type_conversion/rescale/rescale_28_i8_outUINT8_sc0_dr0_pc1/test.json @@ -0,0 +1,114 @@ +{ + version: { + _major: 0, + _minor: 31, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 19, + output_zp: 39, + multiplier: [ + 30275, + 22175, + 29043, + 22891, + 27988, + 19371, + 22306, + 25797, + 20840, + 16532, + 28672, + 27890, + 22793, + 23789, + 31031, + 32688, + 18718, + 27280, + 25823, + 24485, + 17162, + 26653, + 27311, + 27243, + 30305, + 25982, + 27642, + 29578 + ], + shift: [ + 18, + 20, + 19, + 17, + 19, + 15, + 15, + 16, + 16, + 15, + 15, + 15, + 19, + 17, + 17, + 17, + 15, + 16, + 19, + 16, + 15, + 18, + 15, + 19, + 15, + 18, + 15, + 15 + ], + scale32: false, + double_round: false, + per_channel: true + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 28 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 28 + ], + type: "UINT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1