| 168 | from executorch.backends.mlx.pattern_utils import OpStep |
| 169 | |
| 170 | class SimpleModule(torch.nn.Module): |
| 171 | def forward(self, x): |
| 172 | return torch.rsqrt(x) |
| 173 | |
| 174 | graph = get_exported_graph(SimpleModule(), (torch.randn(4, 4),)) |
| 175 | rsqrt_node = find_node_by_target(graph, "rsqrt") |
no outgoing calls