Theano/Theano — pull request #402 by lamblin (2012-01-27 20:14:47+00:00)
Title: dtype for different Tensor CAReduce operations

Tries to solve gh-361 in a broader way:
- also add dtype parameter for mean() (should solve assembla-#485) and prod()
- every such Op that creates a node should have a specified dtype (not None)
- update and re-enable optimizations of sum that were disabled in gh-361
- add tests for all that.

I'm running the test suite for tensor in DebugMode right now.