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

Method _get_op_name

devtools/debug_format/et_schema.py:90–92  ·  view source on GitHub ↗
(node: torch.fx.Node)

Source from the content-addressed store, hash-verified

88
89 @staticmethod
90 def _get_op_name(node: torch.fx.Node) -> str:
91 # pyre-ignore[16]: has no attribute `__name__`.
92 return node.target.__name__
93
94 # Given a node and its metadata (if containing module stack), update the provided module mappings
95 @staticmethod

Callers 1

gen_operator_graphMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected