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

Method reset_state

tensorpack/dataflow/parallel.py:507–509  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

505 super(PlasmaGetData, self).__init__(ds)
506
507 def reset_state(self):
508 super(PlasmaGetData, self).reset_state()
509 self.client = plasma.connect(self._socket, "", 0)
510
511 def __iter__(self):
512 for dp in self.ds:

Callers

nothing calls this directly

Calls 1

reset_stateMethod · 0.45

Tested by

no test coverage detected