W3cubDocs

/TensorFlow Python

tf.contrib.summary.SummaryWriter

Class SummaryWriter

Defined in tensorflow/contrib/summary/summary_ops.py.

Encapsulates a stateful summary writer resource.

See also: - tf.contrib.summary.create_file_writer - tf.contrib.summary.create_db_writer

Methods

__init__

__init__(resource)

Initialize self. See help(type(self)) for accurate signature.

as_default

as_default()

Enables summary writing within a with block.

set_as_default

set_as_default()

Enables this summary writer for the current thread.

© 2018 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/api_docs/python/tf/contrib/summary/SummaryWriter