-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
import Zygote
using TransformVariables
f(y) = y.mu + y.sigma
t = as((mu = as(Real, -25, 25), sigma = asℝ₊), )
Zygote.gradient(f ∘ t, zeros(2))
(f∘t)(zeros(2))(this is the MWE for tpapp/LogDensityProblems.jl#43 (comment))
Metadata
Metadata
Assignees
Labels
No labels