(node: torch.fx.Node)
| 85 | |
| 86 | |
| 87 | def is_qparam(node: torch.fx.Node) -> bool: |
| 88 | if node.op != "call_function": |
| 89 | return False |
| 90 | node_name = format_target_name(node.target.__name__) # pyre-ignore |
| 91 | |
| 92 | return node_name in _QPARAM_OPS |
| 93 | |
| 94 | |
| 95 | def is_quant(node: torch.fx.Node) -> bool: |
no test coverage detected