pub struct DontRender;Expand description
metrics renderer implementation that doesn’t actually do anything
Trait Implementations§
Source§impl Clone for DontRender
impl Clone for DontRender
Source§fn clone(&self) -> DontRender
fn clone(&self) -> DontRender
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DontRender
impl Debug for DontRender
Source§impl Default for DontRender
impl Default for DontRender
Source§fn default() -> DontRender
fn default() -> DontRender
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DontRender
impl<'de> Deserialize<'de> for DontRender
Source§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
Source§impl MetricsRenderer for DontRender
impl MetricsRenderer for DontRender
Source§fn manual_close(&mut self)
fn manual_close(&mut self)
Keep the renderer from automatically closing, requiring manual action to close it.
Source§impl MetricsRendererEvaluation for DontRender
impl MetricsRendererEvaluation for DontRender
Source§fn render_test(&mut self, _item: EvaluationProgress)
fn render_test(&mut self, _item: EvaluationProgress)
Renders the testing progress. Read more
Source§fn update_test(&mut self, _name: EvaluationName, _state: MetricState)
fn update_test(&mut self, _name: EvaluationName, _state: MetricState)
Updates the testing metric state. Read more
Source§impl MetricsRendererTraining for DontRender
impl MetricsRendererTraining for DontRender
Source§fn render_train(&mut self, _item: TrainingProgress)
fn render_train(&mut self, _item: TrainingProgress)
Renders the training progress. Read more
Source§fn render_valid(&mut self, _item: TrainingProgress)
fn render_valid(&mut self, _item: TrainingProgress)
Renders the validation progress. Read more
Source§fn update_train(&mut self, _state: MetricState)
fn update_train(&mut self, _state: MetricState)
Updates the training metric state. Read more
Source§fn update_valid(&mut self, _state: MetricState)
fn update_valid(&mut self, _state: MetricState)
Updates the validation metric state. Read more
Source§fn on_train_end(
&mut self,
summary: Option<LearnerSummary>,
) -> Result<(), Box<dyn Error>>
fn on_train_end( &mut self, summary: Option<LearnerSummary>, ) -> Result<(), Box<dyn Error>>
Callback method invoked when training ends, whether it
completed successfully or was interrupted. Read more
Source§impl Serialize for DontRender
impl Serialize for DontRender
impl Copy for DontRender
Auto Trait Implementations§
impl Freeze for DontRender
impl RefUnwindSafe for DontRender
impl Send for DontRender
impl Sync for DontRender
impl Unpin for DontRender
impl UnwindSafe for DontRender
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more