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

Method forward

quantization/pre_quant.py:111–114  ·  view source on GitHub ↗
(self, inp, **kwargs)

Source from the content-addressed store, hash-verified

109 self.module = module
110
111 def forward(self, inp, **kwargs):
112 inps.append(inp)
113 layer_kwargs.update(kwargs)
114 raise ValueError # early exit to break later inference
115
116 # patch layer 0 to catch input and kwargs
117 layers[0] = Catcher(layers[0])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected