Optimized linear op doesn't support bias #8234
Labels
actionable
Items in the backlog waiting for an appropriate impl/fix
enhancement
Not as big of a feature, but technically not a bug. Should be easy to fix
good first issue
Good for newcomers
module: kernels
Issues related to kernel libraries and utilities, and code under kernels/
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
🐛 Describe the bug
I left it out for implementation expediency. See
executorch/kernels/optimized/cpu/op_linear.cpp
Line 32 in 440a3ac
I believe all that needs to be done is to get the bias into the C matrix passed to GEMM and then set beta to 1.0 per https://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms#Level_3 .
Versions
N/A
cc @larryliu0820 @manuelcandales
The text was updated successfully, but these errors were encountered: