diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:02 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:02 +0100 |
commit | db1aa636f391b107575a789430cb0410911fa8cc (patch) | |
tree | 50b687489153cc62ae65e662651ef8a1e031982b /operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32 | |
parent | 71c1895595e51da557bd73366bf5f27a8f6b3ffb (diff) | |
download | conformance_tests-db1aa636f391b107575a789430cb0410911fa8cc.tar.gz |
Updating EQUAL tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I284a26c6a30a61662562c4081cdfe808773cc694
Diffstat (limited to 'operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32')
4 files changed, 376 insertions, 0 deletions
diff --git a/operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32/desc.json b/operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32/desc.json new file mode 100644 index 000000000..67ab4225d --- /dev/null +++ b/operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_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": "Op output list does not match expected output" +}
\ No newline at end of file diff --git a/operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32/input-0.json b/operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32/input-0.json new file mode 100644 index 000000000..a783c4de4 --- /dev/null +++ b/operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32/input-0.json @@ -0,0 +1,278 @@ +{ + "type": "int32", + "data": [ + [ + 308020515, + 1614487601, + 860552165, + 749268659, + -902621097, + 768535805, + 1404069205, + -1496045921, + 2101107336, + 763472490, + -147674540 + ], + [ + 1212830618, + -754135558, + 1839930818, + 1932204309, + 263160369, + 545346968, + 704747418, + 1557793905, + -1205504059, + -1138482548, + -958591003 + ], + [ + -307365997, + -1415707042, + 1843632080, + -2119822271, + -618250638, + 1504403733, + 1069931235, + 1001221217, + 404459996, + 1940944697, + -1059400677 + ], + [ + 1881546790, + -1266775604, + 1389361713, + 1406761522, + 1212859734, + 315731329, + 748079252, + 117784416, + -393501959, + 131984755, + -1472930937 + ], + [ + 277527543, + 731530800, + -1360540228, + -2080103912, + 163960499, + 324148858, + -1410024931, + 548350030, + 313822986, + -899284950, + -1479482272 + ], + [ + 1282700774, + -669692648, + 759495467, + 839011891, + 73041957, + -411680317, + 981186646, + -481097632, + -1381099569, + 506211752, + 1892398624 + ], + [ + -1643193044, + -992398873, + -346475268, + 1323047722, + -288912199, + 885163759, + 607249858, + 131802517, + -1472460280, + 1887522596, + 405145002 + ], + [ + 1750337936, + 1118221648, + 1128219276, + 1252422910, + -1770022057, + -2081446485, + -808513423, + 1881649550, + -1362244784, + -1568706541, + 2090564047 + ], + [ + -1463886906, + -1939114718, + -1186413420, + -738304394, + -1671361927, + 967430007, + 1759664422, + 1344127705, + 549506927, + 47275960, + 1973804149 + ], + [ + 1304127770, + 430600473, + 1532261103, + -406914171, + -1988441918, + 2127807763, + 1620325145, + -1582821158, + 798957064, + -630291202, + 1224317218 + ], + [ + -281206727, + 838701250, + 1846566848, + 555688925, + 872872179, + -637832333, + -1180639858, + 713152897, + -1241611257, + -320541533, + -1260012291 + ], + [ + 746083941, + -531393800, + -1499115064, + 641677129, + -736852504, + 357486658, + -178595569, + 84597849, + 117166228, + -676988852, + -1398208515 + ], + [ + -864163341, + -1939689203, + 1371758320, + -765973144, + 449173808, + 691209525, + 1938819971, + 411861062, + -1742383559, + -2010816255, + 358759412 + ], + [ + -1926952719, + 733657120, + -1580855445, + -1593878169, + -135703928, + -2062322108, + -1446357678, + 270765666, + -1399998513, + 1180843048, + -403542355 + ], + [ + -812310921, + -1171812415, + -1185972502, + 1240632723, + 1987042964, + -570592253, + 788893289, + 1566558920, + -1509787326, + -745885313, + 1444442560 + ], + [ + 1629671127, + -1786301007, + -359717396, + -1928231351, + 1705635236, + -1742328048, + -2024815371, + 2016437661, + 341364142, + 1299557848, + -1820869095 + ], + [ + 2042368947, + -373579645, + 1750751148, + 868616294, + -1780681288, + 917502251, + -875973069, + -1863009467, + 1660042436, + -214018122, + -1295478054 + ], + [ + -1552852472, + 999967364, + -1901755457, + 2089722268, + 1812182173, + 2116045223, + 1152534122, + 1856592405, + -938443629, + -1406941155, + -1191617730 + ], + [ + -2083491862, + 1476158607, + -1385657172, + -1141313644, + -751618899, + -1750729875, + 902775112, + 662250983, + -641715791, + 516099415, + 649518526 + ], + [ + -1711579633, + -1016313255, + -611605175, + -1915040258, + 1279566830, + -1430346504, + 889593638, + 1588425249, + -1580131259, + 406523602, + -252154514 + ], + [ + 174685735, + -1866043127, + -1907831071, + -931349263, + 1808972165, + -1060376916, + -660550604, + -2047001181, + 82967688, + 1253545236, + 572125808 + ] + ] +}
\ No newline at end of file diff --git a/operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32/input-1.json b/operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32/input-1.json new file mode 100644 index 000000000..a51280d83 --- /dev/null +++ b/operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32/input-1.json @@ -0,0 +1,18 @@ +{ + "type": "int32", + "data": [ + [ + -1607241610, + 189567582, + -899534748, + 1642000439, + 2138022752, + 630884212, + -1345822291, + -960583877, + -1836306127, + -175628526, + -690265318 + ] + ] +}
\ No newline at end of file diff --git a/operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32/test.json b/operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32/test.json new file mode 100644 index 000000000..e8793a8d4 --- /dev/null +++ b/operators/comparison/equal/equal_ERRORIF_WrongOutputList_21x11_i32/test.json @@ -0,0 +1,60 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "EQUAL", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 21, + 11 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 21, + 11 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |