Realm

oa::ml::load_run_state

Load a committed run state. Errors Returns an error when the file is missing, unreadable, or fails the magic/version/length contract — callers must not guess at a partial training position.

FnRust public API

Function Documentation

pub fn load_run_state( path: &Path ) -> Result<RunState>
Load a committed run state. Errors Returns an error when the file is missing, unreadable, or fails the magic/version/length contract — callers must not guess at a partial training position.