Struct LedgerEntry
#[non_exhaustive]pub struct LedgerEntry {
pub trial: TrialId,
pub number: TrialNumber,
pub state: TrialState,
pub trained: u64,
pub lineage: u64,
pub age: u64,
pub evaluations: Vec<LedgerEvaluation>,
}Expand description
One trial’s line of a ResourceLedger.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.trial: TrialIdStorage-global identity.
number: TrialNumberPer-study number.
state: TrialStateThe trial’s lifecycle state: pruned, failed, and replaced members are charged like any other.
trained: u64The resource this trial trained itself and is charged for: its highest
reported step less the step of the checkpoint it started from (0
for a root, a fresh restart, a child that started without a
checkpoint, or a trial without an atune.lineage record).
lineage: u64The resource its lineage represents: its highest reported step, which
is where its Recipe ends (0 before it
reports).
age: u64The resource trained since initialization or the last restart: the lineage resource less the step of the most recent shrink-and-perturb restart along its inherited checkpoints, if any.
evaluations: Vec<LedgerEvaluation>Each stored evaluation stage with its replicate count, configuration first.
Trait Implementations§
§impl Clone for LedgerEntry
impl Clone for LedgerEntry
§fn clone(&self) -> LedgerEntry
fn clone(&self) -> LedgerEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more