Theano/Theano — pull request #1125 by abalkin (2012-12-06 23:27:02+00:00)
Title: Repeat Op should not copy broadcastable flag for the axis along which it...

... repeats.

Consider the following code:

```python
from theano import function, tensor as T

ZZ = T.repeat(T.zeros((1,)), 2, axis=0)
f = function([], ZZ)
```

It complains during constant folding with:

```
TypeError: ('Non-unit value on shape on a broadcastable dimension.', (2,), (True,))
```

This PR fixes the problem, but I am not sure if anything special needs to be done for repeats=1.