tf.summary.create_file_writer
Stay organized with collections
Save and categorize content based on your preferences.
Creates a summary file writer for the given log directory.
tf.summary.create_file_writer(
logdir,
max_queue=None,
flush_millis=None,
filename_suffix=None,
name=None,
experimental_trackable=False,
experimental_mesh=None
)
Args |
logdir
|
a string specifying the directory in which to write an event file.
|
max_queue
|
the largest number of summaries to keep in a queue; will flush
once the queue gets bigger than this. Defaults to 10.
|
flush_millis
|
the largest interval between flushes. Defaults to 120,000.
|
filename_suffix
|
optional suffix for the event file name. Defaults to .v2 .
|
name
|
a name for the op that creates the writer.
|
experimental_trackable
|
a boolean that controls whether the returned writer
will be a TrackableResource , which makes it compatible with SavedModel
when used as a tf.Module property.
|
experimental_mesh
|
a tf.experimental.dtensor.Mesh instance. When running
with DTensor, the mesh (experimental_mesh.host_mesh()) will be used for
bringing all the DTensor logging from accelerator to CPU mesh.
|
Returns |
A SummaryWriter object.
|
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. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[],[]]