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

Method restore_quantize_state

ppq/quantization/optim/ssd.py:387–390  ·  view source on GitHub ↗
(self, pair: List[Operation])

Source from the content-addressed store, hash-verified

385 op.dequantize(expire_device=None)
386
387 def restore_quantize_state(self, pair: List[Operation]):
388 for op in pair:
389 if isinstance(op, QuantableOperation):
390 op.restore_quantize_state(expire_device=None)
391
392 def run_pair(self,
393 pair: List[Operation],

Callers 7

test_ssd_lossMethod · 0.95
optimizeMethod · 0.45
layerwise_error_analyseFunction · 0.45
graphwise_error_analyseFunction · 0.45
statistical_analyseFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_ssd_lossMethod · 0.76