Mercurial > ift6266
changeset 20:1e9525aba832
merge
author | Xavier Glorot <glorotxa@iro.umontreal.ca> |
---|---|
date | Thu, 28 Jan 2010 14:54:28 -0500 |
parents | db10ee2a07fb (current diff) 827de2cc34f8 (diff) |
children | afdd41db8152 |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)