Summary reference
Writing event files
TensorFlow.summary.FileWriter
— Type.FileWriter(logdir; graph=get_def_graph())
The FileWriter
type provides a mechanism to create an event file in a given directory and add summaries and events to it. The class updates the file contents asynchronously. This allows a training program to call methods to add data to the file directly from the training loop, without slowing down training.
On construction the summary writer creates a new event file in logdir
.
If you pass a Graph
to the constructor it is added to the event file.
Arguments:
logdir: A string. Directory where event file will be written.
graph: A
Graph
object.
Summary operations
TensorFlow.summary.summary_ops.scalar
— Function. scalar_summary(tags, values)
TensorFlow.summary.summary_ops.histogram
— Function. histogram_summary(tag, values)
TensorFlow.summary.summary_ops.image
— Function. image_summary(tag, tensor; max_images=3, bad_color=?)
TensorFlow.summary.summary_ops.merge_all
— Function.merge_all(key=:Summaries)
Merges all summaries collected in the default graph.
Args: key
: GraphKey
used to collect the summaries. Defaults to :Summaries
Returns: If no summaries were collected, returns nothing. Otherwise returns a scalar Tensor
of type String
containing the serialized Summary
protocol buffer resulting from the merging.