code: def resize_image(image, target_size):
      resized_image = cv2.resize(image, target_size)
      return resized_image
  
file_path: nni/examples/trials/kaggle-tgs-salt/postprocessing.py
imports: import os
  import numpy
  import pandas
  from scipy import ndimage
  import cv2
  from utils import get_crop_pad_sequence, run_length_decoding
  import settings
label_desc: Use image node_id 1 for calling a global function with example usage: resize_image(image, target_size) and returns: resized_image