cupy.tril_indices_from#
- cupy.tril_indices_from(arr, k=0)[source]#
Returns the indices for the lower-triangle of arr.
- Parameters:
arr (cupy.ndarray) – The indices are valid for square arrays whose dimensions are the same as arr.
k (int, optional) – Diagonal offset.
See also