code: def _sparse_get_edges(adjacency_mat):
      return np.concatenate(
          (
              adjacency_mat.row[:, np.newaxis],
              adjacency_mat.col[:, np.newaxis],
          ),
          axis=-1,
      )
  
imports: import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: _sparse_get_edges(adjacency_mat) and returns: np