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

Method _simplify_down

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

Source from the content-addressed store, hash-verified

278 return (self.arr.shape,)
279
280 def _simplify_down(self):
281 if self.arr.numblocks in ((), (1,)):
282 return self.arr
283 else:
284 from dask.array._array_expr._rechunk import Rechunk
285
286 return Rechunk(
287 self.arr,
288 tuple(-1 for _ in range(self.arr.ndim)),
289 method="tasks",
290 )

Callers

nothing calls this directly

Calls 1

RechunkClass · 0.90

Tested by

no test coverage detected