From 4cc1201dde80193611cc8e14a7886aba96a3da09 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 12:50:21 +0100 Subject: Updating EW_BINARY tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: Ia7139c9720b6e2bbaa6b2dcc4c7367aa07135f4e --- .../desc.json | 24 -- .../input-0.json | 285 ------------------- .../input-1.json | 305 --------------------- .../test.json | 59 ---- 4 files changed, 673 deletions(-) delete mode 100644 operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/desc.json delete mode 100644 operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/input-0.json delete mode 100644 operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/input-1.json delete mode 100644 operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/test.json (limited to 'operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32') diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/desc.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/desc.json deleted file mode 100644 index 9b2042e49..000000000 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/desc.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "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 Dimensions do not match output", - "profile": [ - "tosa-bi", - "tosa-mi" - ] -} \ No newline at end of file diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/input-0.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/input-0.json deleted file mode 100644 index 4adc3180e..000000000 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/input-0.json +++ /dev/null @@ -1,285 +0,0 @@ -{ - "type": "int32", - "data": [ - [ - 1903297543, - -890784364, - 900365147, - 434577071, - -916351071, - -2012251493, - 971563592, - -1124177918, - 2123447599, - 957407938, - -1757042595, - 2057845885, - -854421969, - 836712753, - -650858064, - -2084027015, - -367668564, - 2089827975 - ], - [ - -1836331416, - 1059066624, - -1581793506, - -781914399, - -661129174, - 1295981926, - -1014453472, - 1383753723, - -302837932, - 739478003, - -1888135787, - -390521210, - 632507920, - 377089084, - 582968606, - 1164448900, - -1181949015, - 1713608940 - ], - [ - 1311069944, - -382558674, - -918560455, - 1327150740, - -376396651, - 2082102806, - 618366529, - -641702513, - -161123109, - 204946255, - 843870286, - -275089143, - -1490626085, - 1759736958, - -981292367, - 1571389775, - -1437020537, - 1275257737 - ], - [ - -409288012, - 1670917437, - -292547968, - 313916085, - 526091021, - 862549653, - -46897973, - -1533193833, - 930197801, - 646097086, - 1980342438, - 837585867, - -348914485, - 1270114563, - -1257846136, - -960011590, - -729985745, - 1304616181 - ], - [ - -1719200163, - 1891386007, - -1840812869, - 649820138, - -994456278, - 1970293325, - -1753321816, - 539079179, - 2062745674, - 2108037300, - -331447620, - 62894361, - -696551309, - -1480808064, - -1351865276, - -1572011415, - -875071767, - 1810920411 - ], - [ - -391819122, - 1525900332, - -140947524, - -1870918653, - -419622014, - -427052271, - 258228298, - 1150421414, - 773297045, - -1637945475, - 1877860139, - -1736971906, - -1898409246, - 982383670, - 1732058182, - 1626021528, - 2003837343, - -1962747701 - ], - [ - 87493806, - -920433529, - 731180625, - 749769081, - 24257725, - -636556931, - -1129038605, - -368256403, - -1241697348, - 1906370292, - 1871324393, - -686504726, - -1041297445, - -492970812, - 968371080, - 1228742726, - 795439645, - -910982042 - ], - [ - 445903065, - -1750636619, - -667699693, - -835535153, - 1715744961, - 1304827442, - 291569498, - 283806336, - 2088069326, - -855035684, - -1726697931, - -1562725754, - 70300373, - 1457389742, - 505768882, - -1640856189, - -1557147968, - 1413053174 - ], - [ - -1792493022, - 1211963054, - -1650253531, - -970309221, - 518295915, - 1037019445, - -1827862836, - 586796446, - -442590326, - 997672719, - -1875080849, - 94570202, - 1302730938, - 1953768187, - -1352249159, - -1214067912, - -2018503628, - 1932779504 - ], - [ - 203446689, - 1765145275, - 1141481348, - -1261268836, - 504546772, - -2122157122, - -945252476, - 1060988229, - 252160043, - 1471850778, - 1287665950, - 1960829922, - -379511258, - -713541178, - -996797040, - 18189754, - -808896675, - 1910829138 - ], - [ - 463311447, - -1648472379, - 1715647023, - -491867796, - 1598671276, - 1450215032, - 1774265811, - -497934092, - 839996308, - 859313703, - 2146722746, - 1135371324, - 237491754, - -223018925, - 710152424, - 419903640, - -1210540844, - 1964521640 - ], - [ - -534741034, - -1815293103, - 1713548542, - -787773052, - 1526288302, - 1205595862, - 957764020, - 320117979, - 824618322, - -1579193039, - -967334435, - -1168641665, - 1019825293, - 1832494685, - -270087761, - 178953796, - 390313664, - 794471738 - ], - [ - 169848485, - 159408774, - -361868830, - -1192505508, - -179849453, - -1452476563, - 1836622203, - 1430649259, - 1062825478, - 766251300, - -606732888, - -401148111, - 1275865653, - 108447545, - -1871565849, - 844128315, - -231087969, - 474668522 - ], - [ - -395917933, - 6176385, - -1020499284, - -515274907, - 133865852, - 164215208, - -590267746, - 527832919, - -1882341731, - -861433616, - -674653491, - 1250273571, - -1592213383, - 1545520802, - -347990721, - -51342073, - 1093643890, - 907187769 - ] - ] -} \ No newline at end of file diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/input-1.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/input-1.json deleted file mode 100644 index 392d3e70f..000000000 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/input-1.json +++ /dev/null @@ -1,305 +0,0 @@ -{ - "type": "int32", - "data": [ - [ - 606320001, - -2065384192, - -822571995, - -199157009, - 120976050, - 380004549, - -236599255, - 570316559, - 739571239, - -755970251, - -1434789184, - -136379529, - -1572451624, - 584434551, - 822715360, - 1498672803, - 1360537789, - 191906755 - ], - [ - 291729980, - -1284786869, - 1364067854, - 2108320404, - 2044360027, - -300717303, - 437437152, - 337005927, - 13320834, - -579427933, - -1184781513, - 1609583348, - -423548613, - -1257603795, - -442808125, - 1969759323, - 467496991, - -687716558 - ], - [ - 823247430, - 1361347814, - -789593774, - 1115577406, - -515648288, - -158856478, - -1569188147, - 355779813, - -1223532950, - -1439219451, - -809310607, - 1959730489, - -2047383820, - -1550948159, - -1477234785, - 418194204, - 810067013, - -504062268 - ], - [ - 593637264, - -42566361, - 1896655441, - 661699976, - -2097537818, - 416433120, - 1394244043, - 1672536896, - -1181825800, - -1202763147, - 498528304, - -2121070198, - -1284850131, - -870478722, - -849255534, - 1083107028, - 1593657506, - 1304448489 - ], - [ - 650015896, - -929307883, - -965771916, - -1032401747, - -255674417, - -1375592279, - 2145973944, - 1244289207, - 1449746796, - 1187640062, - 2136249649, - -1515804080, - -1583775345, - 1164353746, - 286147944, - -950371736, - 200994170, - 1470106916 - ], - [ - 2043727648, - 512771647, - 1349151287, - 2013753456, - 539233989, - -1057534647, - -1480287439, - -128608165, - 1319637854, - 737239733, - 748073056, - 2085033740, - -1370659543, - -1053441369, - -2128511043, - -1928876918, - -2044915003, - -1355305333 - ], - [ - 915547406, - 1650449056, - 919016625, - -34324056, - -1059905303, - -1602957913, - 20312656, - -1078438257, - 1567038569, - -1377091178, - 992809377, - 915537650, - -1903204051, - -512174096, - 388873328, - -474835484, - -816025437, - 30443415 - ], - [ - -1169852309, - 1516169777, - 452342049, - 1576890798, - 458408741, - -1602194307, - -913796028, - -582503224, - 1606249252, - -698829081, - -1160265259, - -395889362, - -2082186048, - 1946874325, - 1130168211, - -411227272, - 1662474138, - -988616983 - ], - [ - -919753577, - 590234428, - 685143690, - 715258406, - 1520034738, - -1783543399, - -1751440812, - 1985047536, - 656710284, - -315679507, - 364459913, - -1965162473, - 548638388, - -283762700, - 1511431564, - 549329843, - 6724193, - -1597766628 - ], - [ - 1605290975, - 24052634, - -1461382403, - 616866757, - 521992947, - 1072211543, - 1680652599, - 1272445607, - -961895945, - 2127247731, - 785667446, - -1804816766, - -287195224, - -1712885623, - -1458404268, - -477695759, - 1051481859, - 500726590 - ], - [ - -371730970, - 1551391409, - -834504338, - 1705024810, - 1566839972, - -1066302978, - -1906556443, - 797012323, - -650105618, - 229763889, - -498362187, - 1875172404, - 1351086189, - 1222423302, - 923832050, - 1749285221, - 313429232, - 1896424530 - ], - [ - -777021466, - 1646752603, - 337549098, - -1931873153, - 161023585, - -1871044085, - 1069945062, - 1797489032, - 1905103443, - 172030217, - -1009705259, - -616359499, - -792350588, - 1177822954, - -331618185, - 1897905928, - -774242583, - -2109818854 - ], - [ - -1524320420, - -1828446375, - -1493233361, - -130618833, - -1747791176, - -1851135347, - 1600942601, - -1256926241, - -1502693274, - -988493701, - 727248037, - -424557322, - 1745352233, - 1377703449, - 582422456, - 594842506, - 2111784075, - 410164102 - ], - [ - -452233079, - 1281670757, - -1690063703, - 603531472, - 1317632177, - -1495031059, - 845413114, - -1590710589, - -1586424549, - -1721810117, - 1533707907, - 1668272316, - 275519958, - 519808394, - 216691367, - 788707365, - -1559604382, - 749075203 - ], - [ - 547949649, - 1999186770, - 799278111, - 385621329, - -375789160, - -1935873986, - 358670258, - 1013110630, - -1021367189, - 432984505, - 1690151484, - -2075145036, - -565504465, - 1509445280, - -27147001, - -800131870, - 431364009, - 190096481 - ] - ] -} \ No newline at end of file diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/test.json deleted file mode 100644 index 090d9edf0..000000000 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_14x18_i32/test.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - version: { - _major: 0, - _minor: 41, - _patch: 0, - _draft: true - }, - blocks: [ - { - name: "main", - operators: [ - { - op: "INTDIV", - attribute_type: "NONE", - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" - ] - } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 18 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 15, - 18 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 14, - 18 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" - ] - } - ] -} -- cgit v1.2.1