Skip to content

Commit

Permalink
fix following change to floatX
Browse files Browse the repository at this point in the history
  • Loading branch information
nouiz committed Jan 28, 2010
1 parent 4256877 commit 21065c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/convolutional_mlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def evaluate_lenet5(learning_rate=0.1, n_iter=200, dataset='mnist.pkl.gz'):
batch_size = 20 # sized of the minibatch

# allocate symbolic variables for the data
x = theano.floatX.xmatrix(theano.config.floatX) # rasterized images
x = T.matrix(theano.config.floatX) # rasterized images
y = T.lvector() # the labels are presented as 1D vector of [long int] labels


Expand Down

0 comments on commit 21065c8

Please sign in to comment.