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

Method map_overlap

dask/array/core.py:2750–2763  ·  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

2748 return map_blocks(func, self, *args, **kwargs)
2749
2750 def map_overlap(self, func, depth, boundary=None, trim=True, **kwargs):
2751 """Map a function over blocks of the array with some overlap
2752
2753 Refer to :func:`dask.array.map_overlap` for full documentation.
2754
2755 See Also
2756 --------
2757 dask.array.map_overlap : equivalent function
2758 """
2759 from dask.array.overlap import map_overlap
2760
2761 return map_overlap(
2762 func, self, depth=depth, boundary=boundary, trim=trim, **kwargs
2763 )
2764
2765 def cumsum(self, axis, dtype=None, out=None, *, method="sequential"):
2766 """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