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

Method map_overlap

dask/array/core.py:2739–2752  ·  view source on GitHub ↗

Map a function over blocks of the array with some overlap Refer to :func:`dask.array.map_overlap` for full documentation. See Also -------- dask.array.map_overlap : equivalent function

(self, func, depth, boundary=None, trim=True, **kwargs)

Source from the content-addressed store, hash-verified

2737 return map_blocks(func, self, *args, **kwargs)
2738
2739 def map_overlap(self, func, depth, boundary=None, trim=True, **kwargs):
2740 """Map a function over blocks of the array with some overlap
2741
2742 Refer to :func:`dask.array.map_overlap` for full documentation.
2743
2744 See Also
2745 --------
2746 dask.array.map_overlap : equivalent function
2747 """
2748 from dask.array.overlap import map_overlap
2749
2750 return map_overlap(
2751 func, self, depth=depth, boundary=boundary, trim=trim, **kwargs
2752 )
2753
2754 def cumsum(self, axis, dtype=None, out=None, *, method="sequential"):
2755 """Return the cumulative sum of the elements along the given axis.

Callers 2

_array_map_overlapFunction · 0.45
gradientFunction · 0.45

Calls 1

map_overlapFunction · 0.90

Tested by 1

_array_map_overlapFunction · 0.36