MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / broadcast

Method broadcast

tensorpack/train/trainers.py:479–482  ·  view source on GitHub ↗
(self, _)

Source from the content-addressed store, hash-verified

477 return [cb]
478
479 def broadcast(self, _):
480 logger.info("Broadcasting {} global variables ...".format(self._num_global_variables))
481 # the op will be created in initialize()
482 self.sess.run(self._broadcast_op)
483
484 @HIDE_DOC
485 def initialize(self, session_creator, session_init):

Callers

nothing calls this directly

Calls 2

formatMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected