code: def _load_image(path, resize_to=None):
      img = PIL.Image.open(path)
      if resize_to is not None:
          img = img.resize(resize_to, PIL.Image.ANTIALIAS)
      img_np = np.array(img).astype(np.float32)
      return img_np, img
  
imports: import unittest
  import urllib
  import os
  import tarfile
  import zipfile
  import numpy
  import PIL.Image
  import tensorflow
  from tensorflow.core.framework import graph_pb2
  import tfcoreml
label_desc: Use image node_id 4 for calling a global function with example usage: _load_image(path, resize_to) and returns: img_np,  img