pub fn save_state_dict<P: AsRef<Path>>( state_dict: &StateDict, path: P, ) -> Result<()>
Save a state dictionary to a file