Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ get_comp_node
Function
get_comp_node
imperative/python/test/unit/core/test_indexing_op.py:119–120 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
117
if
get_comp_node is None:
118
119
def
get_comp_node():
120
return
config.comp_node
121
122
for
idx, var in enumerate(inputs):
123
if
not isinstance(var, Tensor):
Callers
4
infer_output_attrs
Function · 0.85
infer_output_attrs<ShuffleRNG>
Function · 0.85
infer_output_attrs<MultinomialRNG>
Function · 0.85
get_rng_handle_compnode
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected