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

Function test_double_dependencies

dask/array/tests/test_optimization.py:212–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210
211
212def test_double_dependencies():
213 x = np.arange(56).reshape((7, 8))
214 d = da.from_array(x, chunks=(4, 4))
215 X = d + 1
216 X = da.dot(X, X.T)
217
218 assert_eq(X.compute(optimize_graph=False), X)
219
220
221def test_fuse_roots():

Callers

nothing calls this directly

Calls 5

assert_eqFunction · 0.90
reshapeMethod · 0.80
arangeMethod · 0.45
dotMethod · 0.45
computeMethod · 0.45

Tested by

no test coverage detected