MCPcopy Index your code
hub / github.com/dask/dask / _remove_overlap_boundaries

Function _remove_overlap_boundaries

dask/array/_array_expr/_overlap.py:289–297  ·  view source on GitHub ↗
(l, r, axis, depth)

Source from the content-addressed store, hash-verified

287
288
289def _remove_overlap_boundaries(l, r, axis, depth):
290 lchunks = list(l.chunks)
291 lchunks[axis] = (depth,)
292 rchunks = list(r.chunks)
293 rchunks[axis] = (depth,)
294
295 l = l.rechunk(tuple(lchunks))
296 r = r.rechunk(tuple(rchunks))
297 return l, r
298
299
300def 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…