code: def load_image(path: types.PathType) -> np.ndarray:
      """Reads an image."""
      if not isinstance(path, gpath.GPath):
          path = gpath.GPath(path)
  
      with path.open("rb") as f:
          return imageio.imread(f)
  
imports: import math
  from typing import Tuple
  from absl import logging
  import cv2
  import imageio
  import numpy
  from PIL import Image
  from nerfies import gpath
  from nerfies import types
label_desc: Use image node_id 10 for calling a global function with example usage: load_image(path) and returns: imageio