We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 825104d commit ff602c9Copy full SHA for ff602c9
1 file changed
code/convolutional_mlp.py
@@ -83,7 +83,7 @@ def __init__(self, rng, input, filter_shape, image_shape, poolsize=(2, 2)):
83
84
# the bias is a 1D tensor -- one bias per output feature map
85
b_values = numpy.zeros((filter_shape[0],), dtype=theano.config.floatX)
86
- self.b = theano.shared(value=b_values)
+ self.b = theano.shared(value=b_values, borrow=True)
87
88
# convolve input feature maps with filters
89
conv_out = conv.conv2d(input=input, filters=self.W,
0 commit comments