Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_reshape_splat
Function
test_reshape_splat
dask/array/tests/test_array_core.py:1524–1526 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1522
1523
1524
def
test_reshape_splat():
1525
x = da.ones((5, 5), chunks=(2, 2))
1526
assert_eq(x.reshape((25,)), x.reshape(25))
1527
1528
1529
def
test_reshape_not_implemented_error():
Callers
nothing calls this directly
Calls
3
assert_eq
Function · 0.90
reshape
Method · 0.80
ones
Method · 0.45
Tested by
no test coverage detected