(node: Node)
| 97 | |
| 98 | |
| 99 | def has_float_output(node: Node) -> bool: |
| 100 | meta_val = node.meta.get("val", None) |
| 101 | if isinstance(meta_val, torch.Tensor): |
| 102 | return meta_val.dtype.is_floating_point |
| 103 | return False |
| 104 | |
| 105 | |
| 106 | def _mark_node_as_quantized( |
no test coverage detected