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

Class GraphModule

exir/serde/schema.py:366–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364
365@dataclass
366class GraphModule:
367 graph: Graph
368 signature: GraphSignature
369 # This is used for unflattening, by tracking the calling structure of all of
370 # the modules in order to unflatten the modules back to the eager calling
371 # conventions.
372 module_call_graph: List[ModuleCallEntry]
373
374
375# Invariant: Every time a change is made to the schema, one of the versions

Callers 3

serializeMethod · 0.85
canonicalizeFunction · 0.85

Calls

no outgoing calls

Tested by 1