aboutsummaryrefslogtreecommitdiff
path: root/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:00 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:00 +0100
commite2ac2482baa202af7fe759a6b58d9bdd75168b6a (patch)
treed647a83a118e7dc12189a5983e7d7f9e8e096191 /frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1
parent696175c6e320ea85243f8dac54ad0f5cf57d4dfe (diff)
downloadconformance_tests-e2ac2482baa202af7fe759a6b58d9bdd75168b6a.tar.gz
Updating framework tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I216edc7080a64aa481deb192253295a006fa4373
Diffstat (limited to 'frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1')
-rw-r--r--frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/Conformance-TosaOutput_0.json133
-rw-r--r--frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/desc.json21
-rw-r--r--frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/model-tflite.json232
-rw-r--r--frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/placeholder_0.json69
-rw-r--r--frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/placeholder_1.json69
-rw-r--r--frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/test_concat_64_i32_axis_m1.json68
6 files changed, 592 insertions, 0 deletions
diff --git a/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/Conformance-TosaOutput_0.json b/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/Conformance-TosaOutput_0.json
new file mode 100644
index 000000000..e8db4c5a6
--- /dev/null
+++ b/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/Conformance-TosaOutput_0.json
@@ -0,0 +1,133 @@
+{
+ "type": "int32",
+ "data": [
+ 47,
+ -74,
+ 64,
+ -75,
+ -91,
+ -104,
+ -55,
+ 73,
+ 53,
+ -44,
+ 14,
+ -113,
+ -125,
+ -61,
+ -28,
+ -128,
+ 56,
+ -72,
+ -58,
+ 125,
+ 111,
+ -121,
+ -23,
+ -48,
+ -47,
+ 116,
+ 97,
+ -88,
+ -22,
+ -89,
+ 9,
+ 31,
+ -126,
+ -73,
+ -115,
+ -66,
+ 75,
+ 27,
+ -2,
+ -14,
+ -118,
+ -94,
+ -93,
+ -116,
+ -102,
+ 8,
+ -109,
+ -10,
+ 95,
+ 114,
+ 107,
+ -8,
+ -50,
+ -123,
+ -25,
+ 63,
+ -49,
+ -46,
+ 95,
+ -66,
+ 113,
+ 79,
+ -57,
+ 49,
+ -33,
+ -92,
+ -88,
+ -107,
+ 64,
+ -32,
+ 103,
+ 96,
+ -100,
+ 33,
+ -51,
+ 99,
+ 66,
+ -80,
+ 103,
+ -77,
+ 91,
+ 35,
+ -110,
+ -105,
+ 34,
+ 24,
+ 38,
+ 29,
+ -40,
+ 8,
+ 9,
+ 38,
+ 64,
+ 89,
+ 3,
+ 114,
+ -91,
+ -127,
+ -23,
+ 65,
+ 87,
+ 44,
+ 60,
+ -83,
+ 97,
+ -112,
+ 94,
+ -123,
+ -12,
+ -5,
+ -99,
+ -90,
+ 21,
+ -93,
+ -99,
+ -37,
+ 64,
+ -69,
+ 19,
+ 125,
+ -117,
+ -4,
+ 17,
+ 120,
+ -5,
+ 87,
+ 118,
+ -32
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/desc.json b/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/desc.json
new file mode 100644
index 000000000..b832d18e3
--- /dev/null
+++ b/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/desc.json
@@ -0,0 +1,21 @@
+{
+ "tosa_file": "test_concat_64_i32_axis_m1.json",
+ "ifm_name": [
+ "TosaInput_0",
+ "TosaInput_1"
+ ],
+ "ifm_file": [
+ "placeholder_0.npy",
+ "placeholder_1.npy"
+ ],
+ "ofm_name": [
+ "TosaOutput_0"
+ ],
+ "ofm_file": [
+ "output_0.npy"
+ ],
+ "expected_failure": false,
+ "expected_result_file": [
+ "Conformance-TosaOutput_0.npy"
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/model-tflite.json b/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/model-tflite.json
new file mode 100644
index 000000000..c9d63c49a
--- /dev/null
+++ b/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/model-tflite.json
@@ -0,0 +1,232 @@
+{
+ version: 3,
+ operator_codes: [
+ {
+ deprecated_builtin_code: 2,
+ version: 1,
+ builtin_code: "CONCATENATION"
+ }
+ ],
+ subgraphs: [
+ {
+ tensors: [
+ {
+ shape: [
+ 64
+ ],
+ type: "INT32",
+ buffer: 1,
+ name: "serving_default_placeholder_0:0",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 64
+ ],
+ type: "INT32",
+ buffer: 2,
+ name: "serving_default_placeholder_1:0",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ },
+ {
+ shape: [
+ 128
+ ],
+ type: "INT32",
+ buffer: 3,
+ name: "PartitionedCall:0",
+ quantization: {
+ details_type: "NONE",
+ quantized_dimension: 0
+ },
+ is_variable: false
+ }
+ ],
+ inputs: [
+ 0,
+ 1
+ ],
+ outputs: [
+ 2
+ ],
+ operators: [
+ {
+ opcode_index: 0,
+ inputs: [
+ 0,
+ 1
+ ],
+ outputs: [
+ 2
+ ],
+ builtin_options_type: "ConcatenationOptions",
+ builtin_options: {
+ axis: -1,
+ fused_activation_function: "NONE"
+ },
+ custom_options_format: "FLEXBUFFERS"
+ }
+ ],
+ name: "main"
+ }
+ ],
+ description: "MLIR Converted.",
+ buffers: [
+ {
+ },
+ {
+ },
+ {
+ },
+ {
+ },
+ {
+ data: [
+ 49,
+ 46,
+ 53,
+ 46,
+ 48,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ data: [
+ 12,
+ 0,
+ 0,
+ 0,
+ 8,
+ 0,
+ 14,
+ 0,
+ 8,
+ 0,
+ 4,
+ 0,
+ 8,
+ 0,
+ 0,
+ 0,
+ 16,
+ 0,
+ 0,
+ 0,
+ 36,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 6,
+ 0,
+ 8,
+ 0,
+ 4,
+ 0,
+ 6,
+ 0,
+ 0,
+ 0,
+ 4,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 10,
+ 0,
+ 16,
+ 0,
+ 12,
+ 0,
+ 8,
+ 0,
+ 4,
+ 0,
+ 10,
+ 0,
+ 0,
+ 0,
+ 3,
+ 0,
+ 0,
+ 0,
+ 2,
+ 0,
+ 0,
+ 0,
+ 4,
+ 0,
+ 0,
+ 0,
+ 5,
+ 0,
+ 0,
+ 0,
+ 50,
+ 46,
+ 57,
+ 46,
+ 48,
+ 0,
+ 0,
+ 0
+ ]
+ }
+ ],
+ metadata: [
+ {
+ name: "min_runtime_version",
+ buffer: 4
+ },
+ {
+ name: "CONVERSION_METADATA",
+ buffer: 5
+ }
+ ],
+ signature_defs: [
+ {
+ inputs: [
+ {
+ name: "placeholder_0",
+ tensor_index: 0
+ },
+ {
+ name: "placeholder_1",
+ tensor_index: 1
+ }
+ ],
+ outputs: [
+ {
+ name: "output_0",
+ tensor_index: 2
+ }
+ ],
+ method_name: "serving_default",
+ subgraph_index: 0
+ }
+ ]
+}
diff --git a/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/placeholder_0.json b/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/placeholder_0.json
new file mode 100644
index 000000000..f1802c643
--- /dev/null
+++ b/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/placeholder_0.json
@@ -0,0 +1,69 @@
+{
+ "type": "int32",
+ "data": [
+ 47,
+ -74,
+ 64,
+ -75,
+ -91,
+ -104,
+ -55,
+ 73,
+ 53,
+ -44,
+ 14,
+ -113,
+ -125,
+ -61,
+ -28,
+ -128,
+ 56,
+ -72,
+ -58,
+ 125,
+ 111,
+ -121,
+ -23,
+ -48,
+ -47,
+ 116,
+ 97,
+ -88,
+ -22,
+ -89,
+ 9,
+ 31,
+ -126,
+ -73,
+ -115,
+ -66,
+ 75,
+ 27,
+ -2,
+ -14,
+ -118,
+ -94,
+ -93,
+ -116,
+ -102,
+ 8,
+ -109,
+ -10,
+ 95,
+ 114,
+ 107,
+ -8,
+ -50,
+ -123,
+ -25,
+ 63,
+ -49,
+ -46,
+ 95,
+ -66,
+ 113,
+ 79,
+ -57,
+ 49
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/placeholder_1.json b/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/placeholder_1.json
new file mode 100644
index 000000000..70f710ba1
--- /dev/null
+++ b/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/placeholder_1.json
@@ -0,0 +1,69 @@
+{
+ "type": "int32",
+ "data": [
+ -33,
+ -92,
+ -88,
+ -107,
+ 64,
+ -32,
+ 103,
+ 96,
+ -100,
+ 33,
+ -51,
+ 99,
+ 66,
+ -80,
+ 103,
+ -77,
+ 91,
+ 35,
+ -110,
+ -105,
+ 34,
+ 24,
+ 38,
+ 29,
+ -40,
+ 8,
+ 9,
+ 38,
+ 64,
+ 89,
+ 3,
+ 114,
+ -91,
+ -127,
+ -23,
+ 65,
+ 87,
+ 44,
+ 60,
+ -83,
+ 97,
+ -112,
+ 94,
+ -123,
+ -12,
+ -5,
+ -99,
+ -90,
+ 21,
+ -93,
+ -99,
+ -37,
+ 64,
+ -69,
+ 19,
+ 125,
+ -117,
+ -4,
+ 17,
+ 120,
+ -5,
+ 87,
+ 118,
+ -32
+ ]
+} \ No newline at end of file
diff --git a/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/test_concat_64_i32_axis_m1.json b/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/test_concat_64_i32_axis_m1.json
new file mode 100644
index 000000000..e46feca37
--- /dev/null
+++ b/frameworks/tflite/operators/concatenation_concat_64_i32_axis_m1/test_concat_64_i32_axis_m1.json
@@ -0,0 +1,68 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "CONCAT",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "TosaInput_0",
+ "TosaInput_1"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "TosaInput_0",
+ shape: [
+ 64
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "TosaInput_1",
+ shape: [
+ 64
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ },
+ {
+ name: "TosaOutput_0",
+ shape: [
+ 128
+ ],
+ type: "INT32",
+ data: [
+
+ ]
+ }
+ ],
+ inputs: [
+ "TosaInput_0",
+ "TosaInput_1"
+ ],
+ outputs: [
+ "TosaOutput_0"
+ ]
+ }
+ ]
+}