Skip to content

Commit

Permalink
Update Returns
Browse files Browse the repository at this point in the history
  • Loading branch information
rajasekharporeddy committed Sep 25, 2024
1 parent 33f77d3 commit b9f69f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jax/_src/numpy/lax_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -6630,8 +6630,8 @@ def trace(a: ArrayLike, offset: int | ArrayLike = 0, axis1: int = 0, axis2: int
out: Not used by JAX.
Returns:
A 0-D array for 2-D input, and in general a N-2 dimensional array for
N-dimensional input.
An array of dimension x.ndim-2 containing the sum of the diagonal elements
along axes (axis1, axis2)
See also:
- :func:`jax.numpy.diag`: Returns the specified diagonal or constructs a diagonal
Expand Down

0 comments on commit b9f69f4

Please sign in to comment.