pub struct RemoteCheckpointRecorder { /* private fields */ }Expand description
Remote implementation for burn Recorder, FileRecorder traits.
Implementations§
Source§impl RemoteCheckpointRecorder
impl RemoteCheckpointRecorder
pub fn new(experiment: &ExperimentRun) -> RemoteCheckpointRecorder
Trait Implementations§
Source§impl Clone for RemoteCheckpointRecorder
impl Clone for RemoteCheckpointRecorder
Source§fn clone(&self) -> RemoteCheckpointRecorder
fn clone(&self) -> RemoteCheckpointRecorder
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 RemoteCheckpointRecorder
impl Debug for RemoteCheckpointRecorder
Source§impl Default for RemoteCheckpointRecorder
impl Default for RemoteCheckpointRecorder
Source§fn default() -> RemoteCheckpointRecorder
fn default() -> RemoteCheckpointRecorder
Returns the “default value” for a type. Read more
Source§impl<B> FileRecorder<B> for RemoteCheckpointRecorderwhere
B: Backend,
impl<B> FileRecorder<B> for RemoteCheckpointRecorderwhere
B: Backend,
Source§fn file_extension() -> &'static str
fn file_extension() -> &'static str
File extension of the format used by the recorder.
Source§impl<B> Recorder<B> for RemoteCheckpointRecorderwhere
B: Backend,
impl<B> Recorder<B> for RemoteCheckpointRecorderwhere
B: Backend,
Source§type Settings = FullPrecisionSettings
type Settings = FullPrecisionSettings
Type of the settings used by the recorder.
Source§type RecordArgs = PathBuf
type RecordArgs = PathBuf
Arguments used to record objects.
Source§type RecordOutput = ()
type RecordOutput = ()
Record output type.
Source§fn record<R>(
&self,
record: R,
args: <RemoteCheckpointRecorder as Recorder<B>>::RecordArgs,
) -> Result<<RemoteCheckpointRecorder as Recorder<B>>::RecordOutput, RecorderError>where
R: Record<B>,
fn record<R>(
&self,
record: R,
args: <RemoteCheckpointRecorder as Recorder<B>>::RecordArgs,
) -> Result<<RemoteCheckpointRecorder as Recorder<B>>::RecordOutput, RecorderError>where
R: Record<B>,
Records an item. Read more
Source§fn load<R>(
&self,
args: <RemoteCheckpointRecorder as Recorder<B>>::LoadArgs,
_device: &<B as Backend>::Device,
) -> Result<R, RecorderError>where
R: Record<B>,
fn load<R>(
&self,
args: <RemoteCheckpointRecorder as Recorder<B>>::LoadArgs,
_device: &<B as Backend>::Device,
) -> Result<R, RecorderError>where
R: Record<B>,
Load an item from the given arguments.
Source§fn save_item<I>(
&self,
_item: I,
_args: <RemoteCheckpointRecorder as Recorder<B>>::RecordArgs,
) -> Result<<RemoteCheckpointRecorder as Recorder<B>>::RecordOutput, RecorderError>where
I: Serialize,
fn save_item<I>(
&self,
_item: I,
_args: <RemoteCheckpointRecorder as Recorder<B>>::RecordArgs,
) -> Result<<RemoteCheckpointRecorder as Recorder<B>>::RecordOutput, RecorderError>where
I: Serialize,
Saves an item. Read more
Source§fn load_item<I>(
&self,
_args: &mut <RemoteCheckpointRecorder as Recorder<B>>::LoadArgs,
) -> Result<I, RecorderError>where
I: DeserializeOwned,
fn load_item<I>(
&self,
_args: &mut <RemoteCheckpointRecorder as Recorder<B>>::LoadArgs,
) -> Result<I, RecorderError>where
I: DeserializeOwned,
Loads an item. Read more
Auto Trait Implementations§
impl Freeze for RemoteCheckpointRecorder
impl !RefUnwindSafe for RemoteCheckpointRecorder
impl Send for RemoteCheckpointRecorder
impl Sync for RemoteCheckpointRecorder
impl Unpin for RemoteCheckpointRecorder
impl !UnwindSafe for RemoteCheckpointRecorder
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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