tf.compat.v2.summary.flush

Forces summary writer to send any buffered data to storage.

Main aliases

`tf.contrib.summary.flush`

This operation blocks until that finishes.

writer The tf.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).

The created tf.Operation.