pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/tensorflow/docs/pull/2425

s/pull-requests-5f61a10d0c5fd0c3.css" /> Fix typos in Tensor tutorial guide by Cyrax321 · Pull Request #2425 · tensorflow/docs · GitHub
Skip to content

Fix typos in Tensor tutorial guide - #2425

Open
Cyrax321 wants to merge 2 commits into
tensorflow:masterfrom
Cyrax321:fix-tensor-tutorial-typos
Open

Fix typos in Tensor tutorial guide#2425
Cyrax321 wants to merge 2 commits into
tensorflow:masterfrom
Cyrax321:fix-tensor-tutorial-typos

Conversation

@Cyrax321

@Cyrax321 Cyrax321 commented Apr 9, 2026

Copy link
Copy Markdown

Description

This PR fixes two documentation typos in the Tensor tutorial (site/en/guide/tensor.ipynb) as reported in tensorflow/tensorflow#115281.

Changes

  1. Inconsistent terminology: Changed 2-rank tensor to rank-2 tensor in the "Multi-axis indexing" section to be consistent with the established convention used elsewhere in the document (e.g., "a matrix is rank 2", "rank-2 tensor" in the About shapes section).
  2. Missing punctuation: Added a missing period in a code comment in the "String tensors" section:
    • Before: # Tensors can be strings, too here is a scalar string.
    • After: # Tensors can be strings, too. Here is a scalar string.

Related Issue

Fixes tensorflow/tensorflow#115281

- Changed '2-rank tensor' to 'rank-2 tensor' for consistency with
  the terminology used elsewhere in the document
- Added missing period in code comment: 'too here' -> 'too. Here'

Fixes tensorflow/tensorflow#115281
@Cyrax321
Cyrax321 requested a review from a team as a code owner April 9, 2026 08:53
@google-cla

google-cla Bot commented Apr 9, 2026

Copy link
Copy Markdown

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

github-actions Bot commented Apr 9, 2026

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 origen fix-tensor-tutorial-typos

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.

Typos in the "Tensor" tutorial, https://www.tensorflow.org/guide/tensor

1 participant

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy