MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / key

Method key

imperative/python/megengine/distributed/group.py:68–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66
67 @property
68 def key(self):
69 assert len(self.proc_ranks) > 0, "invalid group"
70 return ",".join(map(str, self.proc_ranks))
71
72 @property
73 def rank(self):

Callers 13

enterMethod · 0.45
full_gradMethod · 0.45
MGB_IMPL_OPR_GRADFunction · 0.45
opr_registerMethod · 0.45
set_output_shapeMethod · 0.45
get_output_shapeMethod · 0.45
bcast_addrMethod · 0.45
bcast_nccluniqueidMethod · 0.45
translate_passMethod · 0.45

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected