code: def asarray(vals, *args, **kwargs):
      """Gradient supporting autograd asarray"""
      if isinstance(vals, (onp.ndarray, _np.ndarray)):
          return _np.asarray(vals, *args, **kwargs)
      return _np.array(vals, *args, **kwargs)
  
imports: import numpy
  from autograd import numpy
  from autograd.core import VSpace
  from autograd.extend import defvjp, primitive
  from autograd.numpy.numpy_boxes import ArrayBox
  from autograd.numpy.numpy_vspaces import ArrayVSpace, ComplexArrayVSpace
  from autograd.tracer import Box
  from pennylane.operation import Operator
label_desc: Use image node_id 1 for calling a global function with example usage: asarray(vals) and returns: _np, _np