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

Method __init__

quantization/pre_quant.py:107–109  ·  view source on GitHub ↗
(self, module)

Source from the content-addressed store, hash-verified

105 # use this Catcher hack for now
106 class Catcher(nn.Module):
107 def __init__(self, module):
108 super().__init__()
109 self.module = module
110
111 def forward(self, inp, **kwargs):
112 inps.append(inp)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected