MCPcopy
hub / github.com/dask/dask / _lower

Method _lower

dask/array/_array_expr/_rechunk.py:88–101  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86 return chunks
87
88 def _lower(self):
89
90 if not self.balance and (self.chunks == self.array.chunks):
91 return self.array
92
93 method = self.method or _choose_rechunk_method(
94 self.array.chunks, self.chunks, threshold=self.threshold
95 )
96 if method == "p2p":
97 raise NotImplementedError
98 else:
99 return TasksRechunk(
100 self.array, self.chunks, self.threshold, self.block_size_limit
101 )
102
103
104class TasksRechunk(Rechunk):

Callers

nothing calls this directly

Calls 2

_choose_rechunk_methodFunction · 0.90
TasksRechunkClass · 0.85

Tested by

no test coverage detected