Trait burn::train::logger::LoggerBackend

pub trait LoggerBackend {
    type Logger<T>: Logger<T>;

    // Required method
    fn create<T>(&self, epoch: usize) -> Self::Logger<T>;
}
Expand description

The logger backend trait.

Required Associated Types§

type Logger<T>: Logger<T>

The logger type.

Required Methods§

fn create<T>(&self, epoch: usize) -> Self::Logger<T>

Create a new logger.

§Arguments
  • epoch - The epoch.
§Returns

The logger.

Object Safety§

This trait is not object safe.

Implementors§