aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:22 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:22 +0100
commit49986ff81f505448e2b119535a671c3ba92a72c6 (patch)
treeb09ced1df3ddfd594700ffe9d868d790976d1e6d /operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3
parent5dae754706e716e805a25d94a93c62fe89b28d1d (diff)
downloadconformance_tests-49986ff81f505448e2b119535a671c3ba92a72c6.tar.gz
Updating RESHAPE tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I5a5366c30ff35fb375ce9b2a2efafe0871600b58
Diffstat (limited to 'operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3')
-rw-r--r--operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/Conformance-result-0.json439
-rw-r--r--operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/desc.json20
-rw-r--r--operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/input-0.json425
-rw-r--r--operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/test.json57
4 files changed, 941 insertions, 0 deletions
diff --git a/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/Conformance-result-0.json b/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/Conformance-result-0.json
new file mode 100644
index 000000000..7f36bc46f
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/Conformance-result-0.json
@@ -0,0 +1,439 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ 25552,
+ -22261,
+ -12167,
+ -24367,
+ -6445,
+ 16318,
+ -15199,
+ 21115,
+ 6966,
+ 8449
+ ],
+ [
+ 28757,
+ -4467,
+ -10182,
+ 32411,
+ 3735,
+ 7510,
+ -13350,
+ -18650,
+ -21640,
+ -18117
+ ],
+ [
+ -19977,
+ 16169,
+ -28971,
+ 8479,
+ 29444,
+ 17403,
+ -6365,
+ -28875,
+ 21896,
+ -32562
+ ],
+ [
+ 11883,
+ 11203,
+ -20191,
+ 15720,
+ -21269,
+ -17980,
+ 20446,
+ 31400,
+ -15420,
+ 27612
+ ],
+ [
+ 27085,
+ 17655,
+ -23590,
+ -13146,
+ 11646,
+ 32716,
+ 20609,
+ -5226,
+ -17351,
+ 30168
+ ]
+ ],
+ [
+ [
+ -14667,
+ -10341,
+ 30442,
+ 4041,
+ -15428,
+ -32418,
+ -4591,
+ 31850,
+ -4423,
+ 13076
+ ],
+ [
+ -16186,
+ 18062,
+ 18074,
+ 7097,
+ 17815,
+ 5165,
+ -7975,
+ 15589,
+ 21962,
+ 22351
+ ],
+ [
+ -18804,
+ 11573,
+ -32486,
+ 4718,
+ 4664,
+ -8946,
+ 32379,
+ 25097,
+ -30236,
+ -19082
+ ],
+ [
+ -19137,
+ 26054,
+ 1239,
+ 14999,
+ 20312,
+ 17538,
+ -26933,
+ -23572,
+ -6866,
+ -10593
+ ],
+ [
+ 16192,
+ -22529,
+ -8419,
+ -17264,
+ -20393,
+ -21444,
+ -19956,
+ 4218,
+ -5896,
+ -4241
+ ]
+ ],
+ [
+ [
+ -1349,
+ 15798,
+ 23711,
+ 1732,
+ 9322,
+ 15634,
+ 12478,
+ -23969,
+ 31653,
+ -21967
+ ],
+ [
+ -5778,
+ 10000,
+ -6334,
+ -16835,
+ 27744,
+ -28081,
+ -16655,
+ 32309,
+ 15061,
+ -27068
+ ],
+ [
+ 16683,
+ 30769,
+ -26360,
+ -5633,
+ -2082,
+ -24182,
+ -19624,
+ -21381,
+ -20620,
+ -6323
+ ],
+ [
+ -2371,
+ -17172,
+ -13800,
+ -20170,
+ 19402,
+ -18891,
+ 26712,
+ 2546,
+ 19839,
+ 8938
+ ],
+ [
+ -15334,
+ 6642,
+ -14803,
+ -24999,
+ -16075,
+ -14704,
+ -23919,
+ -31221,
+ 29084,
+ 879
+ ]
+ ],
+ [
+ [
+ -6420,
+ 28177,
+ -18043,
+ -6366,
+ 22719,
+ 8652,
+ -6607,
+ -16003,
+ -30467,
+ -27194
+ ],
+ [
+ -22155,
+ 18783,
+ 9125,
+ -4361,
+ 18540,
+ -22232,
+ -18945,
+ -7031,
+ 27354,
+ 7486
+ ],
+ [
+ 23002,
+ -16505,
+ 22831,
+ -28018,
+ -17848,
+ 1508,
+ -29457,
+ 23479,
+ 24079,
+ 2717
+ ],
+ [
+ -12728,
+ -26283,
+ 7793,
+ 2468,
+ 17037,
+ 6719,
+ -24361,
+ -24789,
+ 18405,
+ -22347
+ ],
+ [
+ 28738,
+ -25825,
+ 14966,
+ 31144,
+ -3853,
+ -29052,
+ 24685,
+ -20493,
+ 1799,
+ 31754
+ ]
+ ],
+ [
+ [
+ 16041,
+ -29733,
+ 21004,
+ -22201,
+ 16341,
+ 7926,
+ -13904,
+ -5007,
+ -25045,
+ 31901
+ ],
+ [
+ -17149,
+ -12539,
+ 188,
+ 11297,
+ 345,
+ 336,
+ 5416,
+ 23441,
+ -6875,
+ 21766
+ ],
+ [
+ 18801,
+ 30212,
+ 27076,
+ 19541,
+ -16599,
+ 17976,
+ 15500,
+ -13796,
+ 11663,
+ -16190
+ ],
+ [
+ 1513,
+ 19447,
+ -20413,
+ -10686,
+ 19348,
+ -3029,
+ 30187,
+ -32247,
+ 14538,
+ 20591
+ ],
+ [
+ 27384,
+ -22495,
+ 31731,
+ -7060,
+ -9697,
+ -9468,
+ 9058,
+ 10439,
+ -1709,
+ -28113
+ ]
+ ],
+ [
+ [
+ 31891,
+ -18213,
+ -26621,
+ 6382,
+ -5743,
+ 7573,
+ 24611,
+ -26390,
+ -14153,
+ 1086
+ ],
+ [
+ 18860,
+ 6595,
+ -7682,
+ 7212,
+ 31455,
+ -1308,
+ 25135,
+ 18347,
+ -13021,
+ -16417
+ ],
+ [
+ 17707,
+ -19171,
+ -10692,
+ -17342,
+ 6970,
+ -13492,
+ 10386,
+ 28497,
+ 21600,
+ 29357
+ ],
+ [
+ -31166,
+ -2920,
+ -18340,
+ 27385,
+ 13888,
+ -11782,
+ 4163,
+ 6909,
+ -289,
+ -1681
+ ],
+ [
+ -29150,
+ -3116,
+ -9944,
+ 20856,
+ 23927,
+ 16411,
+ -30744,
+ 22362,
+ -6788,
+ -5481
+ ]
+ ],
+ [
+ [
+ 29173,
+ 24071,
+ -29434,
+ -9186,
+ 16364,
+ 2545,
+ -15886,
+ 1623,
+ 24026,
+ -18135
+ ],
+ [
+ 16126,
+ 15385,
+ 25277,
+ -13243,
+ -18618,
+ 3123,
+ 2050,
+ -5929,
+ 18302,
+ 19598
+ ],
+ [
+ -16666,
+ 19367,
+ -17646,
+ -6054,
+ -30987,
+ -10460,
+ 30049,
+ -3765,
+ 13763,
+ -25695
+ ],
+ [
+ 8884,
+ -8417,
+ 15990,
+ 28050,
+ 2071,
+ -26030,
+ -1565,
+ -24700,
+ -3308,
+ -28761
+ ],
+ [
+ 9203,
+ -12423,
+ -19561,
+ -31634,
+ 25431,
+ 22098,
+ 20431,
+ -28958,
+ -9859,
+ 30890
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/desc.json b/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/desc.json
@@ -0,0 +1,20 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0"
+ ],
+ "ifm_file": [
+ "input-0.npy"
+ ],
+ "ofm_name": [
+ "result-0"
+ ],
+ "ofm_file": [
+ "result-0.npy"
+ ],
+ "expected_return_code": 0,
+ "expected_failure": false,
+ "expected_result_file": [
+ "Conformance-result-0.npy"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/input-0.json b/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/input-0.json
new file mode 100644
index 000000000..d111f8d08
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/input-0.json
@@ -0,0 +1,425 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 25552,
+ -22261,
+ -12167,
+ -24367,
+ -6445,
+ 16318,
+ -15199,
+ 21115,
+ 6966,
+ 8449
+ ],
+ [
+ 28757,
+ -4467,
+ -10182,
+ 32411,
+ 3735,
+ 7510,
+ -13350,
+ -18650,
+ -21640,
+ -18117
+ ],
+ [
+ -19977,
+ 16169,
+ -28971,
+ 8479,
+ 29444,
+ 17403,
+ -6365,
+ -28875,
+ 21896,
+ -32562
+ ],
+ [
+ 11883,
+ 11203,
+ -20191,
+ 15720,
+ -21269,
+ -17980,
+ 20446,
+ 31400,
+ -15420,
+ 27612
+ ],
+ [
+ 27085,
+ 17655,
+ -23590,
+ -13146,
+ 11646,
+ 32716,
+ 20609,
+ -5226,
+ -17351,
+ 30168
+ ],
+ [
+ -14667,
+ -10341,
+ 30442,
+ 4041,
+ -15428,
+ -32418,
+ -4591,
+ 31850,
+ -4423,
+ 13076
+ ],
+ [
+ -16186,
+ 18062,
+ 18074,
+ 7097,
+ 17815,
+ 5165,
+ -7975,
+ 15589,
+ 21962,
+ 22351
+ ],
+ [
+ -18804,
+ 11573,
+ -32486,
+ 4718,
+ 4664,
+ -8946,
+ 32379,
+ 25097,
+ -30236,
+ -19082
+ ],
+ [
+ -19137,
+ 26054,
+ 1239,
+ 14999,
+ 20312,
+ 17538,
+ -26933,
+ -23572,
+ -6866,
+ -10593
+ ],
+ [
+ 16192,
+ -22529,
+ -8419,
+ -17264,
+ -20393,
+ -21444,
+ -19956,
+ 4218,
+ -5896,
+ -4241
+ ],
+ [
+ -1349,
+ 15798,
+ 23711,
+ 1732,
+ 9322,
+ 15634,
+ 12478,
+ -23969,
+ 31653,
+ -21967
+ ],
+ [
+ -5778,
+ 10000,
+ -6334,
+ -16835,
+ 27744,
+ -28081,
+ -16655,
+ 32309,
+ 15061,
+ -27068
+ ],
+ [
+ 16683,
+ 30769,
+ -26360,
+ -5633,
+ -2082,
+ -24182,
+ -19624,
+ -21381,
+ -20620,
+ -6323
+ ],
+ [
+ -2371,
+ -17172,
+ -13800,
+ -20170,
+ 19402,
+ -18891,
+ 26712,
+ 2546,
+ 19839,
+ 8938
+ ],
+ [
+ -15334,
+ 6642,
+ -14803,
+ -24999,
+ -16075,
+ -14704,
+ -23919,
+ -31221,
+ 29084,
+ 879
+ ],
+ [
+ -6420,
+ 28177,
+ -18043,
+ -6366,
+ 22719,
+ 8652,
+ -6607,
+ -16003,
+ -30467,
+ -27194
+ ],
+ [
+ -22155,
+ 18783,
+ 9125,
+ -4361,
+ 18540,
+ -22232,
+ -18945,
+ -7031,
+ 27354,
+ 7486
+ ],
+ [
+ 23002,
+ -16505,
+ 22831,
+ -28018,
+ -17848,
+ 1508,
+ -29457,
+ 23479,
+ 24079,
+ 2717
+ ],
+ [
+ -12728,
+ -26283,
+ 7793,
+ 2468,
+ 17037,
+ 6719,
+ -24361,
+ -24789,
+ 18405,
+ -22347
+ ],
+ [
+ 28738,
+ -25825,
+ 14966,
+ 31144,
+ -3853,
+ -29052,
+ 24685,
+ -20493,
+ 1799,
+ 31754
+ ],
+ [
+ 16041,
+ -29733,
+ 21004,
+ -22201,
+ 16341,
+ 7926,
+ -13904,
+ -5007,
+ -25045,
+ 31901
+ ],
+ [
+ -17149,
+ -12539,
+ 188,
+ 11297,
+ 345,
+ 336,
+ 5416,
+ 23441,
+ -6875,
+ 21766
+ ],
+ [
+ 18801,
+ 30212,
+ 27076,
+ 19541,
+ -16599,
+ 17976,
+ 15500,
+ -13796,
+ 11663,
+ -16190
+ ],
+ [
+ 1513,
+ 19447,
+ -20413,
+ -10686,
+ 19348,
+ -3029,
+ 30187,
+ -32247,
+ 14538,
+ 20591
+ ],
+ [
+ 27384,
+ -22495,
+ 31731,
+ -7060,
+ -9697,
+ -9468,
+ 9058,
+ 10439,
+ -1709,
+ -28113
+ ],
+ [
+ 31891,
+ -18213,
+ -26621,
+ 6382,
+ -5743,
+ 7573,
+ 24611,
+ -26390,
+ -14153,
+ 1086
+ ],
+ [
+ 18860,
+ 6595,
+ -7682,
+ 7212,
+ 31455,
+ -1308,
+ 25135,
+ 18347,
+ -13021,
+ -16417
+ ],
+ [
+ 17707,
+ -19171,
+ -10692,
+ -17342,
+ 6970,
+ -13492,
+ 10386,
+ 28497,
+ 21600,
+ 29357
+ ],
+ [
+ -31166,
+ -2920,
+ -18340,
+ 27385,
+ 13888,
+ -11782,
+ 4163,
+ 6909,
+ -289,
+ -1681
+ ],
+ [
+ -29150,
+ -3116,
+ -9944,
+ 20856,
+ 23927,
+ 16411,
+ -30744,
+ 22362,
+ -6788,
+ -5481
+ ],
+ [
+ 29173,
+ 24071,
+ -29434,
+ -9186,
+ 16364,
+ 2545,
+ -15886,
+ 1623,
+ 24026,
+ -18135
+ ],
+ [
+ 16126,
+ 15385,
+ 25277,
+ -13243,
+ -18618,
+ 3123,
+ 2050,
+ -5929,
+ 18302,
+ 19598
+ ],
+ [
+ -16666,
+ 19367,
+ -17646,
+ -6054,
+ -30987,
+ -10460,
+ 30049,
+ -3765,
+ 13763,
+ -25695
+ ],
+ [
+ 8884,
+ -8417,
+ 15990,
+ 28050,
+ 2071,
+ -26030,
+ -1565,
+ -24700,
+ -3308,
+ -28761
+ ],
+ [
+ 9203,
+ -12423,
+ -19561,
+ -31634,
+ 25431,
+ 22098,
+ 20431,
+ -28958,
+ -9859,
+ 30890
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/test.json b/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/test.json
new file mode 100644
index 000000000..5ad6e8302
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/test.json
@@ -0,0 +1,57 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESHAPE",
+ attribute_type: "ReshapeAttribute",
+ attribute: {
+ new_shape: [
+ 7,
+ 5,
+ 10
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 35,
+ 10
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 7,
+ 5,
+ 10
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}