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

Function trivial

docs/source/scripts/scheduling.py:19–24  ·  view source on GitHub ↗

Embarrassingly parallel dask

(width, height)

Source from the content-addressed store, hash-verified

17
18
19def trivial(width, height):
20 """Embarrassingly parallel dask"""
21 d = {("x", 0, i): i for i in range(width)}
22 for j in range(1, height):
23 d.update({("x", j, i): (noop, ("x", j - 1, i)) for i in range(width)})
24 return d, [("x", height - 1, i) for i in range(width)]
25
26
27def crosstalk(width, height, connections):

Callers 1

scheduling.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected