Check if two shapes are broadcastable.
Two shapes are broadcastable if when they are aligned from the right, corresponding
dimensions are either equal or one of them is 1.
- Parameters:
-
- Returns:
is_broadcastable (bool) – True if the shapes are broadcastable, False otherwise.