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

Method reset

tensorpack/utils/timer.py:120–126  ·  view source on GitHub ↗

Reset the timer.

(self)

Source from the content-addressed store, hash-verified

118 self.reset()
119
120 def reset(self):
121 """
122 Reset the timer.
123 """
124 self._start = timer()
125 self._paused = False
126 self._total_paused = 0
127
128 def pause(self):
129 """

Callers 2

__init__Method · 0.95
_update_lastMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected