MCPcopy Create free account
hub / github.com/pytorch/executorch / _QuantProperty

Class _QuantProperty

backends/arm/quantizer/quantization_annotator.py:58–64  ·  view source on GitHub ↗

Specify how the input/output at 'index' must be quantized.

Source from the content-addressed store, hash-verified

56
57@dataclass(frozen=True)
58class _QuantProperty:
59 """Specify how the input/output at 'index' must be quantized."""
60
61 index: int
62 qspec: QuantizationSpecBase | List[QuantizationSpecBase]
63 optional: bool = False
64 mark_annotated: bool = False
65
66
67class _OpQuantProperties:

Callers 1

get_quant_propertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected