dask.array.overlap.trim_overlap

dask.array.overlap.trim_overlap

dask.array.overlap.trim_overlap(x, depth, boundary=None)[源代码]

从每个块中修剪两边。

这与 map_overlap 操作很好地结合,该操作可能会在每个块上留下多余的数据。