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/common.py:510–512 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
508
self.df_lists = df_lists
509
510
def
reset_state(self):
511
for
d in self.df_lists:
512
d.reset_state()
513
514
def
__len__(self):
515
return
sum(len(x)
for
x in self.df_lists)
Callers
nothing calls this directly
Calls
1
reset_state
Method · 0.45
Tested by
no test coverage detected