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_36_i32_axis0/test.json | 337 +++++++++++---------- 1 file changed, 171 insertions(+), 166 deletions(-) (limited to 'operators/data_layout/concat/concat_36_i32_axis0') diff --git a/operators/data_layout/concat/concat_36_i32_axis0/test.json b/operators/data_layout/concat/concat_36_i32_axis0/test.json index 723215e7b..288ce9498 100644 --- a/operators/data_layout/concat/concat_36_i32_axis0/test.json +++ b/operators/data_layout/concat/concat_36_i32_axis0/test.json @@ -5,186 +5,191 @@ _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: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 18 + ], + type: "INT32" + }, + { + name: "const-2", + shape: [ + 9 + ], + type: "INT32", + data: [ + 48, + 218, + 187, + 56, + 94, + 44, + 83, + 206, + 4, + 100, + 4, + 79, + 209, + 187, + 71, + 20, + 113, + 29, + 2, + 12, + 41, + 251, + 64, + 173, + 151, + 169, + 148, + 246, + 223, + 18, + 75, + 91, + 59, + 134, + 255, + 132 + ] + }, + { + name: "const-3", + shape: [ + 4 + ], + type: "INT32", + data: [ + 254, + 85, + 46, + 66, + 21, + 173, + 37, + 254, + 106, + 185, + 46, + 56, + 9, + 230, + 205, + 41 + ] + }, + { + name: "const-4", + shape: [ + 5 + ], + type: "INT32", + data: [ + 66, + 166, + 157, + 238, + 76, + 208, + 4, + 207, + 235, + 79, + 151, + 32, + 223, + 188, + 229, + 163, + 202, + 113, + 135, + 21 + ] + }, + { + name: "result-0", + shape: [ + 72 + ], + type: "INT32" + } ], - 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: [ - 36 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 18 - ], - type: "INT32" - }, - { - name: "const-2", - shape: [ - 9 - ], - type: "INT32", - data: [ - 48, - 218, - 187, - 56, - 94, - 44, - 83, - 206, - 4, - 100, - 4, - 79, - 209, - 187, - 71, - 20, - 113, - 29, - 2, - 12, - 41, - 251, - 64, - 173, - 151, - 169, - 148, - 246, - 223, - 18, - 75, - 91, - 59, - 134, - 255, - 132 - ] - }, - { - name: "const-3", - shape: [ - 4 - ], - type: "INT32", - data: [ - 254, - 85, - 46, - 66, - 21, - 173, - 37, - 254, - 106, - 185, - 46, - 56, - 9, - 230, - 205, - 41 - ] - }, - { - name: "const-4", - shape: [ - 5 - ], - type: "INT32", - data: [ - 66, - 166, - 157, - 238, - 76, - 208, - 4, - 207, - 235, - 79, - 151, - 32, - 223, - 188, - 229, - 163, - 202, - 113, - 135, - 21 - ] - }, - { - name: "result-0", - shape: [ - 72 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] -- cgit v1.2.1