dpnp.eye
- dpnp.eye(N, M=None, k=0, dtype=None, order='C', **kwargs)[source]
Return a 2-D array with ones on the diagonal and zeros elsewhere. For full documentation refer to
numpy.eye
.Limitations
Input array is supported as
dpnp.ndarray
. Parametersorder
is supported only with default value.