cupy.asanyarray#
- cupy.asanyarray(a, dtype=None, order=None, *, copy=None, blocking=False)[source]#
Converts an object to array.
This is currently equivalent to
cupy.asarray(), since there is no subclass ofcupy.ndarrayin CuPy. Note that the originalnumpy.asanyarray()returns the input array as is if it is an instance of a subtype ofnumpy.ndarray.See also