pub struct CheckpointConfig {
pub dir: Path,
pub name: String,
pub env: String,
pub save_best: bool,
pub save_last: bool,
}Fields§
§dir: PathDirectory that receives checkpoint files.
name: StringBase filename stem for checkpoint files.
env: StringEnvironment tag appended to checkpoint paths (e.g. "dev", "prod").
save_best: boolSave the best-validation-loss checkpoint automatically.
save_last: boolSave the latest checkpoint at every epoch boundary.
Trait Implementations§
Source§impl Clone for CheckpointConfig
impl Clone for CheckpointConfig
Source§impl Debug for CheckpointConfig
impl Debug for CheckpointConfig
Source§impl Default for CheckpointConfig
impl Default for CheckpointConfig
Source§impl PartialEq for CheckpointConfig
impl PartialEq for CheckpointConfig
impl StructuralPartialEq for CheckpointConfig
Auto Trait Implementations§
impl Forget for CheckpointConfig
impl Freeze for CheckpointConfig
impl Move for CheckpointConfig
impl RefUnwindSafe for CheckpointConfig
impl Send for CheckpointConfigwhere
RawVecInner: Send,
impl Sync for CheckpointConfigwhere
RawVecInner: Sync,
impl Unpin for CheckpointConfig
impl UnsafeUnpin for CheckpointConfig
impl UnwindSafe for CheckpointConfigwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more