Skip to content

Commit

Permalink
Merge pull request #493 from ChrisRackauckas/patch-3
Browse files Browse the repository at this point in the history
Fix forwarddiff docstring
  • Loading branch information
oxinabox authored Feb 1, 2020
2 parents a802bd5 + c8dd496 commit 6b44000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/forward.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ reshape_scalar(x::Real, y) = y[]
"""
forwarddiff(f, x) -> f(x)
Runs `f(x)` as usual, but instructs Zygote to differentiate `f` using pullback
Runs `f(x)` as usual, but instructs Zygote to differentiate `f` using forward
mode, rather than the usual reverse mode.
Forward mode takes time linear in `length(x)` but only has constant memory
Expand Down

0 comments on commit 6b44000

Please sign in to comment.