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

Method quantize_policy

ppq/quantization/quantizer/DSPQuantizer.py:100–105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98
99 @ property
100 def quantize_policy(self) -> QuantizationPolicy:
101 return QuantizationPolicy(
102 QuantizationProperty.ASYMMETRICAL +
103 QuantizationProperty.LINEAR +
104 QuantizationProperty.PER_TENSOR
105 )
106
107 @ property
108 def rounding_policy(self) -> RoundingPolicy:

Callers

nothing calls this directly

Calls 1

QuantizationPolicyClass · 0.90

Tested by

no test coverage detected