(self, neutron_quantizer, is_qat: bool = False)
| 836 | |
| 837 | class MmPattern(QuantizationPattern): |
| 838 | def __init__(self, neutron_quantizer, is_qat: bool = False): |
| 839 | super().__init__(is_qat=is_qat) |
| 840 | |
| 841 | self.neutron_quantizer = neutron_quantizer |
| 842 | self.neutron_target_info = ( |
| 843 | self.neutron_quantizer.neutron_target_spec.neutron_target_info |
| 844 | ) |
| 845 | |
| 846 | def partition_types(self) -> list[OpOverload]: |
| 847 | return [torch.ops.aten.mm.default] |