Update the layer parameters using the accrued gradients and layer optimizer. Flush all gradients once the update is complete.
(self)
| 4246 | self.cell.flush_gradients() |
| 4247 | |
| 4248 | def update(self): |
| 4249 | """ |
| 4250 | Update the layer parameters using the accrued gradients and layer |
| 4251 | optimizer. Flush all gradients once the update is complete. |
| 4252 | """ |
| 4253 | self.cell.update() |
| 4254 | self.flush_gradients() |
| 4255 | |
| 4256 | |
| 4257 | class LSTM(LayerBase): |
no test coverage detected