Skip to content

Commit

Permalink
run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-Portal committed Dec 3, 2024
1 parent 3e6ef6f commit 9ab4d89
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/objectives/elbo/scoregradelbo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,7 @@ function AdvancedVI.estimate_gradient!(
q = restructure(params)
samples = rand(rng, q, obj.n_samples)
ℓπ = map(Base.Fix1(LogDensityProblems.logdensity, prob), eachsample(samples))
aux = (
adtype=adtype,
logprob=ℓπ,
restructure=restructure,
samples=samples,
)
aux = (adtype=adtype, logprob=ℓπ, restructure=restructure, samples=samples)
AdvancedVI.value_and_gradient!(
adtype, estimate_scoregradelbo_ad_forward, params, aux, out
)
Expand Down

0 comments on commit 9ab4d89

Please sign in to comment.