Enum Evaluation
#[non_exhaustive]pub enum Evaluation {
Checkpoint,
Recipe,
}Expand description
Which final-stage estimand an evaluation computes.
Read by the objective through
TrialCtx::evaluation; a
Subprocess child reads its name from
ATUNE_EVALUATE. Configuration re-evaluation
(Study::reevaluate) is not one of
these: it is an ordinary fresh run, and the context reports None.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Checkpoint
Evaluate the trial’s latest checkpoint, without training. The context’s
parent_checkpoint is
that checkpoint.
Recipe
Train afresh following the trial’s recipe, readable through
TrialCtx::recipe.
Implementations§
§impl Evaluation
impl Evaluation
Trait Implementations§
§impl Clone for Evaluation
impl Clone for Evaluation
§fn clone(&self) -> Evaluation
fn clone(&self) -> Evaluation
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 moreimpl Copy for Evaluation
§impl Debug for Evaluation
impl Debug for Evaluation
§impl<'de> Deserialize<'de> for Evaluation
impl<'de> Deserialize<'de> for Evaluation
§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
impl Eq for Evaluation
§impl Hash for Evaluation
impl Hash for Evaluation
§impl Ord for Evaluation
impl Ord for Evaluation
§fn cmp(&self, other: &Evaluation) -> Ordering
fn cmp(&self, other: &Evaluation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for Evaluation
impl PartialEq for Evaluation
§impl PartialOrd for Evaluation
impl PartialOrd for Evaluation
§impl Serialize for Evaluation
impl Serialize for Evaluation
impl StructuralPartialEq for Evaluation
Auto Trait Implementations§
impl Freeze for Evaluation
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnsafeUnpin for Evaluation
impl UnwindSafe for Evaluation
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