nouiz/Theano — comment on commit cbf387b70df35e36b28b5e5f4017b6e5e293f808
File: theano/tensor/basic.py line 1893
By delallea:

- list(axis) doesn't do anything
- Why do we allow a list axis in the first place? I see that it works with numpy, but it doesn't seem to be the intended way to use axis (the numpy doc says axis should be int if provided). It seems to me that the code could be simpler if we only allowed axis to be int or None

Suggestion for a simpler implementation: only allow axis to be an int (possibly a Theano int variable) in MaxAndArgmax, and modify the functions that call this Op (max / argmax) to operate on the flattened array when axis is None (then using axis=0 in the Op).

It seems weird to have this undocumented feature that you can do something like

```python
max(some_matrix, axis=[1, 0])
```

and get the max of some_matrix.