tf.summary.merge

Merges summaries.

This op creates a Summary protocol buffer that contains the union of all the values in the input summaries.

When the Op is run, it reports an InvalidArgument error if multiple values in the summaries to merge use the same tag.

Args
inputs A list of string Tensor objects containing serialized Summary protocol buffers.
collections Optional list of graph collections keys. The new summary op is added to these collections. Defaults to [].
name A name for the operation (optional).
Returns
A scalar Tensor of type string. The serialized Summary protocol buffer resulting from the merging.
Raises
RuntimeError If called with eager mode enabled.

Eager Compatibility

Not compatible with eager execution. To write TensorBoard summaries under eager execution, use tf.contrib.summary instead.

© 2020 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/versions/r1.15/api_docs/python/tf/summary/merge