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

Function test_auto_chunks

dask/array/tests/test_array_core.py:5745–5751  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5743
5744
5745def test_auto_chunks():
5746 chunks = ((1264, 1264, 1264, 1264, 1264, 1264, 1045), (1264, 491))
5747 shape = sum(chunks[0]), sum(chunks[1])
5748 result = normalize_chunks(
5749 ("auto", "auto"), shape=shape, dtype="int32", previous_chunks=chunks
5750 )
5751 assert result == ((8629,), (1755,))
5752
5753
5754def test_auto_chunks_h5py():

Callers

nothing calls this directly

Calls 2

normalize_chunksFunction · 0.90
sumFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…