oa::CheckpointConfig

Shared checkpoint-save configuration. Used as a building block in CLI configs and passed to crate::ml::training::CbCheckpoint.

StRust public API

Declaration

pub struct CheckpointConfig { pub dir: Path, pub name: String, pub env: String, pub save_best: bool, pub save_last: bool, }
Public Rust declaration.

Public Methods

fn clone(&self) -> CheckpointConfig
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &CheckpointConfig) -> bool

Associated Functions

fn default() -> Self

Public Data Members

dirPathfield
nameStringfield
envStringfield
save_bestboolfield
save_lastboolfield

Public Method Documentation

fn clone( &self ) -> CheckpointConfig
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &CheckpointConfig ) -> bool
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.