tf.contrib.summary.create_file_writer(
logdir,
max_queue=None,
flush_millis=None,
filename_suffix=None,
name=None
)
Defined in tensorflow/contrib/summary/summary_ops.py.
Creates a summary file writer in the current context.
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.flush_millis: the largest interval between flushes.filename_suffix: optional suffix for the event file name.name: Shared name for this SummaryWriter resource stored to default Graph.Either a summary writer or an empty object which can be used as a summary writer.
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/summary/create_file_writer