Skip to content

Commit

Permalink
fix typo (pytorch#6329)
Browse files Browse the repository at this point in the history
  • Loading branch information
crcrpar authored and ezyang committed Apr 6, 2018
1 parent c1cd6ea commit a093ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/autograd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Variable (deprecated)
has changed:

- ``Variable(tensor)`` and ``Variable(tensor, requires_grad)`` still work as expected,
buut they return Tensors instead of Variables.
but they return Tensors instead of Variables.
- ``var.data`` is the same thing as ``tensor.data``.
- Methods such as ``var.backward(), var.detach(), var.register_hook()`` now work on tensors
with the same method names.
Expand Down

0 comments on commit a093ec9

Please sign in to comment.