tf.summary.flush

Forces summary writer to send any buffered data to storage.

This operation blocks until that finishes.

writer The 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.
name Ignored legacy argument for a name for the operation.

The created tf.Operation.