code: def grid(m, dtype=np.float32):
      """Return coordinates of grid points"""
      M = m**2
      x = np.linspace(0, 1, m, dtype=dtype)
      y = np.linspace(0, 1, m, dtype=dtype)
      xx, yy = np.meshgrid(x, y)
      z = np.empty((M, 2), dtype)
      z[:, 0] = xx.reshape(M)
      z[:, 1] = yy.reshape(M)
      return z
  
file_path: dgl/examples/pytorch/model_zoo/geometric/grid_graph.py
imports: import numpy
  import scipy.sparse
  import scipy.sparse.linalg
  import sklearn
  import sklearn.metrics
label_desc: Use image node_id 2 for calling a global function with example usage: grid(m, dtype) and returns: z