code: def resize_worker(img_file, sizes):
      i, file = img_file
      img = Image.open(file)
      img = img.convert("RGB")
      out = resize_multiple(img, sizes=sizes)
  
      return i, out
  
file_path: gluon-cv/scripts/gan/stylegan/prepare_data.py
imports: import argparse
  from io import BytesIO
  import multiprocessing
  from functools import partial
  from PIL import Image
  import lmdb
  from tqdm import tqdm
  from mxnet.gluon.data.vision.datasets import ImageFolderDataset
label_desc: Use image node_id 3 for calling a global function with example usage: resize_worker(img_file, sizes) and returns: i,  out