code: def squared_euclidean(x, y):
      r"""Squared euclidean distance.
  
      .. math::
          D(x, y) = \sum_i (x_i - y_i)^2
      """
      result = 0.0
      dim = x.shape[0]
      for i in range(dim):
          diff = x[i] - y[i]
          result += diff * diff
  
      return result
  
imports: import numpy
  import numba
  from pynndescent.optimal_transport import allocate_graph_structures, initialize_graph_structures, initialize_supply, initialize_cost, network_simplex_core, total_cost, ProblemStatus, sinkhorn_transport_plan
label_desc: Use image node_id 2 for calling a global function with example usage: squared_euclidean(x, y) and returns: result