MCPcopy Index your code
hub / github.com/OpenPPL/ppq / can_export

Method can_export

ppq/core/quant.py:362–364  ·  view source on GitHub ↗
(cls, state)

Source from the content-addressed store, hash-verified

360
361 @ classmethod
362 def can_export(cls, state) -> bool:
363 return state not in {QuantizationStates.INITIAL, QuantizationStates.PASSIVE_INIT,
364 QuantizationStates.DEQUANTIZED, QuantizationStates.DEACTIVED}
365
366
367class TensorQuantizationConfig(Serializable):

Calls

no outgoing calls

Tested by

no test coverage detected