Skip to content

Commit

Permalink
MAINT, DOC: Trivial spellings and warnings (pytorch#72745)
Browse files Browse the repository at this point in the history
Summary:
Fixes N/A.
Just minor annoyances.

Pull Request resolved: pytorch#72745

Reviewed By: samdow

Differential Revision: D34216016

Pulled By: albanD

fbshipit-source-id: b65600b50e41a1dd7bf7d076b0dd3e2d1c99caf9
(cherry picked from commit b959392)
  • Loading branch information
HaoZeke authored and pytorchmergebot committed Feb 14, 2022
1 parent 831cb4b commit 801abc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion c10/util/Optional.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// C10
// - Move file to `c10` namespace.
// - Remove macro use in line 478 because the nvcc device compiler cannot handle
// it it.
// it.
// - Revise constructor logic so that it is 1) consistent with c++ 17 standard
// documented here in (8):
// https://en.cppreference.com/w/cpp/utility/optional/optional, and 2) able to
Expand Down
2 changes: 1 addition & 1 deletion docs/source/notes/extending.rst
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ Extending :mod:`torch` with a :class:`Tensor`-like type

.. note:: This functionality is inspired by the NumPy ``__array_function__``
protocol. See `the NumPy documentation
<https://docs.scipy.org/doc/numpy/user/basics.dispatch.html#basics-dispatch>`_
<https://numpy.org/doc/stable/user/basics.dispatch.html#basics-dispatch>`_
and `NEP-0018
<https://numpy.org/neps/nep-0018-array-function-protocol.html>`_ for
more details.
Expand Down

0 comments on commit 801abc0

Please sign in to comment.