(self, is_qat: bool)
| 158 | |
| 159 | class 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 |