tf.compat.v2.summary.SummaryWriter

Interface representing a stateful summary writer object.

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.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/compat/v2/summary/SummaryWriter