Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use log1p(x) instead of log(1+x) #1286

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Use log1p(x) instead of log(1+x) #1286

merged 1 commit into from
Sep 19, 2024

Conversation

kit1980
Copy link
Member

@kit1980 kit1980 commented Sep 17, 2024

This function is more accurate than torch.log() for small values of input - https://pytorch.org/docs/stable/generated/torch.log1p.html

Found with https://github.com/pytorch-labs/torchfix/

This function is more accurate than torch.log() for small values of input - https://pytorch.org/docs/stable/generated/torch.log1p.html

Found with https://github.com/pytorch-labs/torchfix/
Copy link

netlify bot commented Sep 17, 2024

Deploy Preview for pytorch-examples-preview canceled.

Name Link
🔨 Latest commit 2e28e73
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-examples-preview/deploys/66e8cdf50a09ef00085abe92

@kit1980 kit1980 merged commit cdef4d4 into main Sep 19, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants