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

Function numpy_to_cupy

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

Source from the content-addressed store, hash-verified

146
147 @to_cupy_dispatch.register(np.ndarray)
148 def numpy_to_cupy(data, **kwargs):
149 return cupy.asarray(data, **kwargs)
150
151 @einsum_lookup.register(cupy.ndarray)
152 def _cupy_einsum(*args, **kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected