pub struct TabularSpec<T = Box<dyn TabularStep>> {
pub data_dir: PathBuf,
pub config: RaceConfig,
pub fitness: Fitness,
pub trainer: T,
pub seed: Option<u64>,
pub run_dir: Option<PathBuf>,
}Expand description
Start-a-race spec: the entire new argument surface. fitness
ranking signal; the loss lives on your trainer.
Fields§
§data_dir: PathBufDataset directory the engine loads.
config: RaceConfigThe one RaceConfig (no training knobs — those live on the trainer).
fitness: FitnessRanking signal (engine-computed for tabular runs).
trainer: TYour training scheme, self-contained and auto-boxed.
seed: Option<u64>None = random seed (recorded in engine.json).
run_dir: Option<PathBuf>None = results/<run_id> with a timestamp id.
Auto Trait Implementations§
impl<T = Box<dyn TabularStep>> !RefUnwindSafe for TabularSpec<T>
impl<T = Box<dyn TabularStep>> !UnwindSafe for TabularSpec<T>
impl<T> Forget for TabularSpec<T>
impl<T> Freeze for TabularSpec<T>where
T: Freeze,
impl<T> Move for TabularSpec<T>
impl<T> Send for TabularSpec<T>where
T: Send,
impl<T> Sync for TabularSpec<T>where
T: Sync,
impl<T> Unpin for TabularSpec<T>where
T: Unpin,
impl<T> UnsafeUnpin for TabularSpec<T>where
T: UnsafeUnpin,
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