MCPcopy
hub / github.com/dask/dask / fuse2

Function fuse2

dask/tests/test_optimization.py:38–45  ·  view source on GitHub ↗

Run both ``fuse`` and ``fuse_linear`` and compare results

(*args, **kwargs)

Source from the content-addressed store, hash-verified

36
37
38def fuse2(*args, **kwargs):
39 """Run both ``fuse`` and ``fuse_linear`` and compare results"""
40 rv1 = fuse_linear(*args, **kwargs)
41 if kwargs.get("rename_keys") is not False:
42 return rv1
43 rv2 = fuse(*args, **kwargs)
44 assert rv1 == rv2
45 return rv1
46
47
48def with_deps(dsk):

Callers

nothing calls this directly

Calls 3

fuse_linearFunction · 0.90
fuseFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…