TensorFlow 2.0 RC is available Learn more

tf.compat.v2.summary.SummaryWriter

View source on GitHub

Class SummaryWriter

Interface representing a stateful summary writer object.

Aliases:

  • Class tf.contrib.summary.SummaryWriter

Methods

as_default

View source

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.