W3cubDocs

/TensorFlow 2.9

tf.summary.create_file_writer

Creates a summary file writer for the given log directory.

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.
Returns
A SummaryWriter object.

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/summary/create_file_writer