Struct syntaxdot_summary::SummaryWriter
source · pub struct SummaryWriter<W> { /* private fields */ }
Expand description
TensorBoard summary writer.
Implementations§
source§impl SummaryWriter<BufWriter<File>>
impl SummaryWriter<BufWriter<File>>
sourcepub fn from_prefix(path: impl Into<PathBuf>) -> Result<Self>
pub fn from_prefix(path: impl Into<PathBuf>) -> Result<Self>
Construct a writer from a path prefix.
For instance, a path such as tensorboard/bert/opt
will create
the directory tensorboard/bert
if it does not exist. Within that
directory, it will write to the file
opt.out.tfevents.<timestamp>.<hostname>
.