MCPcopy
hub / github.com/dask/dask / _remove_overlap_boundaries

Function _remove_overlap_boundaries

dask/array/overlap.py:275–283  ·  view source on GitHub ↗
(l, r, axis, depth)

Source from the content-addressed store, hash-verified

273
274
275def _remove_overlap_boundaries(l, r, axis, depth):
276 lchunks = list(l.chunks)
277 lchunks[axis] = (depth,)
278 rchunks = list(r.chunks)
279 rchunks[axis] = (depth,)
280
281 l = l.rechunk(tuple(lchunks))
282 r = r.rechunk(tuple(rchunks))
283 return l, r
284
285
286def boundaries(x, depth=None, kind=None):

Callers 3

periodicFunction · 0.70
reflectFunction · 0.70
nearestFunction · 0.70

Calls 1

rechunkMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…