> 1. If the items of Y have different ranks, each item is extended in rank to that of the greatest rank by padding with leading 1s.
> 2. If the items of Y have different shapes, each is padded with the corresponding prototype to a shape that represents the greatest length along each axis of all items in Y.