code: def map_nd(fn, arr):
      """Map fn that takes a value over entire n-dim array
  
      Parameters
      ----------
      arr: numpy.ndarray
  
      Returns
      -------
      numpy.ndarray
  
      """
      return np.vectorize(fn)(arr)
  
label_desc: Use image node_id 2 for calling a global function with example usage: map_nd(fn, arr) and returns: np