W3cubDocs

/TensorFlow Python

tf.summary.merge(inputs, collections=None, name=None)

tf.summary.merge(inputs, collections=None, name=None)

See the guide: Summary Operations > Generation of Summaries

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.

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

© 2017 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