()
| 65 | |
| 66 | |
| 67 | def all_fusable_graph_patterns() -> List[torch.fx.GraphModule]: |
| 68 | all_patterns = [] |
| 69 | for entry in fusable_patterns.values(): |
| 70 | if entry.get_graphs_fn is not None: |
| 71 | all_patterns.extend(entry.get_graphs_fn()) |
| 72 | |
| 73 | return all_patterns |
| 74 | |
| 75 | |
| 76 | def get_all_fusable_subgraphs( |
no test coverage detected