Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions site/en/guide/tensor.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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())"
]
},
Expand Down Expand Up @@ -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)"
]
Expand Down