code: def _get(x):
      m = get_array_module(x)
  
      if m is np:
          return x
      if m is sparse:
          return x if not hasattr(x, "get") else x.get()
      return x.get()
  
file_path: mars/mars/tensor/array_utils.py
imports: from collections import defaultdict
  from contextlib import contextmanager
  import numpy
  from ..lib import sparse
  from ..lib.sparse.core import issparse, get_dense_module
  from ..utils import lazy_import
label_desc: Use image node_id 5 for calling a global function with example usage: _get(x) and returns: x, x, unknown