tf.contrib.summary.flush(
writer=None,
name=None
)
Defined in tensorflow/python/ops/summary_ops_v2.py.
Forces summary writer to send any buffered data to storage.
This operation blocks until that finishes.
Args:
writer: Thetf.summary.SummaryWriterresource to flush. The thread default will be used if this parameter is None. Otherwise atf.no_opis returned.name: A name for the operation (optional).
Returns:
The created tf.Operation.