# tf.raw_ops.PrintV2

<br />

Prints a string scalar.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.PrintV2(
        input, output_stream='stderr', end='\n', name=None
    )

Prints a string scalar to the desired output_stream.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input` | A `Tensor` of type `string`. The string scalar to print. |
| `output_stream` | An optional `string`. Defaults to `"stderr"`. A string specifying the output stream or logging level to print to. |
| `end` | An optional `string`. Defaults to `"\n"`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The created Operation. ||

<br />