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:445–449 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
443
444
445
def
test_array_ufunc_out():
446
x = da.arange(10, chunks=(5,))
447
np.sin(x, out=x)
448
np.add(x, 10, out=x)
449
assert_eq(x, np.sin(np.arange(10)) + 10)
450
451
452
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