We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32417e5 commit ae37114Copy full SHA for ae37114
doc/lenet.txt
@@ -473,8 +473,8 @@ instantiate the network as follows.
473
batch_size = 20 # sized of the minibatch
474
475
# allocate symbolic variables for the data
476
- x = theano.floatX.xmatrix(theano.config.floatX) # rasterized images
477
- y = T.lvector() # the labels are presented as 1D vector of [long int] labels
+ x = T.matrix('x') # rasterized images
+ y = T.lvector('y') # the labels are presented as 1D vector of [long int] labels
478
479
##############################
480
# BEGIN BUILDING ACTUAL MODE
0 commit comments