# tf.compat.v1.summary.get_summary_description

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.14.0/tensorflow/python/summary/summary.py#L766-L793) |

Given a TensorSummary node_def, retrieve its SummaryDescription.

    tf.compat.v1.summary.get_summary_description(
        node_def
    )

When a Summary op is instantiated, a SummaryDescription of associated
metadata is stored in its NodeDef. This method retrieves the description.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `node_def` | the node_def_pb2.NodeDef of a TensorSummary op |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| a summary_pb2.SummaryDescription ||

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| `ValueError` | if the node is not a summary op. |

<br />

<br />

## eager compatibility

<br />

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

<br />

<br />