nouiz/Theano — comment on commit 6d7be386421049ecc95c485a1d8654c957f1eac8
File: theano/tensor/basic.py line 1989
By delallea:

It's an argmax, not a sum. "argmax" over all dimensions is not clear though, here is a suggestion:

"""
When axis is None, the argmax is performed over the flattened tensor.
"""