Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/transformer-debugger
/ MLPHooks
Class
MLPHooks
neuron_explainer/models/hooks.py:179–183 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
177
178
179
class
MLPHooks(HookCollection):
180
def
__init__(self):
181
super().__init__()
182
self.add_subhooks(
"pre_act"
, FwdBwdHooks())
183
self.add_subhooks(
"post_act"
, FwdBwdHooks())
184
185
186
class
NormalizationHooks(HookCollection):
Callers
2
forward
Method · 0.90
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected