Skip to content

Commit f7eb3d4

Browse files
committed
1 parent f10bb69 commit f7eb3d4

File tree

1 file changed

+1
-2
lines changed
  • SOURCE/tutorials/mnist/beginners

1 file changed

+1
-2
lines changed

SOURCE/tutorials/mnist/beginners/index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ which digit a given image is of.
9090
For the purposes of this tutorial, we're going to want our labels
9191
as "one-hot vectors". A one-hot vector is a vector which is 0 in most
9292
dimensions, and 1 in a single dimension. In this case, the \\(n\\)th digit will be
93-
represented as a vector which is 1 in the \\(n\\)th dimensions. For example, 0
94-
would be \\([1,0,0,0,0,0,0,0,0,0,0]\\).
93+
represented as a vector which is 1 in the \\(n\\)th dimensions. For example, 3 would be \\([0,0,0,1,0,0,0,0,0,0]\\).
9594
Consequently, `mnist.train.labels` is a
9695
`[60000, 10]` array of floats.
9796

0 commit comments

Comments
 (0)