Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_zmq
Function · 0.45
run
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected