Typo on 'Introduction to PyTorch Tensors' page

Open Beginner friendly
#3,919 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
78/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Quiet
Tech stack
python
Domain
documentation

Research direction

Open the linked Introduction to PyTorch Tensors page and locate the sentence containing “binary operation on tensors if dissimilar shape.” Correct “if” to “of” in the tutorial source, then verify that the rendered page uses the corrected wording.

Written by the indexing model from the issue text.

Description

'if' rather than 'of'

page: https://docs.pytorch.org/tutorials/beginner/introyt/tensors_deeper_tutorial.html

"It’s important to note here that all of the tensors in the previous code cell were of identical shape. What happens when we try to perform a binary operation on tensors if dissimilar shape?"

Dominant language
Python
Stars
9.3k
Forks
4.4k
Avg merge
1d 21h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pytorch/tutorials

All issues in pytorch/tutorials

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.