EnzymeAD/Enzyme.jl

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

开放

#189 创建于 2022年1月27日

 (2 条评论) (0 个反应) (0 位负责人)Julia (96 个派生)batch import
good first issuehelp wanted

仓库指标

星标
 (563 个星标)
PR 合并指标
 (平均合并 5天 1小时) (30 天内合并 76 个 PR)

描述

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.

贡献者指南