diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:21 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:21 +0100 |
commit | 4cc1201dde80193611cc8e14a7886aba96a3da09 (patch) | |
tree | 7911391452d9fe7c90f1756d9379c7d69a526669 /operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32 | |
parent | cf8989f6250721418177c5b78cdedb7b6c56f74d (diff) | |
download | conformance_tests-4cc1201dde80193611cc8e14a7886aba96a3da09.tar.gz |
Updating EW_BINARY tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ia7139c9720b6e2bbaa6b2dcc4c7367aa07135f4e
Diffstat (limited to 'operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32')
4 files changed, 385 insertions, 0 deletions
diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32/desc.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32/desc.json new file mode 100644 index 000000000..a4740efbc --- /dev/null +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32/desc.json @@ -0,0 +1,24 @@ +{ + "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 input list does not match expected input", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32/input-0.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32/input-0.json new file mode 100644 index 000000000..9b182892e --- /dev/null +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32/input-0.json @@ -0,0 +1,221 @@ +{ + "type": "int32", + "data": [ + [ + [ + -2113848080, + -307957719, + -1865450393, + -1464959801, + 901151720, + -1229384633, + -436548322, + 1946640024, + 24434592 + ], + [ + -1554807875, + -1953329510, + -416866437, + 1710821296, + -1986871355, + 1741137816, + -104939115, + 438547693, + 198519035 + ] + ], + [ + [ + -101816264, + -809416051, + -456768269, + 987774470, + -1297675473, + 1274609373, + 1888566211, + 10349044, + -45897028 + ], + [ + 1317278443, + -1683350119, + 1193818599, + 1257340974, + -672421050, + 2026554183, + -12976185, + -934516277, + -1053993285 + ] + ], + [ + [ + 803743863, + 1825286865, + 2133846775, + 1723498147, + -1654093475, + 949063983, + 1342675851, + -1207384152, + -7130364 + ], + [ + -1921880758, + 727185391, + 425676145, + -1371265136, + -1388380206, + -1211353784, + 562946653, + 240638035, + 70514239 + ] + ], + [ + [ + -1071561444, + 1246136337, + 415550848, + -836802503, + -1770802454, + 1527439599, + 1210882580, + -848130301, + -970778582 + ], + [ + 2025795241, + 1017911487, + -1526789749, + -1447289067, + 139155851, + 1286569798, + -1919130676, + -2089477160, + 458560630 + ] + ], + [ + [ + -1413857804, + 242580528, + -696293882, + 1490290543, + 1202293457, + -1560147113, + -2011311752, + -312737682, + 1032101328 + ], + [ + -51085960, + -1136705768, + -1952006924, + 2133066195, + 1667655990, + -915378494, + -40513197, + -1521524401, + -466632675 + ] + ], + [ + [ + 787100160, + 557736678, + -959202971, + -642973247, + 172770431, + 108084403, + 1168797018, + -44402212, + 1288137691 + ], + [ + -1016366308, + -1199788042, + 1946457054, + -1246506708, + 1378211360, + -982097285, + -1702361789, + -452230103, + -1718268476 + ] + ], + [ + [ + 1060725963, + 2113595840, + 180479472, + 2045763864, + 1631544230, + 1939995253, + 852586595, + -697451666, + 486544796 + ], + [ + -1031041624, + 88663941, + 1125310975, + -375232690, + -75166163, + -661788054, + -1844572268, + -1396278739, + -1434047748 + ] + ], + [ + [ + -987364454, + -1876428901, + 1722177223, + 1231294959, + 1415008041, + 212154807, + -2128174043, + -1453819526, + -1185225440 + ], + [ + 1007994595, + 1319767710, + 777893102, + 367485060, + -576787389, + -1841335761, + -1144986261, + 1320388666, + 480076832 + ] + ], + [ + [ + 1088251149, + 1770765895, + -937995551, + 444489798, + 1047587655, + 1135032254, + 1660988768, + 1837368537, + 632240518 + ], + [ + 1489609633, + 1046497467, + -832030193, + -1937078779, + 1759019409, + 279487607, + 191273080, + 1089261160, + -1587137672 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32/input-1.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32/input-1.json new file mode 100644 index 000000000..e69eefb3b --- /dev/null +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32/input-1.json @@ -0,0 +1,77 @@ +{ + "type": "int32", + "data": [ + [ + [ + -160636351 + ], + [ + 1010102429 + ] + ], + [ + [ + -409853857 + ], + [ + 813984856 + ] + ], + [ + [ + 270487359 + ], + [ + -573371123 + ] + ], + [ + [ + 750840451 + ], + [ + -196865651 + ] + ], + [ + [ + 1359927116 + ], + [ + -1888651714 + ] + ], + [ + [ + 1358738028 + ], + [ + 1139928806 + ] + ], + [ + [ + 872151586 + ], + [ + -1015635758 + ] + ], + [ + [ + 2077060183 + ], + [ + 655181405 + ] + ], + [ + [ + 163446696 + ], + [ + -1131752951 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32/test.json new file mode 100644 index 000000000..766c80ca0 --- /dev/null +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_9x2x9_i32/test.json @@ -0,0 +1,63 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 9, + 2, + 9 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 9, + 2, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 9, + 2, + 9 + ], + type: "INT32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |