Theano/Theano — pull request #359 by pascanur (2012-01-18 20:23:09+00:00)
Title: fix for fails in the buildbot

There are 3 fails for scan related tests:

(1) the grad fail that is fixed in this pull request which is related only to numeric instabilities in the numeric computation of the gradient

(2) bug with the new proposed scan which is fixed in this pull request

(3) a bug that can be produced by this line :

THEANO_FLAGS=floatX=float64,unittests.rseed=10867,mode=DEBUG_MODE PYTHONPATH=~/repos/Theano/:$PYTHONPATH nosetests -sv tests/test_scan.py:T_Scan.test_save_mem_store_steps

This bug is not fixed !! It is related to pre-allocated memory somehow. It only happens in DEBUG MODE (and not in FAST RUN). It doesn't happen always, you need to run that line of code several time to get the error ...