Theano/Theano — pull request #737 by goodfeli (2012-07-03 20:34:45+00:00)
Title: fixed gradient name bug

There was a bug where T.grad would return variables with misleading names. I found a section in gradient.py that gives variables names. Since this is not necessary for theano's main functionality and the names were sometimes wrong, I commented out this section and added a note explaining in what case the logic is wrong. I don't actually know what the correct logic is, so I didn't fix the bug in that section. However, I added functionality to insert the correct name in the grad method itself.