tf.summary.merge( inputs, collections=None, name=None )
Defined in tensorflow/python/summary/summary.py
.
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.
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).A scalar Tensor
of type string
. The serialized Summary
protocol buffer resulting from the merging.
RuntimeError
: If called with eager mode 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