Update the layer parameters using the accrued gradients and layer optimizer. Flush all gradients once the update is complete.
(self)
| 4425 | self.cell.flush_gradients() |
| 4426 | |
| 4427 | def update(self): |
| 4428 | """ |
| 4429 | Update the layer parameters using the accrued gradients and layer |
| 4430 | optimizer. Flush all gradients once the update is complete. |
| 4431 | """ |
| 4432 | self.cell.update() |
| 4433 | self.flush_gradients() |
nothing calls this directly
no test coverage detected