# HG changeset patch # User Xavier Glorot # Date 1264708468 18000 # Node ID 1e9525aba832a45469c75c4be541f40e8e6fe171 # Parent db10ee2a07fbf557056760014d46eacd54d1144f# Parent 827de2cc34f81dc9ca65c2f0909fd527eb8001c3 merge diff -r db10ee2a07fb -r 1e9525aba832 code_tutoriel/mlp.py --- a/code_tutoriel/mlp.py Thu Jan 28 14:48:12 2010 -0500 +++ b/code_tutoriel/mlp.py Thu Jan 28 14:54:28 2010 -0500 @@ -83,7 +83,7 @@ # the output of uniform if converted using asarray to dtype # theano.config.floatX so that the code is runable on GPU W2_values = numpy.asarray( numpy.random.uniform( - low = numpy.sqrt(6./(n_hidden+n_out)), \ + low = -numpy.sqrt(6./(n_hidden+n_out)), \ high= numpy.sqrt(6./(n_hidden+n_out)),\ size= (n_hidden, n_out)), dtype = theano.config.floatX)