code: def rdist(x, y):
      """Reduced Euclidean distance.
  
      Parameters
      ----------
      x: array of shape (embedding_dim,)
      y: array of shape (embedding_dim,)
  
      Returns
      -------
      The squared euclidean distance between x and y
      """
      result = 0.0
      dim = x.shape[0]
      for i in range(dim):
          diff = x[i] - y[i]
          result += diff * diff
  
      return result
  
file_path: umap/umap/layouts.py
imports: import numpy
  import numba
  import umap.distances
  from umap.utils import tau_rand_int
  from tqdm.auto import tqdm
label_desc: Use image node_id 2 for calling a global function with example usage: rdist(x, y) and returns: result