Skip to content

Zygote AD fails #48

@tpapp

Description

@tpapp
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))
(ft)(zeros(2))

(this is the MWE for tpapp/LogDensityProblems.jl#43 (comment))

@itsdfish

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions