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

Method chunks

dask/array/_array_expr/_expr.py:244–251  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

242
243 @functools.cached_property
244 def chunks(self):
245 bds = [a.chunks for a in self.args]
246 chunks = (
247 bds[0][: self.axis]
248 + (sum((bd[self.axis] for bd in bds), ()),)
249 + bds[0][self.axis + 1 :]
250 )
251 return chunks
252
253 @functools.cached_property
254 def _name(self):

Callers

nothing calls this directly

Calls 1

sumFunction · 0.50

Tested by

no test coverage detected