Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use log1p(x) instead of log(1+x) (#1401)
This function is more accurate than torch.log() for small values of input - https://pytorch.org/docs/stable/generated/torch.log1p.html Found with TorchFix https://github.com/pytorch-labs/torchfix/ Signed-off-by: Sergii Dymchenko <[email protected]> Co-authored-by: Xiaowei Ren <[email protected]> Co-authored-by: Tim Moon <[email protected]>
- Loading branch information