Improve numerical precision of (s)logdet (#18449)
authorTongzhou Wang <tongzhou.wang.1994@gmail.com>
Tue, 26 Mar 2019 22:25:26 +0000 (15:25 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 26 Mar 2019 22:32:14 +0000 (15:32 -0700)
commit5292685d2f144d9781ab8b7991c0a1153098a477
tree144efc970f414df661b90727f96479ded7eda5c7
parent436723122e646b1100a07f04a59043a58a8bd1f0
Improve numerical precision of (s)logdet (#18449)

Summary:
Fixes https://github.com/pytorch/pytorch/issues/18448 and https://github.com/pytorch/pytorch/issues/18450
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18449

Differential Revision: D14611638

Pulled By: soumith

fbshipit-source-id: 4f1f27ab5316a92d2783e734169f599afed743cf
aten/src/ATen/native/LinearAlgebra.cpp
test/test_cuda.py
test/test_torch.py