# tf.raw_ops.NonDeterministicInts

<br />

Non-deterministically generates some integers.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.NonDeterministicInts(
        shape,
        dtype=https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/dtypes#int64,
        name=None
    )

This op may use some OS-provided source of non-determinism (e.g. an RNG), so each execution will give different results.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `shape` | A `Tensor`. The shape of the output tensor. |
| `dtype` | An optional [`tf.DType`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/dtypes/DType). Defaults to [`tf.int64`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf#int64). The type of the output. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

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

<br />