Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tensorpack/tensorpack
/ _before_epoch
Method
_before_epoch
tensorpack/callbacks/prof.py:337–338 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
335
336
# only include the time between before_epoch/after_epoch
337
def
_before_epoch(self):
338
self._timer.resume()
339
340
def
_after_epoch(self):
341
self._timer.pause()
Callers
nothing calls this directly
Calls
1
resume
Method · 0.45
Tested by
no test coverage detected