W3cubDocs

/TensorFlow Python

tf.summary.merge_all

tf.summary.merge_all(
    key=tf.GraphKeys.SUMMARIES,
    scope=None
)

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

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.
  • scope: Optional scope used to filter the summary ops, using re.match

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.

Raises:

  • RuntimeError: If called with eager execution enabled.

@compatibility(eager) Not compatible with eager execution. To write TensorBoard summaries under eager execution, use tf.contrib.summary instead. @end_compatbility

© 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/summary/merge_all