Theano/Theano — pull request #1585 by nouiz (2013-11-04 15:17:40+00:00)
Title: Fix grad of Alloc when we unbroadcast an input.

In some cases it was causing an error in the grad related to
broadcasting. In the test it case bad shape.

NEWS.txt
bugfix:
- Fix grad of Alloc when we unbroadcast. (Frederic B., reported Ian G.)
- I some cases (I think most cases), there was an exception raised in the theano.tensor.grad() method. But in theory, there could be bad shapes produced in the unbroadcasted dimensions.