aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:35 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:35 +0100
commit2dc099cf781cc8e0aeae5e0e34a707c66f1c8c98 (patch)
treec35cd33501bcda69665850d66dd4cc9d6e77282d /operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32
parentd53378c6e205afdc2a538ac438ecc717ccc2718c (diff)
downloadconformance_tests-2dc099cf781cc8e0aeae5e0e34a707c66f1c8c98.tar.gz
Updating BITWISE_XOR tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Idcf196641a1ed84b4acc1d8d1bccf70840c4b1d1
Diffstat (limited to 'operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32')
-rw-r--r--operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/desc.json20
-rw-r--r--operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/input-0.json18
-rw-r--r--operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/input-1.json473
-rw-r--r--operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/test.json57
4 files changed, 568 insertions, 0 deletions
diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/desc.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/desc.json
new file mode 100644
index 000000000..632843f0a
--- /dev/null
+++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/desc.json
@@ -0,0 +1,20 @@
+{
+ "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": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "Input Rank does not match output rank"
+} \ No newline at end of file
diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/input-0.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/input-0.json
new file mode 100644
index 000000000..bfb671052
--- /dev/null
+++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/input-0.json
@@ -0,0 +1,18 @@
+{
+ "type": "int32",
+ "data": [
+ -435582873,
+ 1644190310,
+ -1803862866,
+ 423266136,
+ -2064313807,
+ -1356408350,
+ -2085634807,
+ -1768909636,
+ 2073277284,
+ -1955716798,
+ 1764354462,
+ -1969476572,
+ 275847940
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/input-1.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/input-1.json
new file mode 100644
index 000000000..9a42edb92
--- /dev/null
+++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/input-1.json
@@ -0,0 +1,473 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 1361408309,
+ 1307722569,
+ -1579799347,
+ 608290304,
+ 1661216856,
+ 892097860,
+ -886085361,
+ -2900306,
+ 2115780354,
+ -1816801540,
+ -267618256,
+ -829569942,
+ -1499051257,
+ -257257770,
+ -1170021315,
+ 437044420,
+ -1229735037,
+ -655120593,
+ -1448898994,
+ -115897249,
+ 1271253849,
+ 749282563,
+ -1533571732,
+ 63992465,
+ -64156257,
+ -687954052,
+ 1377445799,
+ 523423128,
+ 443226346,
+ -628771492,
+ 1076817936,
+ 1282775343,
+ -1678245675,
+ 917741917
+ ],
+ [
+ 1409613383,
+ -338143999,
+ 420158264,
+ 1829637463,
+ -2128176147,
+ 572206872,
+ 1387370736,
+ -1048379072,
+ 673973882,
+ 258956677,
+ -2079762081,
+ -1914850254,
+ 1230699181,
+ -237170922,
+ 2093418196,
+ 1425423858,
+ 643344288,
+ -386878393,
+ 1489002696,
+ -1243724187,
+ 1546519624,
+ -231947090,
+ 2127989788,
+ 574563981,
+ -1057147579,
+ 247698025,
+ -93359264,
+ -649259140,
+ -431542015,
+ 418682397,
+ 858835376,
+ -1360154503,
+ 577564956,
+ -827306766
+ ],
+ [
+ -196005680,
+ -1653290645,
+ 1846038160,
+ 1659483135,
+ 1729712062,
+ -254901667,
+ -1587905009,
+ -769581575,
+ -195992200,
+ -1630048147,
+ -2118024757,
+ 1428886526,
+ 380361881,
+ -796448465,
+ 1559267631,
+ -535727682,
+ 537492609,
+ 2098703351,
+ -772663608,
+ 153059353,
+ 1795514779,
+ -1890454037,
+ 1525723662,
+ -926656163,
+ 1639998347,
+ 535573534,
+ 1029614426,
+ -1323941226,
+ -1775813507,
+ 91535065,
+ 357655864,
+ -1152055877,
+ 238512057,
+ -699214040
+ ],
+ [
+ 1852495767,
+ -415898220,
+ 1295767118,
+ -1441618393,
+ -1095239387,
+ 1030233342,
+ 1106077805,
+ 733354839,
+ -532322136,
+ 2110516610,
+ -515136174,
+ -1659250512,
+ 1772378479,
+ 202072418,
+ -1803326776,
+ -1830895407,
+ -1417182075,
+ 1025001529,
+ -367078583,
+ -1169416526,
+ -241707117,
+ 551002466,
+ 1755007632,
+ 1430200861,
+ 571771984,
+ -1702132047,
+ 310653775,
+ 1444809604,
+ 932647030,
+ -454346535,
+ -1863326487,
+ 2068464969,
+ 119456519,
+ -1301597044
+ ],
+ [
+ 796763551,
+ 638867506,
+ 1516296583,
+ -1464109212,
+ -2076775059,
+ 1108490754,
+ -1010676570,
+ 267052467,
+ -1230765539,
+ -742276676,
+ 1557178025,
+ -2013497835,
+ -454912830,
+ -676576066,
+ 1925026716,
+ 1491175853,
+ 1125127622,
+ -475410470,
+ 1556558723,
+ -1191193325,
+ 1450338014,
+ 459038640,
+ -1469227134,
+ -1390888152,
+ -1936669801,
+ 1985520505,
+ 368637645,
+ -1700422825,
+ -1838474247,
+ -1524067859,
+ 305068088,
+ -2089329958,
+ -1132607015,
+ 1943075061
+ ],
+ [
+ 1925093726,
+ 1408568727,
+ -233225557,
+ -556832024,
+ 547341618,
+ -1668670181,
+ 415072661,
+ -1701641979,
+ 1817484137,
+ -1250540012,
+ 1384565100,
+ -1813699060,
+ 1254370479,
+ 1920073373,
+ -770458736,
+ -1388360431,
+ -650033739,
+ 141953188,
+ -532963355,
+ -1535090711,
+ -553155252,
+ 1223016693,
+ 1640690852,
+ 1840634335,
+ -66303284,
+ -256557312,
+ 710529482,
+ 166558341,
+ -1175657263,
+ 1865551985,
+ 2091037164,
+ 294278004,
+ 1982019998,
+ -913065788
+ ],
+ [
+ 446414641,
+ 1346161851,
+ 1807100942,
+ 390464534,
+ 1435318405,
+ 235365251,
+ -1746869214,
+ 901429472,
+ 2018499215,
+ 70300834,
+ -853131876,
+ -2018690219,
+ -1268623828,
+ -306099225,
+ 2106742344,
+ -431991441,
+ -1707771773,
+ 1671587405,
+ 607889374,
+ 1062076679,
+ 1858005499,
+ 2002939019,
+ 2109377235,
+ 1136068926,
+ 1604337697,
+ 63061116,
+ 1719939868,
+ 2019355223,
+ -90452306,
+ -937090113,
+ 1961130487,
+ 1305092161,
+ -1313220436,
+ -1282935548
+ ],
+ [
+ -1051291807,
+ 1233436958,
+ -1242978846,
+ -587810560,
+ 838280940,
+ -894674798,
+ -2000373094,
+ 1568344866,
+ -1181862649,
+ 1725952783,
+ -205666996,
+ -337704833,
+ -581603908,
+ -2012145353,
+ -2131096701,
+ 421106690,
+ -1154463039,
+ -717853475,
+ -1917542334,
+ 765477590,
+ -1147005017,
+ -2023377283,
+ 59970780,
+ -896335065,
+ -594138241,
+ 890771145,
+ 1395724076,
+ 1152360685,
+ -522555670,
+ -1607563795,
+ -432046446,
+ -1351964773,
+ -794397721,
+ 2029382469
+ ],
+ [
+ -1474930840,
+ -1662599551,
+ -1280252061,
+ -532601501,
+ 1834297672,
+ -75181337,
+ 35834692,
+ -1508550668,
+ 1770421952,
+ 1381483173,
+ 424946430,
+ -1226078296,
+ -667931099,
+ 295832381,
+ 2101053667,
+ 424452434,
+ -1858347615,
+ -1730964994,
+ 1822463135,
+ 899217018,
+ -347872658,
+ 1993864386,
+ 1252681327,
+ -189802885,
+ 1304617304,
+ -2078086531,
+ -829865965,
+ 1104164829,
+ -1807925926,
+ -1758922206,
+ 1237393111,
+ 841040003,
+ 1012296642,
+ 1977663985
+ ],
+ [
+ -1006938258,
+ -2050324885,
+ 1488642210,
+ 45833476,
+ 227178223,
+ 1331850567,
+ 1131908369,
+ 839934844,
+ -106791329,
+ -419036911,
+ -1751462688,
+ 1833726638,
+ -1778998981,
+ 1518754193,
+ 743946807,
+ -650272077,
+ 2143102107,
+ -229153505,
+ 1181779762,
+ -397912390,
+ -169433001,
+ 1790510762,
+ 1613634881,
+ -253366292,
+ -61123686,
+ -1916016285,
+ 290846248,
+ 2014012733,
+ -712678350,
+ -661496438,
+ 767767542,
+ -121661483,
+ 299863563,
+ -818753616
+ ],
+ [
+ 1891544175,
+ -525885185,
+ -447271317,
+ 2112266995,
+ -31528421,
+ 1017736714,
+ -1403711115,
+ -940082755,
+ 1167633338,
+ -978017291,
+ 2075049271,
+ -1770616608,
+ 2054224722,
+ 777786461,
+ -96945578,
+ -1456414282,
+ 126647360,
+ -491459044,
+ -860828887,
+ 357967119,
+ 2021544694,
+ 852517721,
+ -1651425608,
+ 2025878434,
+ 1193727665,
+ 1178552995,
+ 258267539,
+ -1867214123,
+ 624079865,
+ 495198207,
+ 568825272,
+ -531043231,
+ -273292313,
+ 239590843
+ ],
+ [
+ 87403926,
+ 1360426188,
+ 848097154,
+ 8430491,
+ 1937254603,
+ -1377424540,
+ -393474818,
+ -938926996,
+ -232628520,
+ -1392434526,
+ -1393272400,
+ 560389022,
+ 744075958,
+ -57220120,
+ 1796188160,
+ -121364805,
+ 139000598,
+ -1194425724,
+ -1118179612,
+ 85896794,
+ -158661924,
+ -905645191,
+ -110374048,
+ -1026829031,
+ -1128167650,
+ -645676578,
+ 246415144,
+ 522023038,
+ 499733231,
+ 248823189,
+ -1054144433,
+ 1445640,
+ -199043849,
+ 1610115679
+ ],
+ [
+ 648862113,
+ -248050011,
+ 1751755946,
+ 862418187,
+ -1763061119,
+ -2049839996,
+ 1707508069,
+ 51257462,
+ -1573755480,
+ -1578683236,
+ -28111724,
+ -461361633,
+ 1633834910,
+ 144538691,
+ 1804318427,
+ -1320339530,
+ 1248578804,
+ -1848036064,
+ -1745462593,
+ -1484332505,
+ -796334829,
+ -500416620,
+ -1318192488,
+ -1902566723,
+ 89576851,
+ -1764906063,
+ -468885213,
+ -820568928,
+ 1797731241,
+ -1656750644,
+ -1121034661,
+ 1904449707,
+ 1493665680,
+ 1440594355
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/test.json
new file mode 100644
index 000000000..9761753c5
--- /dev/null
+++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_13_i32/test.json
@@ -0,0 +1,57 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "BITWISE_XOR",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 13
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 13,
+ 34
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 13
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}