code: def __init__(self, min_size, max_size=None):
      self.min_size = min_size
      if max_size is None:
          max_size = min_size
      self.max_size = max_size
  
imports: import numpy
  import random
  import torch
  from torchvision import transforms
  from torchvision.transforms import functional
label_desc: Use image node_id 1 to create a new RandomResize object from inherited base classes: object with example: obj = RandomResize(min_size, max_size)