adavoudi / spdnet

Implementation of Deep SPDNet in pytorch
MIT License
58 stars 11 forks source link

Determinant of a SPD matrix #2

Closed adavoudi closed 6 years ago

adavoudi commented 6 years ago

torch.potrf(a).diag().prod()

https://discuss.pytorch.org/t/how-to-calculate-the-determinant-of-a-variable/1393/5