tf.summary.flush

View source on GitHub

Forces summary writer to send any buffered data to storage.

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

This operation blocks until that finishes.

Args:

Returns:

The created tf.Operation.