Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dmlc/dgl
/ is_tensor_adaptor_enabled
Function
is_tensor_adaptor_enabled
python/dgl/_ffi/base.py:153–155 ·
view source on GitHub ↗
Check whether TensorAdaptor is enabled.
()
Source
from the content-addressed store, hash-verified
151
152
153
def
is_tensor_adaptor_enabled() -> bool:
154
""
"Check whether TensorAdaptor is enabled."
""
155
return
tensor_adapter_loaded
Callers
1
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected