constants
constants
¶
Constants and enums for quantization configuration.
PT2EBackendName
¶
Bases: StrEnum
Target backend for PT2E quantized operator lowering.
These backends are specific to the PT2E quantization workflow. The eager workflow does not use PT2E backend selection.
QuantizationMode
¶
Bases: StrEnum
Quantization workflow used to produce the deployable model.
QuantizableOperatorType
¶
Bases: StrEnum
Operator types targeted for quantization coverage analysis.
FXNodeOp
¶
Bases: StrEnum
FX graph node operation kinds relevant to reporting.
FXNodePattern
¶
Bases: StrEnum
FX graph node target patterns for operator classification.
ReportMetricKey
¶
Bases: StrEnum
Dict keys returned by QuantizationReport analysis methods.