pub fn load<B: Backend>(
path: impl AsRef<Path>,
executor: &mut Executor<B>,
) -> Result<usize>Expand description
Load parameters from a checkpoint file into an Executor.
Only parameters present in the checkpoint will be updated. Parameters not found in the file keep their current values.
Returns the number of parameters loaded.