Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ rank
Method
rank
imperative/python/megengine/distributed/group.py:73–75 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
71
72
@property
73
def
rank(self):
74
assert len(self.proc_ranks) > 0,
"invalid group"
75
return
self.proc_ranks.index(_sd.proc_rank)
76
77
@property
78
def
comp_node(self):
Callers
11
make_from_op_node
Function · 0.45
full_grad
Method · 0.45
local_grad
Method · 0.45
local_grad
Method · 0.45
local_grad
Method · 0.45
opr_shallow_copy_collective_mm
Function · 0.45
opr_register
Method · 0.45
bcast_addr
Method · 0.45
bcast_nccluniqueid
Method · 0.45
group_barrier
Method · 0.45
collect_groups
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected