torch.linalg.det
- torch.linalg.det(A, *, out=None) → Tensor
Computes the determinant of a square matrix.
Supports input of float, double, cfloat and cdouble dtypes. Also supports batches of matrices, and if
Ais a batch of matrices then the output has the same batch dimensions.