docstr: Args:
      short_edge_length (list[min, max])
      max_size (int): maximum allowed longest edge length.
docstr_tok: ["Args",":","short_edge_length","(","list","[","min",",","max","]",")","max_size","(","int",")",":","maximum","allowed","longest","edge","length","."]
code: def __init__(
      self, short_edge_length: List[int], max_size: int = 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
  
imports: import os
  import sys
  from dataclasses import dataclass
  from typing import List
  import numpy
  import omegaconf
  import torch
  import torch.nn.functional
  from mmf.common.registry import registry
  from mmf.datasets.processors.processors import BaseProcessor
  from mmf.utils.download import get_image_from_url
  from PIL import Image
label_desc: Use image node_id 1 to create a new ResizeShortestEdge object  with example: obj = ResizeShortestEdge(short_edge_length, max_size)