Commit 54256d9
Fix autoencoder bias gradient updates
Use bias gradients (b1_grad, b2_grad, etc.) instead of bias values
(b1, b2, etc.) in momentum updates. This critical fix ensures proper
backpropagation and training convergence in the 2-layer autoencoder.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>1 parent d4417b3 commit 54256d9
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments