aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/concat/concat_36_f32_axis0
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2022-11-21 11:51:55 +0000
committerJames Ward <james.ward@arm.com>2022-11-21 11:51:55 +0000
commitd8e6b6b5148a3d61b378e6e5259ca421a709abef (patch)
tree2ec785497e47a644c12d57f22a306b0749d22735 /operators/data_layout/concat/concat_36_f32_axis0
parentda333bee0fae850bf90f422d68902884b6063cce (diff)
downloadconformance_tests-d8e6b6b5148a3d61b378e6e5259ca421a709abef.tar.gz
Create MI tests for Data Layout: CONCAT, PAD, RESHAPE, REVERSE, SLICE, TILE, TRANSPOSE
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: Icbbe8f63e35d04a3b2cc64bd760ca92c22fd4aa7
Diffstat (limited to 'operators/data_layout/concat/concat_36_f32_axis0')
-rw-r--r--operators/data_layout/concat/concat_36_f32_axis0/Conformance-result-0.json77
-rw-r--r--operators/data_layout/concat/concat_36_f32_axis0/desc.json25
-rw-r--r--operators/data_layout/concat/concat_36_f32_axis0/input-0.json41
-rw-r--r--operators/data_layout/concat/concat_36_f32_axis0/input-1.json23
-rw-r--r--operators/data_layout/concat/concat_36_f32_axis0/test.json191
5 files changed, 357 insertions, 0 deletions
diff --git a/operators/data_layout/concat/concat_36_f32_axis0/Conformance-result-0.json b/operators/data_layout/concat/concat_36_f32_axis0/Conformance-result-0.json
new file mode 100644
index 000000000..1134af241
--- /dev/null
+++ b/operators/data_layout/concat/concat_36_f32_axis0/Conformance-result-0.json
@@ -0,0 +1,77 @@
+{
+ "type": "float32",
+ "data": [
+ -0.24435415863990784,
+ -1.913551688194275,
+ 1.3051676750183105,
+ 1.5846431255340576,
+ -1.439003586769104,
+ 0.21614457666873932,
+ -1.5656970739364624,
+ 0.6889603734016418,
+ -0.8750648498535156,
+ 0.637690544128418,
+ 0.9079784750938416,
+ 1.0745899677276611,
+ -1.5690362453460693,
+ 1.664047360420227,
+ -1.07914400100708,
+ -1.8503497838974,
+ 0.21940988302230835,
+ -0.5163108706474304,
+ 1.3191590309143066,
+ 1.2330058813095093,
+ -0.7314444184303284,
+ 1.8115975856781006,
+ -0.8363286256790161,
+ 0.06022851541638374,
+ -0.9761396646499634,
+ 1.7441742420196533,
+ -1.3415687084197998,
+ -1.8203575611114502,
+ -0.25961175560951233,
+ 1.9695022106170654,
+ 1.566709041595459,
+ 0.9944320917129517,
+ 1.5631699562072754,
+ 1.5737866163253784,
+ 0.07543344050645828,
+ -0.7362837791442871,
+ 1.0880497694015503,
+ 0.6466450691223145,
+ -0.5053690671920776,
+ -1.6221333742141724,
+ 0.9871584177017212,
+ -0.9501579403877258,
+ 1.7472525835037231,
+ -1.036117672920227,
+ -1.5089682340621948,
+ 1.3244507312774658,
+ -1.3868627548217773,
+ -1.2829267978668213,
+ 0.3975311517715454,
+ 1.4982482194900513,
+ -1.2142612934112549,
+ -0.7587053179740906,
+ 1.109619379043579,
+ 1.887305736541748,
+ 0.002964744810014963,
+ -1.4244099855422974,
+ -1.9442548751831055,
+ -1.0813758373260498,
+ -1.4727110862731934,
+ 0.710634708404541,
+ -1.5126700401306152,
+ 0.025319727137684822,
+ 0.777049720287323,
+ 0.32446643710136414,
+ -1.2008973360061646,
+ 1.2164981365203857,
+ 0.861628532409668,
+ 0.9559360146522522,
+ -1.47576904296875,
+ -1.504984736442566,
+ 1.7102502584457397,
+ -0.40968722105026245
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/concat/concat_36_f32_axis0/desc.json b/operators/data_layout/concat/concat_36_f32_axis0/desc.json
new file mode 100644
index 000000000..5ee7961df
--- /dev/null
+++ b/operators/data_layout/concat/concat_36_f32_axis0/desc.json
@@ -0,0 +1,25 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0",
+ "input-1"
+ ],
+ "ifm_file": [
+ "input-0.npy",
+ "input-1.npy"
+ ],
+ "ofm_name": [
+ "result-0"
+ ],
+ "ofm_file": [
+ "result-0.npy"
+ ],
+ "expected_return_code": 0,
+ "expected_failure": false,
+ "expected_result_file": [
+ "Conformance-result-0.npy"
+ ],
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/concat/concat_36_f32_axis0/input-0.json b/operators/data_layout/concat/concat_36_f32_axis0/input-0.json
new file mode 100644
index 000000000..9aabb0341
--- /dev/null
+++ b/operators/data_layout/concat/concat_36_f32_axis0/input-0.json
@@ -0,0 +1,41 @@
+{
+ "type": "float32",
+ "data": [
+ -0.24435415863990784,
+ -1.913551688194275,
+ 1.3051676750183105,
+ 1.5846431255340576,
+ -1.439003586769104,
+ 0.21614457666873932,
+ -1.5656970739364624,
+ 0.6889603734016418,
+ -0.8750648498535156,
+ 0.637690544128418,
+ 0.9079784750938416,
+ 1.0745899677276611,
+ -1.5690362453460693,
+ 1.664047360420227,
+ -1.07914400100708,
+ -1.8503497838974,
+ 0.21940988302230835,
+ -0.5163108706474304,
+ 1.3191590309143066,
+ 1.2330058813095093,
+ -0.7314444184303284,
+ 1.8115975856781006,
+ -0.8363286256790161,
+ 0.06022851541638374,
+ -0.9761396646499634,
+ 1.7441742420196533,
+ -1.3415687084197998,
+ -1.8203575611114502,
+ -0.25961175560951233,
+ 1.9695022106170654,
+ 1.566709041595459,
+ 0.9944320917129517,
+ 1.5631699562072754,
+ 1.5737866163253784,
+ 0.07543344050645828,
+ -0.7362837791442871
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/concat/concat_36_f32_axis0/input-1.json b/operators/data_layout/concat/concat_36_f32_axis0/input-1.json
new file mode 100644
index 000000000..25b234ef4
--- /dev/null
+++ b/operators/data_layout/concat/concat_36_f32_axis0/input-1.json
@@ -0,0 +1,23 @@
+{
+ "type": "float32",
+ "data": [
+ 1.0880497694015503,
+ 0.6466450691223145,
+ -0.5053690671920776,
+ -1.6221333742141724,
+ 0.9871584177017212,
+ -0.9501579403877258,
+ 1.7472525835037231,
+ -1.036117672920227,
+ -1.5089682340621948,
+ 1.3244507312774658,
+ -1.3868627548217773,
+ -1.2829267978668213,
+ 0.3975311517715454,
+ 1.4982482194900513,
+ -1.2142612934112549,
+ -0.7587053179740906,
+ 1.109619379043579,
+ 1.887305736541748
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/concat/concat_36_f32_axis0/test.json b/operators/data_layout/concat/concat_36_f32_axis0/test.json
new file mode 100644
index 000000000..3c8d39fdc
--- /dev/null
+++ b/operators/data_layout/concat/concat_36_f32_axis0/test.json
@@ -0,0 +1,191 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ 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-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: "FP32"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 18
+ ],
+ type: "FP32"
+ },
+ {
+ name: "const-2",
+ shape: [
+ 9
+ ],
+ type: "FP32",
+ data: [
+ 42,
+ 76,
+ 66,
+ 59,
+ 17,
+ 83,
+ 182,
+ 191,
+ 88,
+ 221,
+ 248,
+ 191,
+ 134,
+ 106,
+ 138,
+ 191,
+ 204,
+ 129,
+ 188,
+ 191,
+ 40,
+ 236,
+ 53,
+ 63,
+ 44,
+ 159,
+ 193,
+ 191,
+ 81,
+ 107,
+ 207,
+ 60,
+ 187,
+ 236,
+ 70,
+ 63
+ ]
+ },
+ {
+ name: "const-3",
+ shape: [
+ 4
+ ],
+ type: "FP32",
+ data: [
+ 119,
+ 32,
+ 166,
+ 62,
+ 1,
+ 183,
+ 153,
+ 191,
+ 54,
+ 182,
+ 155,
+ 63,
+ 176,
+ 147,
+ 92,
+ 63
+ ]
+ },
+ {
+ name: "const-4",
+ shape: [
+ 5
+ ],
+ type: "FP32",
+ data: [
+ 57,
+ 184,
+ 116,
+ 63,
+ 0,
+ 230,
+ 188,
+ 191,
+ 87,
+ 163,
+ 192,
+ 191,
+ 123,
+ 233,
+ 218,
+ 63,
+ 134,
+ 194,
+ 209,
+ 190
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 72
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}