code: def asanyarray(a, dtype=None, order=None, *, blocking=False):
      """Converts an object to array.
  
      This is currently equivalent to :func:`cupy.asarray`, since there is no
      subclass of :class:`cupy.ndarray` in CuPy. Note that the original
      :func:`numpy.asanyarray` returns the input array as is if it is an instance
      of a subtype of :class:`numpy.ndarray`.
  
      .. seealso:: :func:`cupy.asarray`, :func:`numpy.asanyarray`
  
      """
      return _core.array(a, dtype, False, order, blocking=blocking)
  
file_path: cupy/cupy/_creation/from_data.py
imports: import numpy
  from cupy import _core
  from cupy._core import fusion
label_desc: Use image node_id 3 for calling a global function with example usage: asanyarray(a, dtype, order) and returns: _core