jax.numpy.triu_indices_fromΒΆ
-
jax.numpy.
triu_indices_from
(arr, k=0)[source]ΒΆ Return the indices for the upper-triangle of arr.
LAX-backend implementation of
triu_indices_from()
. Original docstring below.See triu_indices for full details.
- Parameters
- Returns
triu_indices_from β Indices for the upper-triangle of arr.
- Return type
tuple, shape(2) of ndarray, shape(N)
See also
Notes
New in version 1.4.0.