MCPcopy Create free account
hub / github.com/pytorch/executorch / all_fusable_graph_patterns

Function all_fusable_graph_patterns

backends/vulkan/patterns/__init__.py:67–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65
66
67def 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
76def get_all_fusable_subgraphs(

Callers 1

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected