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

Method verify_graph

backends/nxp/tests/graph_verifier.py:48–54  ·  view source on GitHub ↗

Verifies the graph meets expected criteria. :param graph: The FX graph to verify :raises AssertionError: If the graph does not meet expectations

(self, graph: Graph)

Source from the content-addressed store, hash-verified

46
47 @abc.abstractmethod
48 def verify_graph(self, graph: Graph):
49 """Verifies the graph meets expected criteria.
50
51 :param graph: The FX graph to verify
52 :raises AssertionError: If the graph does not meet expectations
53 """
54 pass
55
56
57class BaseGraphVerifier(GraphVerifier):

Callers 1

Calls

no outgoing calls

Tested by 1