(self, neutron_quantizer, is_qat: bool)
| 227 | |
| 228 | class AddmmPattern(QuantizationPattern): |
| 229 | def __init__(self, neutron_quantizer, is_qat: bool): |
| 230 | super().__init__(is_qat=is_qat) |
| 231 | |
| 232 | self.neutron_quantizer = neutron_quantizer |
| 233 | self.neutron_target_info = ( |
| 234 | self.neutron_quantizer.neutron_target_spec.neutron_target_info |
| 235 | ) |
| 236 | |
| 237 | def partition_types(self) -> list[OpOverload]: |
| 238 | return [torch.ops.aten.addmm.default] |