tf.compat.v2.summary.SummaryWriter

Interface representing a stateful summary writer object.

Main aliases

`tf.contrib.summary.SummaryWriter`

Methods

as_default

View source

Returns a context manager that enables summary writing.

close

View source

Flushes and closes the summary writer.

flush

View source

Flushes any buffered data.

init

View source

Initializes the summary writer.

set_as_default

View source

Enables this summary writer for the current thread.