(node_: Node)
| 420 | |
| 421 | |
| 422 | def _is_batch_norm(node_: Node) -> bool: |
| 423 | return node_.op == "call_function" and node_.target in [ |
| 424 | torch.ops.aten.batch_norm.default, |
| 425 | torch.ops.aten.native_batch_norm.default, |
| 426 | torch.ops.aten._native_batch_norm_legit_no_training.default, |
| 427 | ] |
| 428 | |
| 429 | |
| 430 | class ConvPattern(QuantizationPattern): |
no outgoing calls
no test coverage detected