cupy.fromiter#

cupy.fromiter(*args, **kwargs)[source]#

Create a new 1-dimensional array from an iterable object.

Note

Uses NumPy’s fromiter and coerces the result to a CuPy array.

See also

numpy.fromiter()