Closed meffmadd closed 1 year ago
Will also look into using torch.Normal
for _betatc_compute_gaussian_log_density
.
Base: 70.04% // Head: 70.04% // No change to project coverage :thumbsup:
Coverage data is based on head (
1446fd8
) compared to base (de159f2
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Sorry, for the delay getting back to you about this PR.
Good catch! Thank you so much for this contribution!
EDIT: I notice the old contributions are still part of the history, if there is anything in future it might be easier to start the commits from the main branch after synchronizing with upstream changes 😁
The code is from https://github.com/YannDubs/disentangling-vae The PyTorch implementation uses a more stable implementation than just chaining .log().sum.exp()