# tf.raw_ops.Identity

<br />

Return a tensor with the same shape and contents as the input tensor or value.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.Identity(
        input, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input` | A `Tensor`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor`. Has the same type as `input`. ||

<br />