MCPcopy
hub / github.com/dask/dask / _get_overlap_rechunked_chunks

Function _get_overlap_rechunked_chunks

dask/array/_array_expr/_overlap.py:384–387  ·  view source on GitHub ↗
(x, depth2)

Source from the content-addressed store, hash-verified

382
383
384def _get_overlap_rechunked_chunks(x, depth2):
385 depths = [max(d) if isinstance(d, tuple) else d for d in depth2.values()]
386 # rechunk if new chunks are needed to fit depth in every chunk
387 return tuple(ensure_minimum_chunksize(size, c) for size, c in zip(depths, x.chunks))
388
389
390def overlap(x, depth, boundary, *, allow_rechunk=True):

Callers 2

overlapFunction · 0.70
map_overlapFunction · 0.70

Calls 3

maxFunction · 0.85
ensure_minimum_chunksizeFunction · 0.70
valuesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…