Struct border_tensorboard::TensorboardRecorder
source · pub struct TensorboardRecorder { /* private fields */ }Expand description
Write records to TFRecord.
Implementations§
source§impl TensorboardRecorder
impl TensorboardRecorder
sourcepub fn new<P: AsRef<Path>>(logdir: P) -> Self
pub fn new<P: AsRef<Path>>(logdir: P) -> Self
Construct a TensorboardRecorder.
TFRecord will be stored in logdir.
sourcepub fn new_with_check_unsupported_value<P: AsRef<Path>>(logdir: P) -> Self
pub fn new_with_check_unsupported_value<P: AsRef<Path>>(logdir: P) -> Self
Construct a TensorboardRecorder with checking unsupported record value.
TFRecord will be stored in logdir.
Trait Implementations§
source§impl Recorder for TensorboardRecorder
impl Recorder for TensorboardRecorder
source§fn write(&mut self, record: Record)
fn write(&mut self, record: Record)
Write a given Record into a TFRecord.
This method handles RecordValue::Scalar and RecordValue::DateTime in the Record. Other variants will be ignored.
Auto Trait Implementations§
impl !RefUnwindSafe for TensorboardRecorder
impl Send for TensorboardRecorder
impl Sync for TensorboardRecorder
impl Unpin for TensorboardRecorder
impl !UnwindSafe for TensorboardRecorder
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