Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/tensorpack/tensorpack
/ get_hooks
Method
get_hooks
tensorpack/callbacks/group.py:82–83 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
80
traceback.print_exc()
81
82
def
get_hooks(self):
83
return
[CallbackToHook(cb)
for
cb in self.cbs]
84
85
def
trigger_step(self):
86
for
cb in self.cbs:
Callers
4
_setup_graph
Method · 0.80
_setup_graph
Method · 0.80
__init__
Method · 0.80
initialize_hooks
Method · 0.80
Calls
1
CallbackToHook
Class · 0.85
Tested by
no test coverage detected