MCPcopy Create free account
hub / github.com/boyiwei/alignment-attribution-code / __init__

Method __init__

lib/prune.py:111–113  ·  view source on GitHub ↗
(self, module)

Source from the content-addressed store, hash-verified

109
110 class Catcher(nn.Module):
111 def __init__(self, module):
112 super().__init__()
113 self.module = module
114
115 def forward(self, inp, **kwargs):
116 inps.append(inp)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected