From ac26b0a94ac02ba24157331080e4b721cc17501f Mon Sep 17 00:00:00 2001 From: Cyrax321 Date: Thu, 9 Apr 2026 14:16:45 +0530 Subject: [PATCH 1/2] Fix typos in Tensor tutorial guide - 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 --- site/en/guide/tensor.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/en/guide/tensor.ipynb b/site/en/guide/tensor.ipynb index 2eb261aad7..0b6949301d 100644 --- a/site/en/guide/tensor.ipynb +++ b/site/en/guide/tensor.ipynb @@ -685,7 +685,7 @@ }, "outputs": [], "source": [ - "# Pull out a single value from a 2-rank tensor\n", + "# Pull out a single value from a rank-2 tensor\n", "print(rank_2_tensor[1, 1].numpy())" ] }, @@ -1310,7 +1310,7 @@ }, "outputs": [], "source": [ - "# Tensors can be strings, too here is a scalar string.\n", + "# Tensors can be strings, too. Here is a scalar string.\n", "scalar_string_tensor = tf.constant(\"Gray wolf\")\n", "print(scalar_string_tensor)" ] From d75042ab10c57a895100f262c2971a6ac4b1fad1 Mon Sep 17 00:00:00 2001 From: Cyrax321 Date: Thu, 9 Apr 2026 14:56:35 +0530 Subject: [PATCH 2/2] Trigger CLA re-check