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

Method node

exir/pass_base.py:127–131  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

125
126 @property
127 def node(self) -> torch.fx.Node:
128 if isinstance(self.proxy_or_node, torch.fx.Node):
129 return self.proxy_or_node
130 assert isinstance(self.proxy_or_node, torch.fx.Proxy)
131 return self.proxy_or_node.node
132
133 @property
134 def proxy(self) -> torch.fx.Proxy:

Callers 1

add_nodeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected