code: def array(A, *args, **kwargs):
      t = builtins.type(A)
      if t in (list, tuple):
          return array_from_args(args, kwargs, *map(array, A))
      else:
          return _array_from_scalar_or_array(args, kwargs, A)
  
imports: from __future__ import absolute_import
  import types
  import warnings
  from autograd.extend import primitive, notrace_primitive
  import numpy
  import autograd.builtins
  from numpy.core.einsumfunc import _parse_einsum_input
label_desc: Use image node_id 6 for calling a global function with example usage: array(A) and returns: array_from_args, _array_from_scalar_or_array