# tf.experimental.numpy.eye

<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/ops/numpy_ops/np_array_ops.py#L97-L126) |

TensorFlow variant of NumPy's `eye`.

    tf.experimental.numpy.eye(
        N, M=None, k=0, dtype=float
    )

Unsupported arguments: `order`, `like`.

See the NumPy documentation for [`numpy.eye`](https://numpy.org/doc/stable/reference/generated/numpy.eye.html).