Skip to content

Commit

Permalink
Backport PR #1445: Remove softplus in AmortizedLDA for cell topic var…
Browse files Browse the repository at this point in the history
…iance
  • Loading branch information
justjhong authored and meeseeksmachine committed Mar 20, 2022
1 parent 54b0560 commit ba22ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scvi/module/_amortizedlda.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def forward(
pyro.sample(
"log_cell_topic_dist",
dist.Normal(
cell_topic_posterior_mu, F.softplus(cell_topic_posterior_sigma)
cell_topic_posterior_mu, cell_topic_posterior_sigma
).to_event(1),
)

Expand Down

0 comments on commit ba22ce2

Please sign in to comment.