Skip to content

Commit

Permalink
Fixes docs (#51439)
Browse files Browse the repository at this point in the history
Summary:
pytorch_python_doc_build is failing with:

```
Jan 31 04:30:45 /var/lib/jenkins/workspace/docs/source/notes/broadcasting.rst:6: WARNING: 'any' reference target not found: numpy.doc.broadcasting
```

this removes the incorrect reference and adds an updated link.

Pull Request resolved: #51439

Reviewed By: ngimel

Differential Revision: D26170232

Pulled By: mruberry

fbshipit-source-id: 829999db52e1e860d36d626d0d9f26e31283d14b
  • Loading branch information
Mike Ruberry authored and facebook-github-bot committed Feb 1, 2021
1 parent d1dcd5f commit 40c0fff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/notes/broadcasting.rst
Expand Up @@ -3,7 +3,8 @@
Broadcasting semantics
======================

Many PyTorch operations support :any:`NumPy Broadcasting Semantics <numpy.doc.broadcasting>`.
Many PyTorch operations support NumPy's broadcasting semantics.
See https://numpy.org/doc/stable/user/basics.broadcasting.html for details.

In short, if a PyTorch operation supports broadcast, then its Tensor arguments can be
automatically expanded to be of equal sizes (without making copies of the data).
Expand Down

0 comments on commit 40c0fff

Please sign in to comment.