code: def dists(X, Y):
      result = np.zeros((X.shape[0], Y.shape[0]), X.dtype)
      for i in range(X.shape[0]):
          for j in range(Y.shape[0]):
              result[i, j] = np.sum((X[i, :] - Y[j, :]) ** 2)
      return result
  
label_desc: Use image node_id 1 for calling a global function with example usage: dists(X, Y) and returns: result