src/transformers/models/deformable_detr/image_processing_deformable_detr.py/DeformableDetrImageProcessor/max_size
class DeformableDetrImageProcessor:    def max_size(self):
        warnings.warn(
            "The `max_size` parameter is deprecated and will be removed in v4.27. "
            "Please specify in `size['longest_edge'] instead`.",
            FutureWarning,
        )
        return self.size["longest_edge"]