Closed CarloLucibello closed 1 year ago
The limitations of Zygote in handling dictionaries is a problem for heterographs. This improves things a bit by making Dict(::Pairs...) differentiable. Predates https://github.com/JuliaDiff/ChainRules.jl/pull/648, to be removed when it is merged.
The limitations of Zygote in handling dictionaries is a problem for heterographs. This improves things a bit by making Dict(::Pairs...) differentiable. Predates https://github.com/JuliaDiff/ChainRules.jl/pull/648, to be removed when it is merged.