code: def resize(size, ratio_resize=A.LongestMaxSize):
      return (
          ratio_resize(size)
          if isinstance(size, int)
          else A.Resize(*size[::-1])
      )
  
file_path: icevision/icevision/tfms/albumentations/albumentations_helpers.py
imports: import albumentations
  from icevision.imports import *
  from icevision.core import *
  from icevision.utils.imageio import ImgSize
label_desc: Use image node_id 1 for calling a global function with example usage: resize(size, ratio_resize) and returns: unknown