Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ mydiff
Function
mydiff
dask/array/tests/test_cupy_gufunc.py:16–17 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
14
15
def
test_apply_gufunc_axis():
16
def
mydiff(x):
17
return
np.diff(x)
18
19
a = cupy.random.default_rng().standard_normal((3, 6, 4))
20
da_ = da.from_array(a, chunks=2, asarray=False)
Callers
nothing calls this directly
Calls
1
diff
Method · 0.80
Tested by
no test coverage detected