Theano/Theano — pull request #1037 by lamblin (2012-10-29 23:15:00+00:00)
Title: Fix bug in infer_shape of Flatten

Infershape would incorrectly assign a shape of 1 on the last dimension,
if all dimension were preserved.
In particular, calling .flatten() on some vector would infer a shape of
(1,), which is incorrect.