.creator -> .grad_fn in the code example (#2171)

This commit is contained in:
ngimel
2017-07-21 11:43:16 -07:00
committed by Soumith Chintala
parent ea607afd06
commit 66bbe5d75a

View File

@ -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