MCPcopy Index your code
hub / github.com/dask/dask / test_from_delayed_meta

Function test_from_delayed_meta

dask/array/tests/test_array_core.py:3903–3907  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3901
3902
3903def test_from_delayed_meta():
3904 v = delayed(np.ones)((5, 3))
3905 x = from_delayed(v, shape=(5, 3), meta=np.ones(0))
3906 assert isinstance(x, Array)
3907 assert isinstance(x._meta, np.ndarray)
3908
3909
3910def test_from_delayed_future():

Callers

nothing calls this directly

Calls 3

delayedFunction · 0.90
from_delayedFunction · 0.90
onesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…