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

Method bcast_val

imperative/python/megengine/distributed/server.py:294–298  ·  view source on GitHub ↗
(self, val, key, size)

Source from the content-addressed store, hash-verified

292 return self.proxy.user_pop(key)
293
294 def bcast_val(self, val, key, size):
295 idx = self.bcast_dict[key] + 1
296 self.bcast_dict[key] = idx
297 key = key + "_bcast_" + str(idx)
298 return self.proxy.bcast_val(val, key, size)
299
300
301def main(port=0, verbose=True):

Callers 5

_bcast_has_gradFunction · 0.45
_bcast_shape_dtypeFunction · 0.45
_bcast_tracer_stateFunction · 0.45
backwardMethod · 0.45
backwardMethod · 0.45

Calls 1

strFunction · 0.85

Tested by

no test coverage detected