EnzymeAD/Enzyme.jl

Duplicated for `mutable` and `Dual` for forward.

Offen

#189 geöffnet am 27.01.2022

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Julia (96 Forks)batch import
good first issuehelp wanted

Repository-Metriken

Stars
 (563 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 5T 1h) (76 gemergte PRs in 30 T)

Beschreibung

Right now the user can accidentally pass in Duplicated(1.0, 0.0) to autodiff, which is odd and surprising since duplicated is for the shadow storage loacation and 0.0 is immutable and can't be changed on the Julia semantics level. We should use a separate type e.g. Dual for forward diff.

Contributor Guide