tf.contrib.summary.create_file_writer
Stay organized with collections
Save and categorize content based on your preferences.
Creates a summary file writer in the current context under the given name.
tf.contrib.summary.create_file_writer(
logdir, max_queue=None, flush_millis=None, filename_suffix=None, name=None
)
Args |
logdir
|
a string, or None. If a string, creates a summary file writer
which writes to the directory named by the string. If None, returns
a mock object which acts like a summary writer but does nothing,
useful to use as a context manager.
|
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
|
Shared name for this SummaryWriter resource stored to default
Graph. Defaults to the provided logdir prefixed with logdir: . Note: if a
summary writer resource with this shared name already exists, the returned
SummaryWriter wraps that resource and the other arguments have no effect.
|
Returns |
Either a summary writer or an empty object which can be used as a
summary writer.
|
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.
[[["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 2020-10-01 UTC."],[],[]]