EnzymeAD/Enzyme.jl

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

Ouverte

#189 ouverte le 27 janv. 2022

 (2 commentaires) (0 réaction) (0 personne assignée)Julia (96 forks)batch import
good first issuehelp wanted

Métriques du dépôt

Stars
 (563 étoiles)
Métriques de merge PR
 (Merge moyen 5j 1h) (76 PRs mergées en 30 j)

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.

Guide contributeur