save_state_dict

Function save_state_dict 

Source
pub fn save_state_dict<P: AsRef<Path>>(
    state_dict: &StateDict,
    path: P,
) -> Result<()>
Expand description

Save a state dictionary to a file