Enum ObjectiveSource
pub enum ObjectiveSource {
Eval,
Meta,
}Expand description
Where the trial’s objective is read from.
Variants§
Eval
oniro_cli eval’s mean_return (greedy, RNG-free). The default.
Meta
checkpoints/meta.json::final_metric (the training run’s final metric).
Implementations§
§impl ObjectiveSource
impl ObjectiveSource
pub const fn as_str(self) -> &'static str
pub const fn as_str(self) -> &'static str
The handshake string this source is written as in ENV_OBJECTIVE.
Trait Implementations§
§impl Clone for ObjectiveSource
impl Clone for ObjectiveSource
§fn clone(&self) -> ObjectiveSource
fn clone(&self) -> ObjectiveSource
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 ObjectiveSource
§impl Debug for ObjectiveSource
impl Debug for ObjectiveSource
§impl Default for ObjectiveSource
impl Default for ObjectiveSource
§fn default() -> ObjectiveSource
fn default() -> ObjectiveSource
Returns the “default value” for a type. Read more
impl Eq for ObjectiveSource
§impl FromStr for ObjectiveSource
impl FromStr for ObjectiveSource
§impl PartialEq for ObjectiveSource
impl PartialEq for ObjectiveSource
impl StructuralPartialEq for ObjectiveSource
Auto Trait Implementations§
impl Freeze for ObjectiveSource
impl RefUnwindSafe for ObjectiveSource
impl Send for ObjectiveSource
impl Sync for ObjectiveSource
impl Unpin for ObjectiveSource
impl UnsafeUnpin for ObjectiveSource
impl UnwindSafe for ObjectiveSource
Blanket Implementations§
impl<T> Boilerplate for T
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