src/transformers/models/maskformer/modeling_maskformer.py/MaskFormerForInstanceSegmentation/get_loss
class MaskFormerForInstanceSegmentation:    def get_loss(self, loss_dict: Dict[str, Tensor]) -> Tensor:
        return sum(loss_dict.values())