tf.summary.merge_all(key=tf.GraphKeys.SUMMARIES)

tf.summary.merge_all(key=tf.GraphKeys.SUMMARIES)

See the guide: Summary Operations > Generation of Summaries

Merges all summaries collected in the default graph.

Args:

  • key: GraphKey used to collect the summaries. Defaults to GraphKeys.SUMMARIES.

Returns:

If no summaries were collected, returns None. Otherwise returns a scalar Tensor of type string containing the serialized Summary protocol buffer resulting from the merging.

Defined in tensorflow/python/summary/summary.py.