Skip to content

Commit c5c1bfd

Browse files
committed
bump DifferentiableFrankWolfe compat
1 parent 1c0510f commit c5c1bfd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ InferOptFrankWolfeExt = "DifferentiableFrankWolfe"
2727
ChainRulesCore = "1"
2828
DensityInterface = "0.4.0"
2929
DifferentiableExpectations = "0.2"
30-
DifferentiableFrankWolfe = "0.2"
30+
DifferentiableFrankWolfe = "0.3"
3131
Distributions = "0.25"
3232
DocStringExtensions = "0.9.3"
3333
LinearAlgebra = "<0.0.1,1"

src/layers/perturbed/perturbation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ $TYPEDSIGNATURES
8282
8383
Compute the gradient of the logdensity of η = θ ⊙ exp(εZ - ε²/2) w.r.t. θ., with Z ∼ N(0, 1).
8484
!!! warning
85-
η should be a relization of θ, i.e. should be of the same sign.
85+
η should be a realization of θ, i.e. should be of the same sign.
8686
"""
8787
function normal_multiplicative_grad_logdensity(ε, η, θ)
8888
return (inv.(ε^2 .* θ) .* (log.(abs.(η)) - log.(abs.(θ)) .+^2 / 2)),)

0 commit comments

Comments
 (0)