Enum MetricSource
pub enum MetricSource {
Eval {
episodes: usize,
},
FinalMetric,
}Expand description
Selects the metric produced for a completed run.
Variants§
Eval
Run greedy evaluation for episodes episodes and return its mean return.
The command adapter refuses more than MAX_EVAL_EPISODES.
FinalMetric
Read the run’s final metric from checkpoint metadata.
Trait Implementations§
§impl Clone for MetricSource
impl Clone for MetricSource
§fn clone(&self) -> MetricSource
fn clone(&self) -> MetricSource
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 MetricSource
§impl Debug for MetricSource
impl Debug for MetricSource
impl Eq for MetricSource
§impl PartialEq for MetricSource
impl PartialEq for MetricSource
impl StructuralPartialEq for MetricSource
Auto Trait Implementations§
impl Freeze for MetricSource
impl RefUnwindSafe for MetricSource
impl Send for MetricSource
impl Sync for MetricSource
impl Unpin for MetricSource
impl UnsafeUnpin for MetricSource
impl UnwindSafe for MetricSource
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