Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tensorpack/tensorpack
/ _reset_state
Method
_reset_state
tensorpack/input_source/input_source.py:522–523 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
520
self._init_op = self._iterator.initializer
521
522
def
_reset_state(self):
523
self._init_op.run()
524
525
def
_get_input_tensors(self):
526
spec_shapes = [k.shape
for
k in self._spec]
Callers
nothing calls this directly
Calls
1
run
Method · 0.45
Tested by
no test coverage detected