tf.compat.v2.summary.flush
Stay organized with collections
Save and categorize content based on your preferences.
Forces summary writer to send any buffered data to storage.
View aliases
Main aliases
`tf.contrib.summary.flush`
tf.compat.v2.summary.flush(
writer=None, name=None
)
This operation blocks until that finishes.
Args |
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).
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.compat.v2.summary.flush\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/summary_ops_v2.py#L907-L932) |\n\nForces summary writer to send any buffered data to storage.\n\n#### View aliases\n\n\n**Main aliases**\n\n\\`tf.contrib.summary.flush\\`\n\n\u003cbr /\u003e\n\n tf.compat.v2.summary.flush(\n writer=None, name=None\n )\n\nThis operation blocks until that finishes.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `writer` | The [`tf.summary.SummaryWriter`](/api_docs/python/tf/summary/SummaryWriter) resource to flush. The thread default will be used if this parameter is None. Otherwise a [`tf.no_op`](../../../../tf/no_op) is returned. |\n| `name` | A name for the operation (optional). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| The created [`tf.Operation`](../../../../tf/Operation). ||\n\n\u003cbr /\u003e"]]