Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use expm1 instead of exp - 1 (#2660)
Summary: Similarly to #2540 and #2541: use more numerically stable `expm1`. Found with TorchFix https://github.com/pytorch-labs/torchfix/. This should be the last instance to replace in the current codebase. Pull Request resolved: #2660 Reviewed By: saitcakmak Differential Revision: D67613867 Pulled By: kit1980 fbshipit-source-id: a6305f0f3ec4a3e6ec6f6f6b9c9361a61eaf06e9
- Loading branch information