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

Why do we need logit_laplace_eps in utils.py? #37

Closed
cientgu opened this issue Jul 4, 2021 · 2 comments
Closed

Why do we need logit_laplace_eps in utils.py? #37

cientgu opened this issue Jul 4, 2021 · 2 comments

Comments

@cientgu
Copy link

cientgu commented Jul 4, 2021

What's the meaning of logit_laplace_eps here since both the input and output are [0,1] tensors.

return (1 - 2 * logit_laplace_eps) * x + logit_laplace_eps

@crowsonkb
Copy link

See page 13 of the paper (https://arxiv.org/pdf/2102.12092.pdf#page=13): Screen Shot 2021-07-07 at 4 10 59 AM

It takes a [0,1] tensor as input and outputs an [0.1,0.9] tensor.

@cientgu
Copy link
Author

cientgu commented Jul 7, 2021

See page 13 of the paper (https://arxiv.org/pdf/2102.12092.pdf#page=13): Screen Shot 2021-07-07 at 4 10 59 AM

It takes a [0,1] tensor as input and outputs an [0.1,0.9] tensor.

I got it, thanks a lot!

@cientgu cientgu closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants