Skip to content

Fix typos in tensor.ipynb (fixes #115281)#2431

Open
Jah-yee wants to merge 1 commit intotensorflow:masterfrom
Jah-yee:fix/tensor-typos-115281
Open

Fix typos in tensor.ipynb (fixes #115281)#2431
Jah-yee wants to merge 1 commit intotensorflow:masterfrom
Jah-yee:fix/tensor-typos-115281

Conversation

@Jah-yee
Copy link
Copy Markdown

@Jah-yee Jah-yee commented Apr 19, 2026

Good day,

This PR addresses two typos in the Tensor tutorial (site/en/guide/tensor.ipynb):

  1. Line 688: Changed '2-rank tensor' to 'rank-2 tensor' for consistency with the document's own terminology. The document consistently uses 'rank-2 tensor' (e.g., line 151), making '2-rank tensor' an inconsistency.

  2. Line 1313: Added missing period in the string tensor comment: 'too here' → 'too. Here'

Both typos were reported in issue #115281.

Thank you for your attention. If there are any issues or suggestions, please leave a comment and I will address them promptly.

Warmly,
RoomWithOutRoof

- Change '2-rank tensor' to 'rank-2 tensor' for consistency with the document's own terminology
- Add missing period in string tensor comment

Good day,

This PR addresses two typos in the Tensor tutorial:
1. '2-rank tensor' → 'rank-2 tensor' (line 688): The document consistently uses 'rank-2 tensor' elsewhere (e.g. line 151), making '2-rank tensor' inconsistent.
2. Missing period in string tensor comment (line 1313): 'too here' → 'too. Here'

Thank you for your attention. If there are any issues or suggestions, please leave a comment and I will address them promptly.

Warmly,
RoomWithOutRoof
@Jah-yee Jah-yee requested a review from a team as a code owner April 19, 2026 15:59
@google-cla
Copy link
Copy Markdown

google-cla bot commented Apr 19, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@github-actions
Copy link
Copy Markdown

Preview

Preview and run these notebook edits with Google Colab: Rendered notebook diffs available on ReviewNB.com.

Format and style

Use the TensorFlow docs notebook tools to format for consistent source diffs and lint for style:
$ python3 -m pip install -U --user git+https://github.com/tensorflow/docs

$ python3 -m tensorflow_docs.tools.nbfmt notebook.ipynb
$ python3 -m tensorflow_docs.tools.nblint --arg=repo:tensorflow/docs notebook.ipynb
If commits are added to the pull request, synchronize your local branch: git pull origin fix/tensor-typos-115281

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant