src/transformers/models/maskformer/image_processing_maskformer.py/MaskFormerImageProcessor/reduce_labels
class MaskFormerImageProcessor:    def reduce_labels(self):
        warnings.warn(
            "The `reduce_labels` property is deprecated and will be removed in v4.27. Please use "
            "`do_reduce_labels` instead.",
            FutureWarning,
        )
        return self.do_reduce_labels