MCPcopy Create free account
hub / github.com/dask/dask / cupy_to_numpy

Function cupy_to_numpy

dask/array/backends.py:144–145  ·  view source on GitHub ↗
(data, **kwargs)

Source from the content-addressed store, hash-verified

142
143 @to_numpy_dispatch.register(cupy.ndarray)
144 def cupy_to_numpy(data, **kwargs):
145 return cupy.asnumpy(data, **kwargs)
146
147 @to_cupy_dispatch.register(np.ndarray)
148 def numpy_to_cupy(data, **kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected