Trait burn::train::logger::MetricLogger
pub trait MetricLogger: Send {
// Required methods
fn log(&mut self, item: &MetricEntry);
fn end_epoch(&mut self, epoch: usize);
fn read_numeric(
&mut self,
name: &str,
epoch: usize,
) -> Result<Vec<NumericEntry>, String>;
}
Expand description
Metric logger.
Required Methods§
fn log(&mut self, item: &MetricEntry)
fn log(&mut self, item: &MetricEntry)
fn read_numeric(
&mut self,
name: &str,
epoch: usize,
) -> Result<Vec<NumericEntry>, String>
fn read_numeric( &mut self, name: &str, epoch: usize, ) -> Result<Vec<NumericEntry>, String>
Read the logs for an epoch.