pub struct RemoteMetricLogger { /* private fields */ }Expand description
Remote implementation for burn MetricLogger trait.
Implementations§
Source§impl RemoteMetricLogger
impl RemoteMetricLogger
pub fn new(experiment: &ExperimentRun) -> RemoteMetricLogger
Trait Implementations§
Source§impl MetricLogger for RemoteMetricLogger
impl MetricLogger for RemoteMetricLogger
Source§fn read_numeric(
&mut self,
_name: &str,
_epoch: usize,
_split: Split,
) -> Result<Vec<NumericEntry>, String>
fn read_numeric( &mut self, _name: &str, _epoch: usize, _split: Split, ) -> Result<Vec<NumericEntry>, String>
Read the logs for an epoch.
Source§fn log(
&mut self,
update: MetricsUpdate,
epoch: usize,
split: Split,
_tag: Option<Arc<String>>,
)
fn log( &mut self, update: MetricsUpdate, epoch: usize, split: Split, _tag: Option<Arc<String>>, )
Logs an item. Read more
Source§fn log_metric_definition(&mut self, definition: MetricDefinition)
fn log_metric_definition(&mut self, definition: MetricDefinition)
Logs the metric definition information (name, description, unit, etc.)
Source§fn log_epoch_summary(&mut self, summary: EpochSummary)
fn log_epoch_summary(&mut self, summary: EpochSummary)
Logs summary at the end of the epoch.
Auto Trait Implementations§
impl Freeze for RemoteMetricLogger
impl !RefUnwindSafe for RemoteMetricLogger
impl Send for RemoteMetricLogger
impl Sync for RemoteMetricLogger
impl Unpin for RemoteMetricLogger
impl !UnwindSafe for RemoteMetricLogger
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> 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