code: def create_array(op):
      xp = array_module(op.gpu)
  
      def inner(func, *args, **kwargs):
          with device(op.device):
              return getattr(xp, func)(*args, **kwargs)
  
      return inner
  
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 14 for calling a global function with example usage: create_array(op) and returns: inner, getattr