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

Function get_input_node

backends/xnnpack/utils/utils.py:57–58  ·  view source on GitHub ↗
(node: torch.fx.Node, input_index: int)

Source from the content-addressed store, hash-verified

55
56
57def get_input_node(node: torch.fx.Node, input_index: int) -> torch.fx.Node:
58 return cast(torch.fx.Node, node.args[input_index])
59
60
61def normalize_mean_dims(mean_dims: Sequence[int] | int | None, rank: int) -> List[int]:

Callers 15

define_nodeMethod · 0.90
define_nodeMethod · 0.90
define_nodeMethod · 0.90
define_nodeMethod · 0.90
define_nodeMethod · 0.90
define_nodeMethod · 0.90
define_nodeMethod · 0.90
define_nodeMethod · 0.90
define_nodeMethod · 0.90
define_nodeMethod · 0.90
define_nodeMethod · 0.90
define_nodeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected