pub struct ExperimentConfig {
pub name: String,
pub run_name: String,
pub base_dir: PathBuf,
pub flush_interval_rows: usize,
pub flush_interval_ms: u64,
pub language: String,
pub env_path: Option<String>,
}Expand description
Configuration for a single experiment run.
Fields§
§name: StringName of the experiment (e.g. “resnet_cifar10”)
run_name: StringName of this specific run (auto-generated if None)
base_dir: PathBufRoot directory for all experiments
flush_interval_rows: usizeFlush metrics to disk every N rows (default: 50)
flush_interval_ms: u64Flush metrics to disk every N milliseconds (default: 500)
language: StringLanguage used for the run (e.g. “rust”, “python”)
env_path: Option<String>Environment path or executable (e.g. python executable path)
Implementations§
Trait Implementations§
Source§impl Clone for ExperimentConfig
impl Clone for ExperimentConfig
Source§fn clone(&self) -> ExperimentConfig
fn clone(&self) -> ExperimentConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExperimentConfig
impl Debug for ExperimentConfig
Source§impl<'de> Deserialize<'de> for ExperimentConfig
impl<'de> Deserialize<'de> for ExperimentConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExperimentConfig
impl RefUnwindSafe for ExperimentConfig
impl Send for ExperimentConfig
impl Sync for ExperimentConfig
impl Unpin for ExperimentConfig
impl UnsafeUnpin for ExperimentConfig
impl UnwindSafe for ExperimentConfig
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