pub fn load_checkpoint(path: impl AsRef<Path>) -> CoreResult<ModelCheckpoint>
Load a model checkpoint.