Skip to content

Commit ae37114

Browse files
committed
back-port fix to the doc.
1 parent 32417e5 commit ae37114

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/lenet.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,8 @@ instantiate the network as follows.
473473
batch_size = 20 # sized of the minibatch
474474

475475
# 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
476+
x = T.matrix('x') # rasterized images
477+
y = T.lvector('y') # the labels are presented as 1D vector of [long int] labels
478478

479479
##############################
480480
# BEGIN BUILDING ACTUAL MODE

0 commit comments

Comments
 (0)