Struct burn::train::checkpoint::AsyncCheckpointer
pub struct AsyncCheckpointer<Record, B>where
B: Backend,{ /* private fields */ }
Expand description
Async checkpointer.
Implementations§
§impl<R, B> AsyncCheckpointer<R, B>
impl<R, B> AsyncCheckpointer<R, B>
pub fn new<C>(checkpointer: C) -> AsyncCheckpointer<R, B>where
C: Checkpointer<R, B> + Send + 'static,
pub fn new<C>(checkpointer: C) -> AsyncCheckpointer<R, B>where
C: Checkpointer<R, B> + Send + 'static,
Trait Implementations§
§impl<R, B> Checkpointer<R, B> for AsyncCheckpointer<R, B>
impl<R, B> Checkpointer<R, B> for AsyncCheckpointer<R, B>
Auto Trait Implementations§
impl<Record, B> Freeze for AsyncCheckpointer<Record, B>
impl<Record, B> !RefUnwindSafe for AsyncCheckpointer<Record, B>
impl<Record, B> Send for AsyncCheckpointer<Record, B>where
Record: Send,
impl<Record, B> Sync for AsyncCheckpointer<Record, B>where
Record: Send,
impl<Record, B> Unpin for AsyncCheckpointer<Record, B>
impl<Record, B> !UnwindSafe for AsyncCheckpointer<Record, B>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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