diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-03-01 12:24:20 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-03-02 16:15:56 +0000 |
commit | fde43724c4e354634566f93fa60d21048c1b7888 (patch) | |
tree | 36f7c9c934a4e02dc83b2e7c3417581b48b866bf /operators/data_layout/slice/slice_ERRORIF_WrongInputList_10x14x2_i32_perm0 | |
parent | 43f13e903970bc660d31c0f791007d13587e1c4d (diff) | |
download | conformance_tests-fde43724c4e354634566f93fa60d21048c1b7888.tar.gz |
Regen DATA LAYOUT tests for test gen improvements
PAD, SLICE, TILE and TRANSPOSE have improved ERROR IF tests.
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Id514aaff48d9710552fa8de27ff2045ff4107764
Diffstat (limited to 'operators/data_layout/slice/slice_ERRORIF_WrongInputList_10x14x2_i32_perm0')
3 files changed, 675 insertions, 0 deletions
diff --git a/operators/data_layout/slice/slice_ERRORIF_WrongInputList_10x14x2_i32_perm0/desc.json b/operators/data_layout/slice/slice_ERRORIF_WrongInputList_10x14x2_i32_perm0/desc.json new file mode 100644 index 000000000..bf7c1974a --- /dev/null +++ b/operators/data_layout/slice/slice_ERRORIF_WrongInputList_10x14x2_i32_perm0/desc.json @@ -0,0 +1,22 @@ +{ + "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": 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/data_layout/slice/slice_ERRORIF_WrongInputList_10x14x2_i32_perm0/input-0.json b/operators/data_layout/slice/slice_ERRORIF_WrongInputList_10x14x2_i32_perm0/input-0.json new file mode 100644 index 000000000..e249b9eb4 --- /dev/null +++ b/operators/data_layout/slice/slice_ERRORIF_WrongInputList_10x14x2_i32_perm0/input-0.json @@ -0,0 +1,585 @@ +{ + "type": "int32", + "data": [ + [ + [ + -1077094750, + 339245055 + ], + [ + -1239769976, + 1468568162 + ], + [ + 700134873, + 1361944593 + ], + [ + -83592680, + 1330103518 + ], + [ + -1691906910, + -298659330 + ], + [ + 522825544, + -59709170 + ], + [ + 1042403755, + -1806240595 + ], + [ + 1293536231, + -1398552050 + ], + [ + -1608124942, + -252622845 + ], + [ + 1286726348, + -811586598 + ], + [ + 1447974967, + -1111833464 + ], + [ + 1247695246, + -1504082996 + ], + [ + 822752218, + 1088569421 + ], + [ + -1692699796, + 1334783480 + ] + ], + [ + [ + 532732134, + -38607925 + ], + [ + 1759410967, + 1396135969 + ], + [ + -587119212, + 1780281503 + ], + [ + 1654739725, + -1493020661 + ], + [ + 576779713, + 1420603528 + ], + [ + -1594137521, + -2028190301 + ], + [ + 1118109830, + -1661777607 + ], + [ + -771086066, + -381320935 + ], + [ + 1547817679, + 734379404 + ], + [ + -952181300, + -46224000 + ], + [ + -109705362, + -1248995019 + ], + [ + -191733063, + 563354495 + ], + [ + -1586302025, + 1583818356 + ], + [ + 803201065, + 1267384446 + ] + ], + [ + [ + 101796128, + -873146089 + ], + [ + 961111143, + 1726911633 + ], + [ + -1439475225, + -487158858 + ], + [ + 1848428324, + 1712663917 + ], + [ + 1558598651, + -1703168242 + ], + [ + -1597817386, + 1870036320 + ], + [ + 1567501841, + -652421448 + ], + [ + -826084366, + -261505655 + ], + [ + -2115960469, + 1451581681 + ], + [ + 1617452322, + 814650314 + ], + [ + -1383593700, + 236535729 + ], + [ + -366187885, + 767525223 + ], + [ + -1904695707, + 90994426 + ], + [ + 1289923579, + -2034705813 + ] + ], + [ + [ + 1955464661, + -127369237 + ], + [ + -1962406145, + 449148222 + ], + [ + 785092632, + -1583094712 + ], + [ + -99291579, + -1177621958 + ], + [ + 1780236277, + -1162704110 + ], + [ + -1630220475, + 176074292 + ], + [ + 1755728649, + -1179018403 + ], + [ + 1685032204, + -1171101308 + ], + [ + 1808557749, + -320159340 + ], + [ + -417394908, + 1238372115 + ], + [ + -51891800, + -947226879 + ], + [ + -526308035, + -1067040447 + ], + [ + -223898546, + 11343303 + ], + [ + 800012151, + -632993292 + ] + ], + [ + [ + -996171702, + 2065330842 + ], + [ + 1389467482, + 1316277503 + ], + [ + -619814629, + -465071296 + ], + [ + 754183812, + -1633196265 + ], + [ + 2012185600, + -1211670192 + ], + [ + -1145682785, + 1217024983 + ], + [ + -952868882, + -184870610 + ], + [ + 1922667273, + -1308439688 + ], + [ + -1688513214, + 536434325 + ], + [ + -1998207245, + 598904194 + ], + [ + -1105519888, + -733359871 + ], + [ + -472226436, + -1528570270 + ], + [ + 1722228366, + 274071062 + ], + [ + -627084662, + 274001729 + ] + ], + [ + [ + -770357443, + -184885408 + ], + [ + -1530949914, + 2018116123 + ], + [ + 1196530202, + -770895343 + ], + [ + 198447436, + 12041057 + ], + [ + -1886109766, + 581441216 + ], + [ + 81079252, + 818375357 + ], + [ + -1097529544, + 1483233222 + ], + [ + 1027865954, + -1198959198 + ], + [ + 271818984, + 1556271222 + ], + [ + -2023271334, + -1712529343 + ], + [ + 1386661303, + -1868850018 + ], + [ + -589754702, + 1593815158 + ], + [ + 1156506839, + -751213464 + ], + [ + 350346140, + 1272978415 + ] + ], + [ + [ + -434895630, + 1177018589 + ], + [ + 1463620502, + 753637480 + ], + [ + 781976715, + -1268928604 + ], + [ + 1451450452, + -323575196 + ], + [ + 162147111, + 1328691994 + ], + [ + -793666170, + -1725951292 + ], + [ + -2079079067, + 25679810 + ], + [ + 251075276, + -1487599109 + ], + [ + 433383560, + -1708410370 + ], + [ + 517688908, + -251409152 + ], + [ + 2114442935, + -818055194 + ], + [ + 1240243553, + 1377783787 + ], + [ + 1885166032, + -51695337 + ], + [ + 27373480, + 1035374158 + ] + ], + [ + [ + 32051508, + 692914182 + ], + [ + -176441512, + 1938336246 + ], + [ + 2099976576, + -1030699934 + ], + [ + -1588705032, + 1206012519 + ], + [ + -1317500842, + -1341646975 + ], + [ + 1436394476, + 1555992546 + ], + [ + -1901357844, + 1604226855 + ], + [ + 2103389207, + 1363351225 + ], + [ + -1179076599, + -768712549 + ], + [ + 596213027, + -1517332806 + ], + [ + 1403432196, + 1474237438 + ], + [ + 1502259840, + 384737673 + ], + [ + 1849294227, + -223295113 + ], + [ + -595390410, + -375319322 + ] + ], + [ + [ + -1051438418, + -1712260733 + ], + [ + -112415682, + 631170159 + ], + [ + 1206215418, + 89360656 + ], + [ + 2093827521, + 1981176402 + ], + [ + -1502362428, + 751894236 + ], + [ + 591585289, + 1999871452 + ], + [ + 1447056674, + -1546871639 + ], + [ + -1250475387, + 783806429 + ], + [ + -1031679533, + 1349841346 + ], + [ + 218053312, + 477375777 + ], + [ + 1511227643, + 493285132 + ], + [ + 429214179, + -1478503166 + ], + [ + 1533078724, + -767872354 + ], + [ + -947130913, + 569301405 + ] + ], + [ + [ + -1583807099, + -115926911 + ], + [ + 671212145, + 1559221213 + ], + [ + -1179904675, + 1190950308 + ], + [ + 1293429968, + 150058841 + ], + [ + 1614072523, + 480514162 + ], + [ + -955632952, + 671579163 + ], + [ + 513681956, + 666649580 + ], + [ + -1461314154, + 842151044 + ], + [ + 1529451313, + -12121683 + ], + [ + 34117129, + -1615720618 + ], + [ + -756261182, + 1954825764 + ], + [ + 1774540088, + -2076807606 + ], + [ + 698507765, + -2076264880 + ], + [ + 739224675, + 1882949299 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/slice/slice_ERRORIF_WrongInputList_10x14x2_i32_perm0/test.json b/operators/data_layout/slice/slice_ERRORIF_WrongInputList_10x14x2_i32_perm0/test.json new file mode 100644 index 000000000..33a601a07 --- /dev/null +++ b/operators/data_layout/slice/slice_ERRORIF_WrongInputList_10x14x2_i32_perm0/test.json @@ -0,0 +1,68 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "SLICE", + attribute_type: "SliceAttribute", + attribute: { + start: [ + 2, + 11, + 0 + ], + size: [ + 4, + 1, + 1 + ] + }, + inputs: [ + + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 14, + 2 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 4, + 1, + 1 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |