(self, neutron_quantizer, is_qat: bool = False)
| 488 | |
| 489 | class Conv2dPattern(ConvPattern): |
| 490 | def __init__(self, neutron_quantizer, is_qat: bool = False): |
| 491 | super().__init__(is_qat=is_qat) |
| 492 | |
| 493 | self.neutron_quantizer = neutron_quantizer |
| 494 | self.neutron_target_info = ( |
| 495 | self.neutron_quantizer.neutron_target_spec.neutron_target_info |
| 496 | ) |
| 497 | |
| 498 | def partition_types(self) -> list[OpOverload]: |
| 499 | return [torch.ops.aten.conv2d.default] |