Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ test_array_ufunc_out
Function
test_array_ufunc_out
dask/array/tests/test_ufunc.py:431–435 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
429
430
431
def
test_array_ufunc_out():
432
x = da.arange(10, chunks=(5,))
433
np.sin(x, out=x)
434
np.add(x, 10, out=x)
435
assert_eq(x, np.sin(np.arange(10)) + 10)
436
437
438
def
test_unsupported_ufunc_methods():
Callers
nothing calls this directly
Calls
3
assert_eq
Function · 0.90
arange
Method · 0.45
add
Method · 0.45
Tested by
no test coverage detected