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

Method __init__

quantization/autoclip.py:133–135  ·  view source on GitHub ↗
(self, module)

Source from the content-addressed store, hash-verified

131 # use this Catcher hack for now
132 class Catcher(nn.Module):
133 def __init__(self, module):
134 super().__init__()
135 self.module = module
136
137 def forward(self, inp, **kwargs):
138 inps.append(inp)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected