Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ __dlpack_device__
Method
__dlpack_device__
python/pyarrow/tests/test_dlpack.py:68–69 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
66
return
self._obj.__dlpack__(**{**kwargs, **self._forced})
67
68
def
__dlpack_device__(self):
69
return
self._obj.__dlpack_device__()
70
71
72
def
check_bytes_allocated(f):
Callers
7
check_dlpack_export
Function · 0.45
test_array_to_tensor_dlpack
Function · 0.45
test_fixed_shape_tensor_array_dlpack_permuted
Function · 0.45
test_fixed_shape_tensor_scalar_dlpack
Function · 0.45
test_dlpack_cuda_not_supported
Function · 0.45
test_non_cpu_array
Function · 0.45
test_buffer
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected