Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tensorpack/tensorpack
/ _before_train
Method
_before_train
tensorpack/callbacks/prof.py:343–344 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
341
self._timer.pause()
342
343
def
_before_train(self):
344
self._update_last()
345
346
def
_update_last(self):
347
old_pause = self._timer.is_paused()
Callers
nothing calls this directly
Calls
1
_update_last
Method · 0.95
Tested by
no test coverage detected