# tf.contrib.deprecated.merge_all_summaries

<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#L596-L617) |

Merges all summaries collected in the default graph. (deprecated)

    tf.contrib.deprecated.merge_all_summaries(
        key=tf.GraphKeys.SUMMARIES
    )

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

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

<br />

<br />

<br />

| ## Args ||
|---|---|
| `key` | `GraphKey` used to collect the summaries. Defaults to `GraphKeys.SUMMARIES`. |

<br />

<br />

<br />

<br />

| ## 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. ||

<br />