load_checkpoint#

Algorithm.load_checkpoint(checkpoint_dir: str) → None[source]#

Restores this Algorithm’s state from a checkpoint directory.

On the new API stack, this delegates to restore_from_path(). Afterwards, it calls the on_checkpoint_loaded callback.

Parameters:

checkpoint_dir (str) – The local directory that holds the checkpoint.