EnzymeAD/Enzyme.jl
Duplicated for `mutable` and `Dual` for forward.
Aberta
#189 aberto em 27 de jan. de 2022
good first issuehelp wanted
Métricas do repositório
- Stars
- (563 estrelas)
- Métricas de merge de PR
- (Mesclagem média 5d 1h) (76 fundiu PRs em 30d)
Description
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.