Commit 23e9f02
fix bug in Generic GEMM with no bias (#126)
In generic platform, GEMM was not correctly hoisting the bias tensor when required.
To solve the issue, bias hoisting has been moved from `MatMulParser.parseNodeCtxt` to `GEMMParser.parseNode`.
Moreover, the default value of `noBiasHoisting` flag in `GenericGEMMParser` has been changed from True to False to be compliant with the template.
## Added
- testFloatGEMMnobias
## Changed
- Generic\Parser.py file (`MatMulParser`, `GEMMParser`, and `GenericGEMMParser`)
## Fixed
- fix bias hoisting in GEMM with no bias
Co-authored-by: Alex Marchioni <[email protected]>1 parent 41baa7b commit 23e9f02
File tree
5 files changed
+9
-23
lines changed- DeeployTest/Tests/testFloatGEMMnobias
- Deeploy/Targets/Generic
5 files changed
+9
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1682 | 1682 | | |
1683 | 1683 | | |
1684 | 1684 | | |
1685 | | - | |
1686 | | - | |
1687 | | - | |
1688 | | - | |
1689 | | - | |
1690 | | - | |
1691 | | - | |
1692 | | - | |
1693 | 1685 | | |
1694 | 1686 | | |
1695 | 1687 | | |
| |||
1772 | 1764 | | |
1773 | 1765 | | |
1774 | 1766 | | |
1775 | | - | |
1776 | | - | |
| 1767 | + | |
1777 | 1768 | | |
1778 | 1769 | | |
1779 | 1770 | | |
| |||
1805 | 1796 | | |
1806 | 1797 | | |
1807 | 1798 | | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
1808 | 1803 | | |
1809 | 1804 | | |
1810 | 1805 | | |
| |||
1836 | 1831 | | |
1837 | 1832 | | |
1838 | 1833 | | |
1839 | | - | |
1840 | | - | |
1841 | | - | |
1842 | | - | |
1843 | | - | |
1844 | | - | |
1845 | | - | |
1846 | | - | |
1847 | | - | |
1848 | | - | |
1849 | | - | |
1850 | | - | |
1851 | 1834 | | |
1852 | 1835 | | |
1853 | 1836 | | |
| |||
2324 | 2307 | | |
2325 | 2308 | | |
2326 | 2309 | | |
2327 | | - | |
| 2310 | + | |
2328 | 2311 | | |
2329 | 2312 | | |
2330 | 2313 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments