Skip to content

Commit df79631

Browse files
apaszkesoumith
authored andcommitted
Fix a mistake in autograd docs
1 parent 95f0fa8 commit df79631

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/source/autograd.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ under heavy memory pressure, you might never need to use them.
6060
There are two reasons that limit the applicability of in-place operations:
6161

6262
1. Overwriting values required to compute gradients. This is the main reason
63-
why variables don't support ``exp_`` and ``log_``. Their gradient formulas
64-
require the original input, and while it could be possible to recreate it
65-
by taking the inverse operation, it is numerically unstable, and requires
66-
additional work that often defeats the purpose of using these functions.
63+
why variables don't support ``log_``. Its gradient formula requires the
64+
original input, and while it is possible to recreate it by doing the
65+
inverse operation, it is numerically unstable, and requires additional
66+
work that often defeats the purpose of using these functions.
6767

6868
2. Every in-place operation actually requires the implementation to rewrite the
6969
computational graph. Out-of-places version simply allocate new objects and

0 commit comments

Comments
 (0)