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

Method __init__

backends/nxp/quantizer/patterns.py:160–161  ·  view source on GitHub ↗
(self, is_qat: bool)

Source from the content-addressed store, hash-verified

158
159class BatchNormPattern(QuantizationPattern):
160 def __init__(self, is_qat: bool):
161 super().__init__(is_qat=is_qat)
162
163 def partition_types(self) -> list[OpOverload]:
164 # BatchNorm quantization is needed only when in QAT mode

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected