src/transformers/models/beit/image_processing_beit.py/BeitImageProcessor/reduce_labels
class BeitImageProcessor:    def reduce_labels(self) -> bool:
        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