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 --- .../test_split_1x32x32x8_i32_split4_axis2.json | 1175 ++++++++++---------- 1 file changed, 590 insertions(+), 585 deletions(-) (limited to 'frameworks/tflite/operators/split_1x32x32x8_i32_split4_axis2/test_split_1x32x32x8_i32_split4_axis2.json') diff --git a/frameworks/tflite/operators/split_1x32x32x8_i32_split4_axis2/test_split_1x32x32x8_i32_split4_axis2.json b/frameworks/tflite/operators/split_1x32x32x8_i32_split4_axis2/test_split_1x32x32x8_i32_split4_axis2.json index f0beaf24a..90495f1bd 100644 --- a/frameworks/tflite/operators/split_1x32x32x8_i32_split4_axis2/test_split_1x32x32x8_i32_split4_axis2.json +++ b/frameworks/tflite/operators/split_1x32x32x8_i32_split4_axis2/test_split_1x32x32x8_i32_split4_axis2.json @@ -5,617 +5,622 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ - { - op: "SLICE", - attribute_type: "SliceAttribute", - attribute: { - start: [ - 0, - 0, - 0, - 0 - ], - size: [ - 1, - 32, - 8, - 8 - ] - }, - inputs: [ - "TosaInput_0" - ], - outputs: [ - "layer_0" - ] - }, - { - op: "SLICE", - attribute_type: "SliceAttribute", - attribute: { - start: [ - 0, - 0, - 8, - 0 - ], - size: [ - 1, - 32, - 8, - 8 - ] - }, - inputs: [ - "TosaInput_0" - ], - outputs: [ - "layer_1" - ] - }, - { - op: "SLICE", - attribute_type: "SliceAttribute", - attribute: { - start: [ - 0, - 0, - 16, - 0 - ], - size: [ - 1, - 32, - 8, - 8 - ] - }, - inputs: [ - "TosaInput_0" - ], - outputs: [ - "layer_2" - ] - }, - { - op: "SLICE", - attribute_type: "SliceAttribute", - attribute: { - start: [ - 0, - 0, - 24, - 0 - ], - size: [ - 1, - 32, - 8, - 8 - ] - }, - inputs: [ - "TosaInput_0" - ], - outputs: [ - "layer_3" - ] - }, - { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, - inputs: [ - "layer_0" - ], - outputs: [ - "layer_4" - ] - }, - { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, - inputs: [ - "layer_4" - ], - outputs: [ - "layer_5" - ] - }, - { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, - inputs: [ - "layer_5" - ], - outputs: [ - "layer_6" - ] - }, - { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, - inputs: [ - "layer_1" - ], - outputs: [ - "layer_7" - ] - }, - { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, - inputs: [ - "layer_7" - ], - outputs: [ - "layer_8" - ] - }, - { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, - inputs: [ - "layer_8" - ], - outputs: [ - "layer_9" - ] - }, - { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, - inputs: [ - "layer_2" - ], - outputs: [ - "layer_10" - ] - }, - { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, - inputs: [ - "layer_10" - ], - outputs: [ - "layer_11" - ] - }, - { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, - inputs: [ - "layer_11" - ], - outputs: [ - "layer_12" - ] - }, - { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, - inputs: [ - "layer_3" - ], - outputs: [ - "layer_13" - ] - }, - { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, - inputs: [ - "layer_13" - ], - outputs: [ - "layer_14" - ] - }, - { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, - inputs: [ - "layer_14" - ], - outputs: [ - "layer_15" - ] - }, - { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1 - ] - }, - inputs: [ - "layer_6" - ], - outputs: [ - "layer_16" - ] - }, - { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1 - ] - }, - inputs: [ - "layer_9" - ], - outputs: [ - "layer_17" - ] - }, - { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1 - ] - }, - inputs: [ - "layer_12" - ], - outputs: [ - "layer_18" - ] - }, - { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1 - ] - }, - inputs: [ - "layer_15" - ], - outputs: [ - "layer_19" - ] - }, - { - op: "CONCAT", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, - inputs: [ - "layer_16", - "layer_17", - "layer_18", - "layer_19" - ], - outputs: [ - "TosaOutput_0" - ] - } - ], - tensors: [ - { - name: "TosaInput_0", - shape: [ - 1, - 32, - 32, - 8 - ], - type: "INT32", - data: [ + blocks: [ + { + name: "main", + operators: [ + { + op: "SLICE", + attribute_type: "SliceAttribute", + attribute: { + start: [ + 0, + 0, + 0, + 0 + ], + size: [ + 1, + 32, + 8, + 8 + ] + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_0" + ] + }, + { + op: "SLICE", + attribute_type: "SliceAttribute", + attribute: { + start: [ + 0, + 0, + 8, + 0 + ], + size: [ + 1, + 32, + 8, + 8 + ] + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_1" + ] + }, + { + op: "SLICE", + attribute_type: "SliceAttribute", + attribute: { + start: [ + 0, + 0, + 16, + 0 + ], + size: [ + 1, + 32, + 8, + 8 + ] + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_2" + ] + }, + { + op: "SLICE", + attribute_type: "SliceAttribute", + attribute: { + start: [ + 0, + 0, + 24, + 0 + ], + size: [ + 1, + 32, + 8, + 8 + ] + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_3" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "layer_0" + ], + outputs: [ + "layer_4" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "layer_4" + ], + outputs: [ + "layer_5" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "layer_5" + ], + outputs: [ + "layer_6" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "layer_1" + ], + outputs: [ + "layer_7" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "layer_7" + ], + outputs: [ + "layer_8" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "layer_8" + ], + outputs: [ + "layer_9" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "layer_2" + ], + outputs: [ + "layer_10" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "layer_10" + ], + outputs: [ + "layer_11" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "layer_11" + ], + outputs: [ + "layer_12" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "layer_3" + ], + outputs: [ + "layer_13" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "layer_13" + ], + outputs: [ + "layer_14" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "layer_14" + ], + outputs: [ + "layer_15" + ] + }, + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1 + ] + }, + inputs: [ + "layer_6" + ], + outputs: [ + "layer_16" + ] + }, + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1 + ] + }, + inputs: [ + "layer_9" + ], + outputs: [ + "layer_17" + ] + }, + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1 + ] + }, + inputs: [ + "layer_12" + ], + outputs: [ + "layer_18" + ] + }, + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1 + ] + }, + inputs: [ + "layer_15" + ], + outputs: [ + "layer_19" + ] + }, + { + op: "CONCAT", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "layer_16", + "layer_17", + "layer_18", + "layer_19" + ], + outputs: [ + "TosaOutput_0" + ] + } + ], + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "TosaOutput_0", - shape: [ - 4 - ], - type: "INT32", - data: [ + ] + }, + { + name: "TosaOutput_0", + shape: [ + 4 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_0", - shape: [ - 1, - 32, - 8, - 8 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_0", + shape: [ + 1, + 32, + 8, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_1", - shape: [ - 1, - 32, - 8, - 8 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_1", + shape: [ + 1, + 32, + 8, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_10", - shape: [ - 1, - 1, - 8, - 8 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_10", + shape: [ + 1, + 1, + 8, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_11", - shape: [ - 1, - 1, - 1, - 8 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_11", + shape: [ + 1, + 1, + 1, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_12", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_12", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_13", - shape: [ - 1, - 1, - 8, - 8 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_13", + shape: [ + 1, + 1, + 8, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_14", - shape: [ - 1, - 1, - 1, - 8 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_14", + shape: [ + 1, + 1, + 1, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_15", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_15", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_16", - shape: [ - 1 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_16", + shape: [ + 1 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_17", - shape: [ - 1 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_17", + shape: [ + 1 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_18", - shape: [ - 1 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_18", + shape: [ + 1 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_19", - shape: [ - 1 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_19", + shape: [ + 1 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_2", - shape: [ - 1, - 32, - 8, - 8 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_2", + shape: [ + 1, + 32, + 8, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_3", - shape: [ - 1, - 32, - 8, - 8 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_3", + shape: [ + 1, + 32, + 8, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_4", - shape: [ - 1, - 1, - 8, - 8 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_4", + shape: [ + 1, + 1, + 8, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_5", - shape: [ - 1, - 1, - 1, - 8 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_5", + shape: [ + 1, + 1, + 1, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_6", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_6", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_7", - shape: [ - 1, - 1, - 8, - 8 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_7", + shape: [ + 1, + 1, + 8, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_8", - shape: [ - 1, - 1, - 1, - 8 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_8", + shape: [ + 1, + 1, + 1, + 8 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_9", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_9", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT32", + data: [ + ] + } + ], + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" ] } - ], - inputs: [ - "TosaInput_0" - ], - outputs: [ - "TosaOutput_0" ] } ] -- cgit v1.2.1