MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / __init__

Method __init__

test/general/wiki_ppl.py:65–67  ·  view source on GitHub ↗
(self, module)

Source from the content-addressed store, hash-verified

63 class Catcher(nn.Module):
64
65 def __init__(self, module):
66 super().__init__()
67 self.module = module
68
69 def forward(self, inp, **kwargs):
70 inps[cache['i']] = inp

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected