code: def complete_graph(n, create_using=None):
      n, nodes = _number_and_nodes(n)
      if n < 3:
          return _common_small_graph(n, nodes, create_using)
      graph_class, inplace = _create_using_class(create_using)
      src_indices, dst_indices = _complete_graph_indices(n)
      G = graph_class.from_coo(
          n, src_indices, dst_indices, id_to_key=nodes
      )
      if inplace:
          return create_using._become(G)
      return G
  
imports: import itertools
  from numbers import Integral
  import cupy
  import networkx
  import numpy
  import nx_cugraph
  from ..utils import _get_int_dtype, index_dtype, networkx_algorithm
  from ._utils import _IS_NX32_OR_LESS, _common_small_graph, _complete_graph_indices, _create_using_class, _ensure_int, _ensure_nonnegative_int, _number_and_nodes
label_desc: Use image node_id 3 for calling a global function with example usage: complete_graph(n, create_using) and returns: G, _common_small_graph, create_using