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

Method user_get

imperative/python/megengine/distributed/server.py:118–122  ·  view source on GitHub ↗

r"""Get user defined key-value pairs across processes.

(self, key)

Source from the content-addressed store, hash-verified

116 return True
117
118 def user_get(self, key):
119 r"""Get user defined key-value pairs across processes."""
120 with self.lock:
121 future = self.user_dict[key]
122 return future.get()
123
124 def bcast_val(self, val, key, size):
125 with self.lock:

Callers 1

user_popMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected