Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ sizeof_cupy_ndarray
Function
sizeof_cupy_ndarray
dask/sizeof.py:106–107 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
104
105
@sizeof.register(cupy.ndarray)
106
def
sizeof_cupy_ndarray(x):
107
return
int(x.nbytes)
108
109
110
@sizeof.register_lazy(
"numba"
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected