MCPcopy
hub / github.com/OpenPPL/ppq / pop

Method pop

ppq/quantization/analyse/graphwise.py:33–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 return super().post_forward_hook(outputs, **kwargs)
32
33 def pop(self) -> torch.Tensor:
34 fetched = self.fetched
35 self.fetched = None
36 return fetched
37
38
39class DetailedRecorder(RuntimeHook):

Callers 5

optimizeMethod · 0.45
optimizeMethod · 0.45
test_ssd_lossMethod · 0.45
checkMethod · 0.45
graphwise_error_analyseFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_ssd_lossMethod · 0.36