Interface representing a stateful summary writer object.
as_default
@abc.abstractmethod @tf_contextlib.contextmanager as_default()
Returns a context manager that enables summary writing.
close
close()
Flushes and closes the summary writer.
flush
flush()
Flushes any buffered data.
init
init()
Initializes the summary writer.
set_as_default
@abc.abstractmethod set_as_default()
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