Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dmlc/dgl
/ context
Method
context
python/dgl/_ffi/ndarray.py:225–227 ·
view source on GitHub ↗
context of this array
(self)
Source
from the content-addressed store, hash-verified
223
224
@property
225
def
context(self):
226
""
"context of this array"
""
227
return
self.ctx
228
229
def
__hash__(self):
230
return
ctypes.cast(self.handle, ctypes.c_void_p).value
Callers
15
_topk_on
Function · 0.80
_gspmm
Function · 0.80
_gspmm_hetero
Function · 0.80
_gsddmm
Function · 0.80
_gsddmm_hetero
Function · 0.80
_segment_reduce
Function · 0.80
_scatter_add
Function · 0.80
_update_grad_minmax_hetero
Function · 0.80
_bwd_segment_cmp
Function · 0.80
slice
Method · 0.80
flatten
Method · 0.80
record_stream
Method · 0.80
Calls
no outgoing calls
Tested by
5
test_subframes
Function · 0.64
test_to_device
Function · 0.64
test_pin_memory_
Function · 0.64
test_frame_device
Function · 0.64
test_column_subcolumn
Function · 0.64