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

Method __init__

imperative/python/megengine/distributed/server.py:207–211  ·  view source on GitHub ↗
(self, master_ip, port)

Source from the content-addressed store, hash-verified

205 """
206
207 def __init__(self, master_ip, port):
208 self.master_ip = master_ip
209 self.port = port
210 self.connect()
211 self.bcast_dict = defaultdict(lambda: 0)
212
213 def connect(self):
214 r"""Check connection success."""

Callers

nothing calls this directly

Calls 1

connectMethod · 0.95

Tested by

no test coverage detected