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

Class OperatorGraph

devtools/debug_format/base_schema.py:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34# Base Representation of an operator subgraph with metadata
35@dataclass
36class OperatorGraph:
37 # Identifier used for grouping nodes (e.g. expand/minimize Module)
38 graph_name: str
39 # Nodes and Sub-Graphs
40 elements: List[Node | OperatorGraph]
41 # Graph Level Metadata
42 metadata: Optional[Dict[str, Any]] = None
43
44
45"""

Callers 2

_compose_op_graphMethod · 0.90

Calls

no outgoing calls