From e2ac2482baa202af7fe759a6b58d9bdd75168b6a Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Fri, 17 Jun 2022 13:06:00 +0100 Subject: Updating framework tests for v0.30.0 release Signed-off-by: Jeremy Johnson Change-Id: I216edc7080a64aa481deb192253295a006fa4373 --- .../test_split_1x4x8x19_i32_splitv_axis3.json | 455 +++++++++++++++++++++ 1 file changed, 455 insertions(+) create mode 100644 frameworks/tflite/operators/split_1x4x8x19_i32_splitv_axis3/test_split_1x4x8x19_i32_splitv_axis3.json (limited to 'frameworks/tflite/operators/split_1x4x8x19_i32_splitv_axis3/test_split_1x4x8x19_i32_splitv_axis3.json') diff --git a/frameworks/tflite/operators/split_1x4x8x19_i32_splitv_axis3/test_split_1x4x8x19_i32_splitv_axis3.json b/frameworks/tflite/operators/split_1x4x8x19_i32_splitv_axis3/test_split_1x4x8x19_i32_splitv_axis3.json new file mode 100644 index 000000000..b046188b5 --- /dev/null +++ b/frameworks/tflite/operators/split_1x4x8x19_i32_splitv_axis3/test_split_1x4x8x19_i32_splitv_axis3.json @@ -0,0 +1,455 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "SLICE", + attribute_type: "SliceAttribute", + attribute: { + start: [ + 0, + 0, + 0, + 0 + ], + size: [ + 1, + 4, + 8, + 16 + ] + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_0" + ] + }, + { + op: "SLICE", + attribute_type: "SliceAttribute", + attribute: { + start: [ + 0, + 0, + 0, + 16 + ], + size: [ + 1, + 4, + 8, + 2 + ] + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_1" + ] + }, + { + op: "SLICE", + attribute_type: "SliceAttribute", + attribute: { + start: [ + 0, + 0, + 0, + 18 + ], + size: [ + 1, + 4, + 8, + 1 + ] + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_2" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "layer_0" + ], + outputs: [ + "layer_3" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "layer_3" + ], + outputs: [ + "layer_4" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "layer_4" + ], + outputs: [ + "layer_5" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "layer_1" + ], + outputs: [ + "layer_6" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "layer_6" + ], + outputs: [ + "layer_7" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "layer_7" + ], + outputs: [ + "layer_8" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "layer_2" + ], + outputs: [ + "layer_9" + ] + }, + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "layer_9" + ], + outputs: [ + "layer_10" + ] + }, + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1 + ] + }, + inputs: [ + "layer_5" + ], + outputs: [ + "layer_11" + ] + }, + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1 + ] + }, + inputs: [ + "layer_8" + ], + outputs: [ + "layer_12" + ] + }, + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1 + ] + }, + inputs: [ + "layer_10" + ], + outputs: [ + "layer_13" + ] + }, + { + op: "CONCAT", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "layer_11", + "layer_12", + "layer_13" + ], + outputs: [ + "TosaOutput_0" + ] + } + ], + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 4, + 8, + 19 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "TosaOutput_0", + shape: [ + 3 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_0", + shape: [ + 1, + 4, + 8, + 16 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_1", + shape: [ + 1, + 4, + 8, + 2 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_10", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_11", + shape: [ + 1 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_12", + shape: [ + 1 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_13", + shape: [ + 1 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_2", + shape: [ + 1, + 4, + 8, + 1 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_3", + shape: [ + 1, + 1, + 8, + 16 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_4", + shape: [ + 1, + 1, + 1, + 16 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_5", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_6", + shape: [ + 1, + 1, + 8, + 2 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_7", + shape: [ + 1, + 1, + 1, + 2 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_8", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT32", + data: [ + + ] + }, + { + name: "layer_9", + shape: [ + 1, + 1, + 8, + 1 + ], + type: "INT32", + data: [ + + ] + } + ], + inputs: [ + "TosaInput_0" + ], + outputs: [ + "TosaOutput_0" + ] + } + ] +} -- cgit v1.2.1