code: def _find_nearest(array, target):
      return np.argmin(np.abs(np.asarray(array) - target))
  
imports: import importlib
  import itertools
  import logging
  import multiprocessing.dummy
  import os
  import numpy
  import eta.core.utils
  import eta.core.video
  import fiftyone.core.utils
label_desc: Use image node_id 10 for calling a global function with example usage: _find_nearest(array, target) and returns: np