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