Skip to content

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

@HsienChing

Description

@HsienChing

Issue type

Documentation Bug

Have you reproduced the bug with TensorFlow Nightly?

No

Source

source

TensorFlow version

tf 2.19

Custom code

No

OS platform and distribution

No response

Mobile device

No response

Python version

No response

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

No response

GPU model and memory

No response

Current behavior?

Two typos are found in the "Tensor" tutorial, https://www.tensorflow.org/guide/tensor

  1. [Typo 1]In the "Multi-axis indexing" subsection, the term "2-rank tensor" should be modified as "rank-2 tensor". The document has introduced A "matrix" or "rank-2" tensor has two axes. But there is no "2-rank tensor" in this document.
    The typo is highlighted in the red rectangle.

Link: https://www.tensorflow.org/guide/tensor#multi-axis_indexing

Image
  1. [Typo 2]
    In the "String tensors" section, the comment in the code "# Tensors can be strings, too here is a scalar string." is suggested to be modified as "# Tensors can be strings, too. Here is a scalar string."
    The typo is highlighted in the red rectangle.

Link: https://www.tensorflow.org/guide/tensor#string_tensors

Image

Standalone code to reproduce the issue

N/A

Relevant log output

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions