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 --- .../concat/concat_20_f16_axis0/test.json | 233 +++++++++++---------- 1 file changed, 119 insertions(+), 114 deletions(-) (limited to 'operators/data_layout/concat/concat_20_f16_axis0') diff --git a/operators/data_layout/concat/concat_20_f16_axis0/test.json b/operators/data_layout/concat/concat_20_f16_axis0/test.json index a56fa2f3d..42458494d 100644 --- a/operators/data_layout/concat/concat_20_f16_axis0/test.json +++ b/operators/data_layout/concat/concat_20_f16_axis0/test.json @@ -5,134 +5,139 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-2" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-3" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-3" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-4" + ] + }, + { + op: "CONCAT", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0", + "input-1", + "const-2", + "const-3", + "const-4" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 10 + ], + type: "FP16" + }, + { + name: "const-2", + shape: [ + 5 + ], + type: "FP16", + data: [ + 81, + 61, + 224, + 60, + 52, + 183, + 198, + 186, + 215, + 57 + ] + }, + { + name: "const-3", + shape: [ + 2 + ], + type: "FP16", + data: [ + 196, + 189, + 205, + 188 + ] + }, + { + name: "const-4", + shape: [ + 3 + ], + type: "FP16", + data: [ + 226, + 191, + 151, + 60, + 70, + 57 + ] + }, + { + name: "result-0", + shape: [ + 40 + ], + type: "FP16" + } ], - outputs: [ - "const-4" - ] - }, - { - op: "CONCAT", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, inputs: [ "input-0", - "input-1", - "const-2", - "const-3", - "const-4" + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "FP16" - }, - { - name: "input-1", - shape: [ - 10 - ], - type: "FP16" - }, - { - name: "const-2", - shape: [ - 5 - ], - type: "FP16", - data: [ - 81, - 61, - 224, - 60, - 52, - 183, - 198, - 186, - 215, - 57 - ] - }, - { - name: "const-3", - shape: [ - 2 - ], - type: "FP16", - data: [ - 196, - 189, - 205, - 188 - ] - }, - { - name: "const-4", - shape: [ - 3 - ], - type: "FP16", - data: [ - 226, - 191, - 151, - 60, - 70, - 57 - ] - }, - { - name: "result-0", - shape: [ - 40 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] -- cgit v1.2.1