Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tensorpack/tensorpack
/ _before_train
Method
_before_train
tensorpack/callbacks/base.py:263–264 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
261
self.cb = cb
262
263
def
_before_train(self):
264
self.cb.before_train()
265
266
def
_setup_graph(self):
267
with
tf.name_scope(None):
Callers
nothing calls this directly
Calls
1
before_train
Method · 0.80
Tested by
no test coverage detected