Content
Turn all mask items of masks into shape [h,w], potentially splitting up stacked masks.
masks
[h,w]
masks (Dict[str, Tensor]) –
target_size (Optional[Tuple[int, int]]) –
Dict[str, Tensor]