Det
Det
torch_det(self)
self |
(Tensor) the input tensor of size |
Calculates determinant of a square matrix or batches of square matrices.
Backward through `det` internally uses SVD results when `input` is not invertible. In this case, double backward through `det` will be unstable in when `input` doesn't have distinct singular values. See `~torch.svd` for details.
if (torch_is_installed()) { A = torch_randn(c(3, 3)) torch_det(A) A = torch_randn(c(3, 2, 2)) A A$det() }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.