Now that I know what this does, I'm pretty sure it's unnecessary.  Use `T.sum(..., keepdims=True)`.