code: def load_np_image(image_file):
      """Loads an image as a numpy array.
  
      Args:
        image_file: str. Image file.
  
      Returns:
        A 3-D numpy array of shape [image_size, image_size, 3] and dtype float32,
        with values in [0, 1].
      """
      return np.float32(load_np_image_uint8(image_file) / 255.0)
  
imports: import io
  import os
  import tempfile
  from magenta.models.image_stylization import imagenet_data
  import numpy
  import skimage.io
  import tensorflow.compat.v1
label_desc: Use image node_id 4 for calling a global function with example usage: load_np_image(image_file) and returns: np