code: def fromiter(*args, **kwargs):
      """Create a new 1-dimensional array from an iterable object.
  
      .. note::
          Uses NumPy's ``fromiter`` and coerces the result to a CuPy array.
  
      .. seealso:: :func:`numpy.fromiter`
      """
      return asarray(numpy.fromiter(*args, **kwargs))
  
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 9 for calling a global function with example usage: fromiter() and returns: asarray