Struct ChildInputs
pub struct ChildInputs {
pub oniro_cli: PathBuf,
pub base_config: String,
pub run_root: PathBuf,
pub objective: ObjectiveSource,
pub eval_episodes: usize,
pub overlay: BTreeMap<String, String>,
pub seed: u64,
pub trial_number: u64,
pub deadline: Option<Instant>,
}Expand description
Everything the child needs to evaluate one trial replicate.
Fields§
§oniro_cli: PathBufThe oniro_cli binary (or a contract-compatible stand-in) to invoke.
base_config: StringThe base RunConfig TOML text the overlay is layered onto.
run_root: PathBufThe directory oniro run directories (and the trial config) are written under.
objective: ObjectiveSourceThe objective source: greedy eval or meta.json.
eval_episodes: usizeThe greedy episode count for eval mode.
overlay: BTreeMap<String, String>The sampled values, keyed by dotted config path (already rendered).
seed: u64The replicate’s seed (ATUNE_SEED), written into run.seed.
trial_number: u64The trial number, used to make the run directory unique across trials.
deadline: Option<Instant>One absolute monotonic deadline shared by training and metric
collection. None is reserved for callers that intentionally accept
the runtime’s seven-day default.
Trait Implementations§
§impl Clone for ChildInputs
impl Clone for ChildInputs
§fn clone(&self) -> ChildInputs
fn clone(&self) -> ChildInputs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChildInputs
impl RefUnwindSafe for ChildInputs
impl Send for ChildInputs
impl Sync for ChildInputs
impl Unpin for ChildInputs
impl UnsafeUnpin for ChildInputs
impl UnwindSafe for ChildInputs
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