tf.summary.flush

Forces summary writer to send any buffered data to storage.

This operation blocks until that finishes.

writerThe tf.summary.SummaryWriter to flush. If None, the current default writer will be used instead; if there is no current writer, this returns tf.no_op.
nameIgnored legacy argument for a name for the operation.

The created tf.Operation.