det

abstract fun Tensor<T>.det(): Tensor<T>

Computes the determinant of a square matrix input, or of each square matrix in a batched input. For more information: https://pytorch.org/docs/stable/linalg.html#torch.linalg.det

Return

the determinant.

Sources

common source
Link copied to clipboard