diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-18 17:36:56 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-18 17:44:36 +0100 |
commit | 39f4c0e050bd84fffeb43bbbc3032f5831358246 (patch) | |
tree | ed6f10ae60884c221bdbc371957a9a276a60717a /operators/data_layout/tile/tile_19x16_i32_perm4 | |
parent | f28351d57bbe212bc75ed18375b4f421937e113e (diff) | |
download | conformance_tests-39f4c0e050bd84fffeb43bbbc3032f5831358246.tar.gz |
Updating TILE tests with bool tests
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I0e47d3fdf1bbbb87fe6c4fde31a22ffccd24a5a0
Diffstat (limited to 'operators/data_layout/tile/tile_19x16_i32_perm4')
4 files changed, 1077 insertions, 0 deletions
diff --git a/operators/data_layout/tile/tile_19x16_i32_perm4/Conformance-result-0.json b/operators/data_layout/tile/tile_19x16_i32_perm4/Conformance-result-0.json new file mode 100644 index 000000000..f9b960060 --- /dev/null +++ b/operators/data_layout/tile/tile_19x16_i32_perm4/Conformance-result-0.json @@ -0,0 +1,651 @@ +{ + "type": "int32", + "data": [ + [ + 494583983, + -1248644285, + -1076210979, + 1386999031, + -525137002, + -1295435309, + 915574368, + 930387655, + 1400845119, + 1116627121, + 2112987148, + 321560086, + -915592695, + 1558756911, + -1010109703, + -897431903, + 494583983, + -1248644285, + -1076210979, + 1386999031, + -525137002, + -1295435309, + 915574368, + 930387655, + 1400845119, + 1116627121, + 2112987148, + 321560086, + -915592695, + 1558756911, + -1010109703, + -897431903 + ], + [ + 1410872452, + 1639033484, + -690024810, + 985310421, + 1814174237, + 1283120739, + -2126034758, + 706864470, + -1417806018, + 1487531931, + -1859547944, + 2117843489, + -1385862563, + -342897929, + -1142096277, + 1348257595, + 1410872452, + 1639033484, + -690024810, + 985310421, + 1814174237, + 1283120739, + -2126034758, + 706864470, + -1417806018, + 1487531931, + -1859547944, + 2117843489, + -1385862563, + -342897929, + -1142096277, + 1348257595 + ], + [ + -457417835, + 1050462068, + -1858783904, + -202421097, + 1765454584, + 1833731990, + -1251151701, + -453437180, + -390349825, + 281173969, + 160361554, + -1692464690, + 1128145683, + -1177786574, + -794822473, + 1463278910, + -457417835, + 1050462068, + -1858783904, + -202421097, + 1765454584, + 1833731990, + -1251151701, + -453437180, + -390349825, + 281173969, + 160361554, + -1692464690, + 1128145683, + -1177786574, + -794822473, + 1463278910 + ], + [ + 814550793, + -444302673, + 1771562083, + -454905373, + 281300561, + -1091003220, + -1360671441, + -36033340, + 270666195, + 1313473847, + -468563119, + 1697216962, + 461212279, + -1846344456, + 1026933203, + 321352593, + 814550793, + -444302673, + 1771562083, + -454905373, + 281300561, + -1091003220, + -1360671441, + -36033340, + 270666195, + 1313473847, + -468563119, + 1697216962, + 461212279, + -1846344456, + 1026933203, + 321352593 + ], + [ + -475223082, + -140559815, + -851300312, + 490836810, + 287554361, + -226449201, + -922571835, + -435317180, + -9286176, + -120771421, + -819085000, + 352183576, + -1174467281, + 4222859, + -1625432498, + -119638672, + -475223082, + -140559815, + -851300312, + 490836810, + 287554361, + -226449201, + -922571835, + -435317180, + -9286176, + -120771421, + -819085000, + 352183576, + -1174467281, + 4222859, + -1625432498, + -119638672 + ], + [ + 1219685231, + 1365092261, + 836202650, + 1055050088, + -1864231124, + -681274180, + 662500246, + 1290968889, + 355834028, + 1518918057, + -974683093, + -1488239646, + -1776482015, + 355118469, + 709462283, + -922077967, + 1219685231, + 1365092261, + 836202650, + 1055050088, + -1864231124, + -681274180, + 662500246, + 1290968889, + 355834028, + 1518918057, + -974683093, + -1488239646, + -1776482015, + 355118469, + 709462283, + -922077967 + ], + [ + 1218298488, + 1027237300, + -600721781, + -1121908468, + 1040744913, + 736172530, + -1413962952, + -1051731594, + -60272587, + 47862099, + -1434696300, + 1926921907, + -478249663, + -509780241, + -1887499224, + 1613784509, + 1218298488, + 1027237300, + -600721781, + -1121908468, + 1040744913, + 736172530, + -1413962952, + -1051731594, + -60272587, + 47862099, + -1434696300, + 1926921907, + -478249663, + -509780241, + -1887499224, + 1613784509 + ], + [ + -1137548199, + 2091411051, + -17105871, + 1609972136, + -1378160952, + -1435094475, + 1293273806, + 1372921598, + 185084762, + -2009403048, + 1905776501, + -458264921, + 1872539156, + 1592287713, + 1509637959, + 810684580, + -1137548199, + 2091411051, + -17105871, + 1609972136, + -1378160952, + -1435094475, + 1293273806, + 1372921598, + 185084762, + -2009403048, + 1905776501, + -458264921, + 1872539156, + 1592287713, + 1509637959, + 810684580 + ], + [ + 744106197, + 140619064, + -2041059037, + -481620345, + 990167479, + 1341305171, + 255834990, + 900046491, + -2054091594, + -135698119, + 33178947, + 1685707392, + -811526472, + -1159864432, + -634028178, + -1415657689, + 744106197, + 140619064, + -2041059037, + -481620345, + 990167479, + 1341305171, + 255834990, + 900046491, + -2054091594, + -135698119, + 33178947, + 1685707392, + -811526472, + -1159864432, + -634028178, + -1415657689 + ], + [ + 250929858, + 613337497, + 1293299962, + 2027200265, + -1831350978, + -1085524752, + -855934030, + -1075157536, + 1405665900, + -1548340659, + -2019757964, + 1548608678, + 1982206262, + -1175113617, + -717880545, + 13651668, + 250929858, + 613337497, + 1293299962, + 2027200265, + -1831350978, + -1085524752, + -855934030, + -1075157536, + 1405665900, + -1548340659, + -2019757964, + 1548608678, + 1982206262, + -1175113617, + -717880545, + 13651668 + ], + [ + 111447824, + 2108281239, + -411657486, + -2095338876, + -331756600, + 242605911, + 72541097, + 52781036, + 1815124529, + 1320476426, + -1066407602, + -621561055, + 719760357, + -385080932, + -307510475, + -1426195514, + 111447824, + 2108281239, + -411657486, + -2095338876, + -331756600, + 242605911, + 72541097, + 52781036, + 1815124529, + 1320476426, + -1066407602, + -621561055, + 719760357, + -385080932, + -307510475, + -1426195514 + ], + [ + -1054979199, + 1034293544, + 1472877950, + 1222815453, + -825349031, + -1560519155, + -1461600272, + -457598383, + 76258737, + 1687514105, + 1712951594, + -2135855997, + 891464597, + -864323211, + -1297930107, + 236404814, + -1054979199, + 1034293544, + 1472877950, + 1222815453, + -825349031, + -1560519155, + -1461600272, + -457598383, + 76258737, + 1687514105, + 1712951594, + -2135855997, + 891464597, + -864323211, + -1297930107, + 236404814 + ], + [ + -2001827637, + -712561447, + 224298989, + -979058458, + 401116694, + -171637696, + 1285945098, + -1367847836, + -1902227839, + 127239441, + -1044128544, + 887752222, + -1746823134, + 323389359, + 2103820767, + -1747582118, + -2001827637, + -712561447, + 224298989, + -979058458, + 401116694, + -171637696, + 1285945098, + -1367847836, + -1902227839, + 127239441, + -1044128544, + 887752222, + -1746823134, + 323389359, + 2103820767, + -1747582118 + ], + [ + -851178482, + 1479223734, + 144158970, + -1395959559, + -1232097874, + 1137358882, + 1550032452, + -598868290, + -112387091, + 1214450742, + -1387586088, + -1261548274, + 1178676226, + -1345776018, + 1163127205, + -12773894, + -851178482, + 1479223734, + 144158970, + -1395959559, + -1232097874, + 1137358882, + 1550032452, + -598868290, + -112387091, + 1214450742, + -1387586088, + -1261548274, + 1178676226, + -1345776018, + 1163127205, + -12773894 + ], + [ + 2104680233, + -2006024543, + 1915360394, + -1179838947, + -1996813343, + 962125297, + 139707817, + 1449051005, + -1682108023, + -1800513152, + 288832835, + 1641011266, + -404744401, + 1277826661, + 1744658037, + 1587781959, + 2104680233, + -2006024543, + 1915360394, + -1179838947, + -1996813343, + 962125297, + 139707817, + 1449051005, + -1682108023, + -1800513152, + 288832835, + 1641011266, + -404744401, + 1277826661, + 1744658037, + 1587781959 + ], + [ + 37231245, + 852244152, + 110235223, + 747981728, + 288136727, + 107774616, + -271406431, + 656216132, + 1078462947, + 1800062302, + 486313020, + -1715744940, + 375717833, + -791285543, + -2032321934, + -1836291906, + 37231245, + 852244152, + 110235223, + 747981728, + 288136727, + 107774616, + -271406431, + 656216132, + 1078462947, + 1800062302, + 486313020, + -1715744940, + 375717833, + -791285543, + -2032321934, + -1836291906 + ], + [ + 392139466, + 1910423666, + 23928836, + -235083034, + -1766689530, + 753098767, + -1909237237, + 1465099521, + 1358952442, + 2108830007, + -926502857, + -1452633283, + -860991230, + 1286396846, + -1207649015, + 1663968677, + 392139466, + 1910423666, + 23928836, + -235083034, + -1766689530, + 753098767, + -1909237237, + 1465099521, + 1358952442, + 2108830007, + -926502857, + -1452633283, + -860991230, + 1286396846, + -1207649015, + 1663968677 + ], + [ + -1485257562, + -1937565503, + -1205349928, + 1091310646, + 439287654, + -623949995, + 670175513, + 638218359, + 235024910, + 60336542, + -1711572873, + -1031899170, + 118958779, + -1566712321, + -103772094, + -1645199107, + -1485257562, + -1937565503, + -1205349928, + 1091310646, + 439287654, + -623949995, + 670175513, + 638218359, + 235024910, + 60336542, + -1711572873, + -1031899170, + 118958779, + -1566712321, + -103772094, + -1645199107 + ], + [ + 1233659743, + -1703715354, + -1750031718, + 591803716, + -1200305528, + -638185534, + -797750306, + -1217050116, + 1124344835, + 824140197, + -1121945780, + 802512774, + 916855628, + 168226534, + 336669104, + 1868129598, + 1233659743, + -1703715354, + -1750031718, + 591803716, + -1200305528, + -638185534, + -797750306, + -1217050116, + 1124344835, + 824140197, + -1121945780, + 802512774, + 916855628, + 168226534, + 336669104, + 1868129598 + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/tile/tile_19x16_i32_perm4/desc.json b/operators/data_layout/tile/tile_19x16_i32_perm4/desc.json new file mode 100644 index 000000000..7b8f68902 --- /dev/null +++ b/operators/data_layout/tile/tile_19x16_i32_perm4/desc.json @@ -0,0 +1,24 @@ +{ + "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" + ], + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/data_layout/tile/tile_19x16_i32_perm4/input-0.json b/operators/data_layout/tile/tile_19x16_i32_perm4/input-0.json new file mode 100644 index 000000000..b716033ce --- /dev/null +++ b/operators/data_layout/tile/tile_19x16_i32_perm4/input-0.json @@ -0,0 +1,347 @@ +{ + "type": "int32", + "data": [ + [ + 494583983, + -1248644285, + -1076210979, + 1386999031, + -525137002, + -1295435309, + 915574368, + 930387655, + 1400845119, + 1116627121, + 2112987148, + 321560086, + -915592695, + 1558756911, + -1010109703, + -897431903 + ], + [ + 1410872452, + 1639033484, + -690024810, + 985310421, + 1814174237, + 1283120739, + -2126034758, + 706864470, + -1417806018, + 1487531931, + -1859547944, + 2117843489, + -1385862563, + -342897929, + -1142096277, + 1348257595 + ], + [ + -457417835, + 1050462068, + -1858783904, + -202421097, + 1765454584, + 1833731990, + -1251151701, + -453437180, + -390349825, + 281173969, + 160361554, + -1692464690, + 1128145683, + -1177786574, + -794822473, + 1463278910 + ], + [ + 814550793, + -444302673, + 1771562083, + -454905373, + 281300561, + -1091003220, + -1360671441, + -36033340, + 270666195, + 1313473847, + -468563119, + 1697216962, + 461212279, + -1846344456, + 1026933203, + 321352593 + ], + [ + -475223082, + -140559815, + -851300312, + 490836810, + 287554361, + -226449201, + -922571835, + -435317180, + -9286176, + -120771421, + -819085000, + 352183576, + -1174467281, + 4222859, + -1625432498, + -119638672 + ], + [ + 1219685231, + 1365092261, + 836202650, + 1055050088, + -1864231124, + -681274180, + 662500246, + 1290968889, + 355834028, + 1518918057, + -974683093, + -1488239646, + -1776482015, + 355118469, + 709462283, + -922077967 + ], + [ + 1218298488, + 1027237300, + -600721781, + -1121908468, + 1040744913, + 736172530, + -1413962952, + -1051731594, + -60272587, + 47862099, + -1434696300, + 1926921907, + -478249663, + -509780241, + -1887499224, + 1613784509 + ], + [ + -1137548199, + 2091411051, + -17105871, + 1609972136, + -1378160952, + -1435094475, + 1293273806, + 1372921598, + 185084762, + -2009403048, + 1905776501, + -458264921, + 1872539156, + 1592287713, + 1509637959, + 810684580 + ], + [ + 744106197, + 140619064, + -2041059037, + -481620345, + 990167479, + 1341305171, + 255834990, + 900046491, + -2054091594, + -135698119, + 33178947, + 1685707392, + -811526472, + -1159864432, + -634028178, + -1415657689 + ], + [ + 250929858, + 613337497, + 1293299962, + 2027200265, + -1831350978, + -1085524752, + -855934030, + -1075157536, + 1405665900, + -1548340659, + -2019757964, + 1548608678, + 1982206262, + -1175113617, + -717880545, + 13651668 + ], + [ + 111447824, + 2108281239, + -411657486, + -2095338876, + -331756600, + 242605911, + 72541097, + 52781036, + 1815124529, + 1320476426, + -1066407602, + -621561055, + 719760357, + -385080932, + -307510475, + -1426195514 + ], + [ + -1054979199, + 1034293544, + 1472877950, + 1222815453, + -825349031, + -1560519155, + -1461600272, + -457598383, + 76258737, + 1687514105, + 1712951594, + -2135855997, + 891464597, + -864323211, + -1297930107, + 236404814 + ], + [ + -2001827637, + -712561447, + 224298989, + -979058458, + 401116694, + -171637696, + 1285945098, + -1367847836, + -1902227839, + 127239441, + -1044128544, + 887752222, + -1746823134, + 323389359, + 2103820767, + -1747582118 + ], + [ + -851178482, + 1479223734, + 144158970, + -1395959559, + -1232097874, + 1137358882, + 1550032452, + -598868290, + -112387091, + 1214450742, + -1387586088, + -1261548274, + 1178676226, + -1345776018, + 1163127205, + -12773894 + ], + [ + 2104680233, + -2006024543, + 1915360394, + -1179838947, + -1996813343, + 962125297, + 139707817, + 1449051005, + -1682108023, + -1800513152, + 288832835, + 1641011266, + -404744401, + 1277826661, + 1744658037, + 1587781959 + ], + [ + 37231245, + 852244152, + 110235223, + 747981728, + 288136727, + 107774616, + -271406431, + 656216132, + 1078462947, + 1800062302, + 486313020, + -1715744940, + 375717833, + -791285543, + -2032321934, + -1836291906 + ], + [ + 392139466, + 1910423666, + 23928836, + -235083034, + -1766689530, + 753098767, + -1909237237, + 1465099521, + 1358952442, + 2108830007, + -926502857, + -1452633283, + -860991230, + 1286396846, + -1207649015, + 1663968677 + ], + [ + -1485257562, + -1937565503, + -1205349928, + 1091310646, + 439287654, + -623949995, + 670175513, + 638218359, + 235024910, + 60336542, + -1711572873, + -1031899170, + 118958779, + -1566712321, + -103772094, + -1645199107 + ], + [ + 1233659743, + -1703715354, + -1750031718, + 591803716, + -1200305528, + -638185534, + -797750306, + -1217050116, + 1124344835, + 824140197, + -1121945780, + 802512774, + 916855628, + 168226534, + 336669104, + 1868129598 + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/tile/tile_19x16_i32_perm4/test.json b/operators/data_layout/tile/tile_19x16_i32_perm4/test.json new file mode 100644 index 000000000..738037cf6 --- /dev/null +++ b/operators/data_layout/tile/tile_19x16_i32_perm4/test.json @@ -0,0 +1,55 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 1, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 19, + 16 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 19, + 32 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |