class_docstr: Resize the shortest edge to a certain number while
  keeping the aspect ratio.
docstr: Args:
      size (int): the size to resize the shortest edge to.
docstr_tok: ["Args",":","size","(","int",")",":","the","size","to","resize","the","shortest","edge","to","."]
code: def __init__(self, size, interp=cv2.INTER_LINEAR):
      """
      Args:
          size (int): the size to resize the shortest edge to.
      """
      size = int(size)
      self._init(locals())
  
imports: import cv2
  from ...utils import logger
  from ...utils.argtools import shape2d
  from .base import ImageAugmentor
  from .transform import ResizeTransform, NoOpTransform, FlipTransform, TransposeTransform
label_desc: Use image node_id 1 to create a new ResizeShortestEdge object from inherited base classes: ImageAugmentor with example: obj = ResizeShortestEdge(size, interp)