> I wanted a way to convert 1d array of various shape to a common representation and let 2d array untouch (multi-output case).

Maybe just adding this info to the docstring would be enough.