On Fri, Feb 12, 2021 at 5:15 AM Eric Wieser <wieser.eric+nu...@gmail.com> wrote:
> > There might be some linear algebraic reason why those axis positions > make sense, but I’m not aware of it... > > My guess is that the historical motivation was to allow grayscale `(H, W)` > images to be converted into `(H, W, 1)` images so that they can be > broadcast against `(H, W, 3)` RGB images. > Correct. If you do introduce atleast_nd(), I'm not sure why you'd deprecate and remove the one existing function that *isn't* made redundant thereby. -- Robert Kern
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion