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

Function _graph_size_threshold

dask/array/rechunk.py:681–682  ·  view source on GitHub ↗
(old_chunks, new_chunks, threshold)

Source from the content-addressed store, hash-verified

679
680
681def _graph_size_threshold(old_chunks, new_chunks, threshold):
682 return threshold * (_number_of_blocks(old_chunks) + _number_of_blocks(new_chunks))
683
684
685def _compute_rechunk(x, chunks):

Callers 2

_choose_rechunk_methodFunction · 0.85
plan_rechunkFunction · 0.85

Calls 1

_number_of_blocksFunction · 0.85

Tested by

no test coverage detected