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

Method resume

tensorpack/utils/timer.py:138–144  ·  view source on GitHub ↗

Resume the timer.

(self)

Source from the content-addressed store, hash-verified

136 return self._paused is not False
137
138 def resume(self):
139 """
140 Resume the timer.
141 """
142 assert self._paused is not False
143 self._total_paused += timer() - self._paused
144 self._paused = False
145
146 def seconds(self):
147 """

Callers 3

secondsMethod · 0.95
benchmark_serializerFunction · 0.95
_before_epochMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected