Skip to content

Commit fb012d6

Browse files
authored
Update 'String tensors' section to correct string lengths
1 parent 98f2302 commit fb012d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/en/guide/tensor.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1405,11 +1405,11 @@
14051405
},
14061406
"outputs": [],
14071407
"source": [
1408-
"# If we have two string tensors of different lengths, this is OK.\n",
1408+
"# If we have three string tensors of different lengths, this is OK.\n",
14091409
"tensor_of_strings = tf.constant([\"Gray wolf\",\n",
14101410
" \"Quick brown fox\",\n",
14111411
" \"Lazy dog\"])\n",
1412-
"# Note that the shape is (2,), indicating that it is 2 x unknown.\n",
1412+
"# Note that the shape is (3,), indicating that it is 3 x unknown.\n",
14131413
"print(tensor_of_strings)"
14141414
]
14151415
},

0 commit comments

Comments
 (0)