(graph_module: torch.fx.GraphModule)
| 1179 | |
| 1180 | |
| 1181 | def get_map_nodes(graph_module: torch.fx.GraphModule) -> Iterable[Node]: |
| 1182 | for nd in graph_module.graph.nodes: |
| 1183 | if nd.target is torch.ops.higher_order.map_impl: |
| 1184 | yield nd |
| 1185 | |
| 1186 | |
| 1187 | def get_scan_nodes(graph_module: torch.fx.GraphModule) -> Iterable[Node]: |
no outgoing calls
no test coverage detected