mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
.creator -> .grad_fn in the code example (#2171)
This commit is contained in:
@ -86,7 +86,7 @@ no intermediate states are saved.
|
||||
False
|
||||
>>> model(volatile_input).volatile
|
||||
True
|
||||
>>> model(volatile_input).creator is None
|
||||
>>> model(volatile_input).grad_fn is None
|
||||
True
|
||||
|
||||
How autograd encodes the history
|
||||
|
Reference in New Issue
Block a user