docstr: Resizes the larger side to "size". Note that the torchvision.Resize transform
  crops the smaller edge to the provided size and is unable to crop the larger
  side. This is common in the copy detection and instance retrieval literature.
code: def __init__(
      self,
      size: int,
  ):
      """
      Resizes the larger side to "size". Note that the torchvision.Resize transform
      crops the smaller edge to the provided size and is unable to crop the larger
      side. This is common in the copy detection and instance retrieval literature.
      """
      self.size = size
  
file_path: vissl/vissl/data/ssl_transforms/img_pil_resize_larger_side.py
imports: from typing import Any, Dict
  import numpy
  from classy_vision.dataset.transforms import register_transform
  from classy_vision.dataset.transforms.classy_transform import ClassyTransform
  from PIL import Image
label_desc: Use image node_id 1 to create a new ImgPilResizeLargerSide object from inherited base classes: ClassyTransform with example: obj = ImgPilResizeLargerSide(size)