W3cubDocs

/TensorFlow Python

tf.contrib.summary.flush

tf.contrib.summary.flush(
    writer=None,
    name=None
)

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

Forces summary writer to send any buffered data to storage.

This operation blocks until that finishes.

Args:

  • writer: The tf.contrib.summary.SummaryWriter resource to flush. The thread default will be used if this parameter is None. Otherwise a tf.no_op is returned.
  • name: A name for the operation (optional).

Returns:

The created tf.Operation.

© 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/flush