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

Method reset_state

tensorpack/dataflow/base.py:163–165  ·  view source on GitHub ↗

Reset the RNG

(self)

Source from the content-addressed store, hash-verified

161 """
162
163 def reset_state(self):
164 """ Reset the RNG """
165 self.rng = get_rng(self)
166
167
168class ProxyDataFlow(DataFlow):

Callers

nothing calls this directly

Calls 1

get_rngFunction · 0.85

Tested by

no test coverage detected