diff options
| author | Yong He <yonghe@outlook.com> | 2023-03-14 09:33:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-14 09:33:16 -0700 |
| commit | 176eaa9f7770ad81cbd71def8a1551d6237167bd (patch) | |
| tree | 0e7efcb0765ccf9e8547e5b97752736cddf4ec2b /docs | |
| parent | e291f60c6b083eaa74aed5307a6e9461274c1642 (diff) | |
Update 07-autodiff.md
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user-guide/07-autodiff.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user-guide/07-autodiff.md b/docs/user-guide/07-autodiff.md index 6f2bdc447..5d3877830 100644 --- a/docs/user-guide/07-autodiff.md +++ b/docs/user-guide/07-autodiff.md @@ -87,7 +87,7 @@ var x = diffPair(3.0); // constructs DifferentialPair{3.0, 0.0} __bwd_diff(myFunc)(a, x, 1.0); -// a.d is now 1.0 +// a.d is now 9.0 // x.d is now 12.0 ``` |
