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

Method _layer

dask/array/_array_expr/_overlap.py:82–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80 return f"overlap-{super()._name}"
81
82 def _layer(self) -> dict:
83 x = self.array
84 graph = ArrayOverlapLayer(
85 name=x.name,
86 axes=self.axes,
87 chunks=x.chunks,
88 numblocks=x.numblocks,
89 token="-".join(self._name.split("-")[1:]),
90 )
91 return ensure_dict(graph)
92
93
94def trim_overlap(x, depth, boundary=None):

Callers

nothing calls this directly

Calls 4

ArrayOverlapLayerClass · 0.90
ensure_dictFunction · 0.90
splitMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected