MCPcopy
hub / github.com/openai/transformer-debugger / add_subhooks

Method add_subhooks

neuron_explainer/models/hooks.py:124–126  ·  view source on GitHub ↗
(self, name, subhooks)

Source from the content-addressed store, hash-verified

122 return new
123
124 def add_subhooks(self, name, subhooks):
125 self.all_hooks[name] = subhooks
126 return self
127
128 def __getattr__(self, name):
129 if name in self.all_hooks:

Callers 9

__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected