mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Tweak 'detach' docstring. (#5292)
This commit is contained in:
committed by
Soumith Chintala
parent
f51e284408
commit
c71c84ee04
@ -197,8 +197,8 @@ class Variable(_C._VariableBase):
|
||||
|
||||
.. note::
|
||||
|
||||
Returned Variable uses the same data tensor, as the original one, and
|
||||
in-place modifications on either of them will be seen, and may trigger
|
||||
Returned Variable uses the same data tensor as the original one.
|
||||
In-place modifications on either of them will be seen, and may trigger
|
||||
errors in correctness checks.
|
||||
""")
|
||||
|
||||
|
Reference in New Issue
Block a user