Skip to content

Commit

Permalink
fix mnist example
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeInnes committed Aug 17, 2017
1 parent dc34859 commit 574fccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/MNIST.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Flux, MNIST
using Flux: accuracy, onehot
using Flux: accuracy, onehot, tobatch

data = [(trainfeatures(i), onehot(trainlabel(i), 0:9)) for i = 1:60_000]
train = data[1:50_000]
Expand Down

0 comments on commit 574fccd

Please sign in to comment.