Skip to content

Commit

Permalink
fix tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Portal committed Jan 9, 2024
1 parent 69de864 commit 06483ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -71,7 +71,7 @@ n_dims = 10
model = NormalLogNormal(μ_x, σ_x, μ_y, Diagonal(σ_y.^2))
```

We can perform VI with stochastic gradient descent (SGD) using reparameterization gradient estimates of the ELBO[^TL2014][^RMW2014][[^KW2014]] as follows:
We can perform VI with stochastic gradient descent (SGD) using reparameterization gradient estimates of the ELBO[^TL2014][^RMW2014][^KW2014] as follows:
```julia
using Optimisers
using ADTypes, ForwardDiff
Expand All @@ -96,7 +96,7 @@ q_trans = Bijectors.TransformedDistribution(q, binv)
# Run inference
max_iter = 10^3
q, stats, _ = AdvancedVI.optimize(
model,
model,
elbo,
q_trans,
max_iter;
Expand Down

0 comments on commit 06483ca

Please sign in to comment.