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

Method to_backend

dask/array/backends.py:417–421  ·  view source on GitHub ↗
(cls, data: Array, **kwargs)

Source from the content-addressed store, hash-verified

415
416 @classmethod
417 def to_backend(cls, data: Array, **kwargs):
418 if isinstance(data._meta, np.ndarray):
419 # Already a numpy-backed collection
420 return data
421 return data.map_blocks(cls.to_backend_dispatch(), **kwargs)
422
423 @property
424 def RandomState(self):

Callers

nothing calls this directly

Calls 2

map_blocksMethod · 0.45
to_backend_dispatchMethod · 0.45

Tested by

no test coverage detected