Skip to content

Commit d64c7d9

Browse files
authored
Fix oob index in sparse example
Re-making this commit after updating my Google CLA and GitHub email settings.
1 parent 70174a8 commit d64c7d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/guide/sparse_tensor.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256
" values=[31, 2], \n",
257257
" dense_shape=[4, 10])\n",
258258
"\n",
259-
"st_b = tf.sparse.SparseTensor(indices=[[0, 2], [7, 0]],\n",
259+
"st_b = tf.sparse.SparseTensor(indices=[[0, 2], [3, 0]],\n",
260260
" values=[56, 38],\n",
261261
" dense_shape=[4, 10])\n",
262262
"\n",

0 commit comments

Comments
 (0)