Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ _get_chunk_shape
Function
_get_chunk_shape
dask/array/core.py:3458–3460 ·
view source on GitHub ↗
(a)
Source
from the content-addressed store, hash-verified
3456
3457
3458
def
_get_chunk_shape(a):
3459
s = np.asarray(a.shape, dtype=int)
3460
return
s[len(s) * (None,) + (slice(None),)]
3461
3462
3463
def
from_array(
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected