# tf.raw_ops.TensorSummaryV2

<br />

Outputs a `Summary` protocol buffer with a tensor and per-plugin data.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.TensorSummaryV2`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/TensorSummaryV2)

<br />

    tf.raw_ops.TensorSummaryV2(
        tag, tensor, serialized_summary_metadata, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `tag` | A `Tensor` of type `string`. A string attached to this summary. Used for organization in TensorBoard. |
| `tensor` | A `Tensor`. A tensor to serialize. |
| `serialized_summary_metadata` | A `Tensor` of type `string`. A serialized SummaryMetadata proto. Contains plugin data. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `string`. ||

<br />