PytorchBackend.tril_indices#

PytorchBackend.tril_indices(*args, **kwargs)#

Compute indices of upper triangular matrix

Parameters:
arrBackendArray

Input array.

dtypetype

Target data type.

Returns:
BackendArray

Flipped version of arr.