def __init__(self, short_edge_length, max_size=sys.maxsize):
        """
        Args:
            short_edge_length (list[min, max])
            max_size (int): maximum allowed longest edge length.
        """
        self.interp_method = "bilinear"
        self.max_size = max_size
        self.short_edge_length = short_edge_length

        Args:
            short_edge_length (list[min, max])
            max_size (int): maximum allowed longest edge length.
        
dpkd/transformers/examples/research_projects/lxmert/processing_image.py