diff options
Diffstat (limited to 'operators/type_conversion/cast/cast_25x20_i32_outBOOL')
4 files changed, 1179 insertions, 0 deletions
diff --git a/operators/type_conversion/cast/cast_25x20_i32_outBOOL/Conformance-result-0.json b/operators/type_conversion/cast/cast_25x20_i32_outBOOL/Conformance-result-0.json new file mode 100644 index 000000000..fe8574650 --- /dev/null +++ b/operators/type_conversion/cast/cast_25x20_i32_outBOOL/Conformance-result-0.json @@ -0,0 +1,555 @@ +{ + "type": "bool", + "data": [ + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ] + ] +}
\ No newline at end of file diff --git a/operators/type_conversion/cast/cast_25x20_i32_outBOOL/desc.json b/operators/type_conversion/cast/cast_25x20_i32_outBOOL/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/type_conversion/cast/cast_25x20_i32_outBOOL/desc.json @@ -0,0 +1,20 @@ +{ + "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": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-result-0.npy" + ] +}
\ No newline at end of file diff --git a/operators/type_conversion/cast/cast_25x20_i32_outBOOL/input-0.json b/operators/type_conversion/cast/cast_25x20_i32_outBOOL/input-0.json new file mode 100644 index 000000000..03c702522 --- /dev/null +++ b/operators/type_conversion/cast/cast_25x20_i32_outBOOL/input-0.json @@ -0,0 +1,555 @@ +{ + "type": "int32", + "data": [ + [ + -1925830415, + -807215999, + 2032945072, + -764514682, + 875390536, + 1474428954, + -926430097, + 612447310, + -1269271263, + -591818468, + -875795721, + 740401010, + 1613729815, + -1063507523, + -895972384, + 1378440795, + -159682012, + 56106301, + 883638214, + -1556558210 + ], + [ + 1597684299, + -578858677, + 681057956, + -291276768, + 1087095721, + 479246521, + -1403050727, + -1340698028, + 1620954277, + 84201331, + -963278772, + -1532195006, + -1596103632, + 1803471425, + 2045453651, + -457414850, + -1281446763, + -348407963, + -1560567906, + 213273687 + ], + [ + 541255644, + 2084296837, + -777976850, + -1297884294, + -1574753173, + -527549228, + 434311891, + -1861306417, + 1112333081, + -171336940, + 1259277428, + -156307691, + -1479562113, + -2055303690, + 244242197, + 169390017, + 1347238343, + 1620295082, + -1455620203, + -795913062 + ], + [ + -1255495169, + -1689150054, + -2137126775, + -1793957404, + 105802896, + -1495228207, + -1311332127, + -1641384264, + 963114529, + 582753957, + 1985193393, + -1668617895, + -1250885650, + -190265366, + 640366789, + -1588797716, + -1237661564, + -337100140, + -2070144778, + -449792256 + ], + [ + 1110481808, + 114416254, + -283447756, + -51899233, + 1918934958, + 87777734, + 147256742, + 1850340386, + -1471099877, + -1735320446, + -215717130, + -779177555, + -1276070025, + -1634218999, + 1623623363, + 490878409, + 819922918, + -1640314524, + -681874142, + 518966760 + ], + [ + 119487376, + 837012579, + 727911865, + -372215982, + 1214864642, + -1032402123, + -1803254003, + 1775437826, + -2050765959, + -929134762, + -1655913057, + -1151780625, + -450987414, + -1590816127, + -142994021, + 1835344164, + -1561385410, + 1832161045, + -381594368, + 397100565 + ], + [ + -250728224, + -787552293, + -1678945822, + 400891531, + 1789540902, + 89284608, + 425828516, + 617374533, + -478736252, + -1629511731, + 29666127, + 1584532595, + -798015720, + 1595444410, + 1521840192, + -1096057203, + 322187150, + 1063242197, + -21922311, + 856283833 + ], + [ + 1764739368, + 546619647, + 1451611750, + 1292639316, + 1343473893, + 1513356657, + -1178499495, + -2068649386, + -1489824892, + -1075155484, + 816458335, + 42710672, + -134680484, + -2108490303, + 789040094, + -583058395, + 1119385438, + -1663176738, + -879121792, + -1912555078 + ], + [ + -924919347, + 1818302090, + -39378124, + -259601909, + -972598293, + -1009874031, + 718527739, + 2083818315, + 1059699195, + 1017876961, + -120091813, + -1723833465, + 961212674, + 1325964899, + 44829017, + -1754453397, + 914277084, + 1808458005, + -1181252382, + -1462689637 + ], + [ + 1025823071, + -722291405, + 923950645, + 872629668, + -1002420856, + -1965975071, + 240393576, + -396128693, + 1526051993, + -609974962, + -1075792040, + 1546956712, + 1013525454, + 508363517, + 1949772203, + 1215466929, + 1572997067, + 1284205454, + -422968025, + -1879669129 + ], + [ + 460453707, + 1137706882, + 2112136643, + 780006968, + 293936443, + 325193313, + -1653443858, + -2115813375, + -1952360042, + 1738927146, + 1246891324, + -1030039442, + -328013845, + -70372186, + -1087430355, + -332099866, + -654243647, + 836597562, + 1105408044, + -1724722920 + ], + [ + -149261557, + 2109844784, + 1582693268, + 1261703746, + 1008997720, + -2128908388, + 2035875274, + 1010126300, + 1668610972, + 1756192500, + -1054211699, + -2088139349, + 683154203, + -176192360, + -2059251987, + -984367886, + 2109287320, + -586820759, + -1026470947, + 663795047 + ], + [ + 707789537, + -721102246, + 1499603384, + 344919586, + -1458293170, + -751700310, + 1494130400, + -1763820395, + -2094888914, + 672166663, + -249206295, + -1061576231, + -120097497, + -1358995058, + -540776269, + -1142875154, + 371019660, + 745747021, + 1781734320, + -1856508462 + ], + [ + -743076096, + -1011712837, + 340418623, + 142291072, + 1621189203, + 1799669601, + 1172506293, + -1293157397, + -1972535608, + 1714378311, + 1901771850, + -1072088115, + -1947136720, + 775670122, + 381214744, + 1670030010, + 323641334, + 1118163025, + 1230036674, + -2105428138 + ], + [ + -1509925595, + 1202638455, + -1377093681, + -1262160886, + 1082791031, + -1269131592, + -1505365626, + -2089559234, + -131232180, + 587596002, + 994920971, + 1741940722, + 649579137, + 1101406935, + -1242945557, + -685314810, + -841984278, + -1868158403, + 2014231872, + -1111258539 + ], + [ + -220458008, + -614416132, + -1956540241, + 1732362050, + -1204373687, + -1716179852, + -676736137, + -1530003284, + 2145290656, + -1335747552, + -847433351, + -982722222, + -2034114341, + -2092096509, + 55497753, + -1147951332, + -1788401254, + -896024667, + -970372275, + -326084440 + ], + [ + 2114769638, + -829399674, + 878915746, + 1153130971, + -1929872133, + 5665521, + -220388866, + 33049748, + -1410306145, + -150032179, + -1619440370, + 1914812177, + 373943102, + -1999256845, + 24291861, + 1831092501, + 1043104036, + -975174600, + 1684942420, + -1350668888 + ], + [ + -1087993138, + -1481768285, + 1816736749, + 931623637, + 77274074, + 721186079, + -1035796140, + -1844010231, + 1485138866, + 1993777659, + -1994883813, + -1925498241, + 255590830, + -1962690691, + 951857245, + 1912783051, + -944988639, + -883264296, + 1561185898, + -617680245 + ], + [ + -1115469307, + -1785514553, + 1459748929, + 1829256483, + -1810135598, + 1301153404, + -1460599872, + -1551067786, + -511167320, + -271915115, + 1520656848, + 857918692, + -1526494234, + 361092085, + 1612494961, + 696227032, + -1160794255, + -1594147067, + -203974875, + -119425425 + ], + [ + -632500918, + -1678200477, + -1640135368, + 124492204, + 1908295800, + 420632688, + -265522220, + 1852350661, + 817466542, + 935943048, + 323272209, + 1129087135, + 7369806, + 524269432, + 500697080, + 1085124912, + 1710867177, + -883621267, + 856040135, + -2011520108 + ], + [ + 139500879, + 1712449921, + 623568952, + -997729951, + 456959955, + -610978453, + -287242227, + -1167812960, + 535857343, + -1295626608, + -242365863, + 1886562382, + 1106445327, + -367839902, + 2013963781, + -2087576825, + 1975106671, + -635087372, + 1377549713, + 1922081109 + ], + [ + 437051134, + 474564199, + 1070872734, + -1117773053, + -1382772043, + -671433001, + -90115040, + 1043144078, + -1042368098, + 278244187, + -2132472819, + -2014663131, + 2004622619, + 1504493047, + 1562717673, + -735653714, + 58835118, + 750347127, + -1055907883, + 1049894129 + ], + [ + 828822216, + -398272833, + -280027210, + -827411474, + 1302876325, + 2091229452, + 2145413946, + 1165640645, + -648185266, + 1207234653, + -1097780570, + 1703268784, + -999084604, + -417180848, + -1746564576, + -1798056868, + -455068121, + 215614324, + -2072643617, + 1486787221 + ], + [ + -1656158471, + 2140614329, + -980559300, + -519706088, + -1460878254, + 1393394746, + 997115739, + -1810107812, + -1693914525, + 468680226, + 1571932711, + -1675838805, + -1197804086, + 194760213, + -1681090500, + -839425851, + -2104075941, + -3617638, + 924298455, + -378047078 + ], + [ + -1045323117, + -324870138, + 40796198, + -1435727179, + -1668096378, + -1366584150, + 2084330119, + 957570030, + -1608960295, + -853142144, + -378275265, + -1369206619, + 1510323112, + 1892296225, + -1095702214, + -2076415781, + -1000848561, + 354464532, + 1324995331, + -689144670 + ] + ] +}
\ No newline at end of file diff --git a/operators/type_conversion/cast/cast_25x20_i32_outBOOL/test.json b/operators/type_conversion/cast/cast_25x20_i32_outBOOL/test.json new file mode 100644 index 000000000..8c3dad1dc --- /dev/null +++ b/operators/type_conversion/cast/cast_25x20_i32_outBOOL/test.json @@ -0,0 +1,49 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CAST", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 20 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 25, + 20 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |