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

Method dequantize_pair

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

Source from the content-addressed store, hash-verified

380 quant_config.state = QuantizationStates.PASSIVE_INIT
381
382 def dequantize_pair(self, pair: List[Operation]):
383 for op in pair:
384 if isinstance(op, QuantableOperation):
385 op.dequantize(expire_device=None)
386
387 def restore_quantize_state(self, pair: List[Operation]):
388 for op in pair:

Callers 1

test_ssd_lossMethod · 0.95

Calls 1

dequantizeMethod · 0.80

Tested by 1

test_ssd_lossMethod · 0.76