MCPcopy
hub / github.com/dask/dask / _cal_max_chunk_size

Function _cal_max_chunk_size

dask/array/reshape.py:220–226  ·  view source on GitHub ↗
(chunks, start, stop)

Source from the content-addressed store, hash-verified

218
219
220def _cal_max_chunk_size(chunks, start, stop):
221 return int(
222 reduce(
223 mul,
224 [max(chunks[axis]) for axis in range(start, stop + 1)],
225 )
226 )
227
228
229def expand_tuple(chunks, factor):

Callers 2

reshape_rechunkFunction · 0.85
_smooth_chunksFunction · 0.85

Calls 1

maxFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…