tf.summary.SummaryWriter

View source on GitHub

Interface representing a stateful summary writer object.

Methods

as_default

View source

@tf_contextlib.contextmanager
as_default()

Returns a context manager that enables summary writing.

close

View source

close()

Flushes and closes the summary writer.

flush

View source

flush()

Flushes any buffered data.

init

View source

init()

Initializes the summary writer.

set_as_default

View source

set_as_default()

Enables this summary writer for the current thread.