jax.numpy.identity
Warning
This page was created from a pull request (#9655).
jax.numpy.identityΒΆ
- jax.numpy.identity(n, dtype=None)[source]ΒΆ
Return the identity array.
LAX-backend implementation of
identity()
.Original docstring below.
The identity array is a square array with ones on the main diagonal.