From b08fb3e856b7757403ff9aafc9487f9c0ad61fe7 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Mon, 16 Jan 2023 15:17:52 +0000 Subject: Regen tests after control flow operator support Includes removing 3 tests that are not needed anymore. Signed-off-by: Jeremy Johnson Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e --- .../rescale_24x18_u16_outi16_sc1_dr0_pc1/test.json | 155 +++++++++++---------- 1 file changed, 80 insertions(+), 75 deletions(-) (limited to 'operators/type_conversion/rescale/rescale_24x18_u16_outi16_sc1_dr0_pc1') diff --git a/operators/type_conversion/rescale/rescale_24x18_u16_outi16_sc1_dr0_pc1/test.json b/operators/type_conversion/rescale/rescale_24x18_u16_outi16_sc1_dr0_pc1/test.json index 38779dcb4..f3d57a997 100644 --- a/operators/type_conversion/rescale/rescale_24x18_u16_outi16_sc1_dr0_pc1/test.json +++ b/operators/type_conversion/rescale/rescale_24x18_u16_outi16_sc1_dr0_pc1/test.json @@ -5,60 +5,89 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: 0, - multiplier: [ - 1686117632, - 1183501568, - 1927077760, - 1917838720, - 1139144448, - 1232150144, - 1959687808, - 1480488576, - 1465348608, - 1397138304, - 2142326784, - 2069278208, - 1441400704, - 2114984448, - 1812900736, - 1190283264, - 1962969088, - 1428218624 - ], - shift: [ - 32, - 32, - 32, - 32, - 32, - 32, - 33, - 32, - 32, - 32, - 36, - 32, - 33, - 34, - 34, - 35, - 33, - 36 - ], - scale32: true, - double_round: false, - per_channel: true - }, + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 1686117632, + 1183501568, + 1927077760, + 1917838720, + 1139144448, + 1232150144, + 1959687808, + 1480488576, + 1465348608, + 1397138304, + 2142326784, + 2069278208, + 1441400704, + 2114984448, + 1812900736, + 1190283264, + 1962969088, + 1428218624 + ], + shift: [ + 32, + 32, + 32, + 32, + 32, + 32, + 33, + 32, + 32, + 32, + 36, + 32, + 33, + 34, + 34, + 35, + 33, + 36 + ], + scale32: true, + double_round: false, + per_channel: true + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 18 + ], + type: "UINT16" + }, + { + name: "result-0", + shape: [ + 24, + 18 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -66,30 +95,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24, - 18 - ], - type: "UINT16" - }, - { - name: "result-0", - shape: [ - 24, - 18 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] -- cgit v1.2.1