MCPcopy
hub / github.com/dask/dask / overlap_internal

Function overlap_internal

dask/array/_array_expr/_overlap.py:50–64  ·  view source on GitHub ↗

Share boundaries between neighboring blocks Parameters ---------- x: da.Array A dask array axes: dict The size of the shared boundary per axis The axes input informs how many cells to overlap between neighboring blocks {0: 2, 2: 5} means share two cells in

(x, axes)

Source from the content-addressed store, hash-verified

48
49
50def overlap_internal(x, axes):
51 """Share boundaries between neighboring blocks
52
53 Parameters
54 ----------
55
56 x: da.Array
57 A dask array
58 axes: dict
59 The size of the shared boundary per axis
60
61 The axes input informs how many cells to overlap between neighboring blocks
62 {0: 2, 2: 5} means share two cells in 0 axis, 5 cells in 2 axis
63 """
64 return new_collection(MapOverlap(x, axes))
65
66
67class MapOverlap(ArrayExpr):

Callers 4

test_overlap_internalFunction · 0.90
overlapFunction · 0.70

Calls 2

new_collectionFunction · 0.90
MapOverlapClass · 0.70

Used in the wild real call sites across dependent graphs

searching dependent graphs…