We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pytorch-flows/flows.py
Line 114 in 34a34a0
This currently matches
Line 130 in 34a34a0
The forward computation is on
Line 113 in 34a34a0
u = (inputs - m) * torch.exp(-a)
The inverse of this is
inputs = u * torch.exp(a) + m
So the log determinant jacobian of the inverse is a.sum(-1, keepdim=True) not -a.sum(-1, keepdim=True).
a.sum(-1, keepdim=True)
-a.sum(-1, keepdim=True)
Might be missing something here!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
pytorch-flows/flows.py
Line 114 in 34a34a0
This currently matches
pytorch-flows/flows.py
Line 130 in 34a34a0
The forward computation is on
pytorch-flows/flows.py
Line 113 in 34a34a0
u = (inputs - m) * torch.exp(-a)
The inverse of this is
inputs = u * torch.exp(a) + m
So the log determinant jacobian of the inverse is
a.sum(-1, keepdim=True)
not-a.sum(-1, keepdim=True)
.Might be missing something here!
The text was updated successfully, but these errors were encountered: