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

Method reset_state

tensorpack/dataflow/remote.py:113–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

111 self._bind = bind
112
113 def reset_state(self):
114 self.cnt1 = 0
115 self.cnt2 = 0
116
117 def bind_or_connect(self, socket, addr):
118 if self._bind:

Callers 2

send_dataflow_zmqFunction · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected