From d64c7d91ef6e61cc1799c9305a8604d18c1b622d Mon Sep 17 00:00:00 2001 From: Eric Canton Date: Thu, 7 Dec 2023 11:28:17 -0600 Subject: [PATCH] Fix oob index in sparse example Re-making this commit after updating my Google CLA and GitHub email settings. --- site/en/guide/sparse_tensor.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/en/guide/sparse_tensor.ipynb b/site/en/guide/sparse_tensor.ipynb index cd38fdf55ab..e35aa6b306c 100644 --- a/site/en/guide/sparse_tensor.ipynb +++ b/site/en/guide/sparse_tensor.ipynb @@ -256,7 +256,7 @@ " values=[31, 2], \n", " dense_shape=[4, 10])\n", "\n", - "st_b = tf.sparse.SparseTensor(indices=[[0, 2], [7, 0]],\n", + "st_b = tf.sparse.SparseTensor(indices=[[0, 2], [3, 0]],\n", " values=[56, 38],\n", " dense_shape=[4, 10])\n", "\n",