fix typo
authorMark Pare <mark.p.pare@gmail.com>
Tue, 2 Apr 2019 14:48:45 +0000 (07:48 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 2 Apr 2019 14:51:30 +0000 (07:51 -0700)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/18653

Differential Revision: D14713920

Pulled By: ezyang

fbshipit-source-id: 170295a162dd23916c1dcc9330918d33277cc9ed

torch/_tensor_docs.py

index bc90d94..6b18148 100644 (file)
@@ -3111,7 +3111,7 @@ Example::
     >>> f = torch.rand(10, requires_grad=True, device="cuda")
     >>> f.is_leaf
     True
-    # f requires grad, has not operation creating it
+    # f requires grad, has no operation creating it
 
 
 """)