code: def sqdist(X, Y):
      """Row-wise squared distance between 2D array X and 2D array Y."""
      M = np.shape(X)[0]
      N = np.shape(Y)[0]
      X_squared = np.tile((X * X).sum(-1), [N, 1]).T
      Y_squared = np.tile((Y * Y).sum(-1), [M, 1])
      X_times_Y = np.inner(X, Y)
      return X_squared + Y_squared - 2 * X_times_Y
  
imports: import collections
  from functools import partial
  import numpy
  from scipy.sparse.linalg import svds
  from sklearn.base import BaseEstimator, TransformerMixin
  from sktime.dists_kernels.base import BasePairwiseTransformerPanel
label_desc: Use image node_id 10 for calling a global function with example usage: sqdist(X, Y) and returns: unknown