code: def _complete_graph_indices(n):
      all_indices = cp.indices((n, n), dtype=index_dtype)
      src_indices = all_indices[0].ravel()
      dst_indices = all_indices[1].ravel()
      del all_indices
      mask = src_indices != dst_indices
      return (src_indices[mask], dst_indices[mask])
  
file_path: cugraph/python/nx-cugraph/nx_cugraph/generators/_utils.py
imports: import operator
  import cupy
  import networkx
  import nx_cugraph
  from ..utils import index_dtype
label_desc: Use image node_id 3 for calling a global function with example usage: _complete_graph_indices(n) and returns: src_indices,  dst_indices