Saves the model to a checkpoint. This method will save a checkpoint containing the current state of the model. Raises: ValueError: If no `checkpoint_manager` was provided to `Controller.__init__`.
(self)
| 469 | return checkpoint_path |
| 470 | |
| 471 | def save_checkpoint(self): |
| 472 | """Saves the model to a checkpoint. |
| 473 | |
| 474 | This method will save a checkpoint containing the current state of the |
| 475 | model. |
| 476 | |
| 477 | Raises: |
| 478 | ValueError: If no `checkpoint_manager` was provided to |
| 479 | `Controller.__init__`. |
| 480 | """ |
| 481 | self._require("checkpoint_manager", for_method="save_checkpoint") |
| 482 | self._maybe_save_checkpoint(check_interval=False) |
| 483 | |
| 484 | @property |
| 485 | def steps_per_loop(self): |
nothing calls this directly
no test coverage detected