# tf.contrib.deprecated.merge_summary

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/logging_ops.py#L562-L593) |

Merges summaries. (deprecated)

    tf.contrib.deprecated.merge_summary(
        inputs, collections=None, name=None
    )

> [!WARNING]
> **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.merge.

This op is deprecated. Please switch to tf.compat.v1.summary.merge, which has
identical
behavior.

This op creates a
[`Summary`](https://www.tensorflow.org/code/tensorflow/core/framework/summary.proto)
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.

<br />

<br />

<br />

| ## 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 `[GraphKeys.SUMMARIES]`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A scalar `Tensor` of type `string`. The serialized `Summary` protocol buffer resulting from the merging. ||

<br />