We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39333dd commit 4256877Copy full SHA for 4256877
1 file changed
code/mlp.py
@@ -83,7 +83,7 @@ def __init__(self, input, n_in, n_hidden, n_out):
83
# the output of uniform if converted using asarray to dtype
84
# theano.config.floatX so that the code is runable on GPU
85
W2_values = numpy.asarray( numpy.random.uniform(
86
- low = numpy.sqrt(6./(n_hidden+n_out)), \
+ low = -numpy.sqrt(6./(n_hidden+n_out)), \
87
high= numpy.sqrt(6./(n_hidden+n_out)),\
88
size= (n_hidden, n_out)), dtype = theano.config.floatX)
89
0 commit comments