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

Function copy_nn_module_stack

backends/qualcomm/_passes/utils.py:132–137  ·  view source on GitHub ↗

Copy meta["nn_module_stack"] from src node to target node if existing.

(src, target)

Source from the content-addressed store, hash-verified

130
131
132def copy_nn_module_stack(src, target):
133 """
134 Copy meta["nn_module_stack"] from src node to target node if existing.
135 """
136 if value := src.meta.get("nn_module_stack"):
137 target.meta["nn_module_stack"] = value
138
139
140def merge_decomposed_graph(

Callers 1

merge_decomposed_graphFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected