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

Function _cupy

dask/array/cupy_entry_point.py:10–17  ·  view source on GitHub ↗
(strict=True)

Source from the content-addressed store, hash-verified

8
9
10def _cupy(strict=True):
11 try:
12 import cupy
13 except ImportError as e:
14 if strict:
15 raise type(e)("Please install `cupy` to use `CupyBackendEntrypoint`") from e
16 return None
17 return cupy
18
19
20def _da_with_cupy_meta(attr, *args, meta=None, **kwargs):

Callers 6

_da_with_cupy_metaFunction · 0.85
__init__Method · 0.85
to_backendMethod · 0.85
RandomStateMethod · 0.85
default_bit_generatorMethod · 0.85
arangeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected