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

Function is_view_copy_node

backends/vulkan/utils.py:163–167  ·  view source on GitHub ↗
(node: torch.fx.Node)

Source from the content-addressed store, hash-verified

161
162
163def is_view_copy_node(node: torch.fx.Node) -> bool:
164 if node.op != "call_function":
165 return False
166 node_name = format_target_name(node.target.__name__) # pyre-ignore
167 return "view_copy" in node_name
168
169
170def is_linear_node(node: torch.fx.Node) -> bool:

Callers 1

Calls 1

format_target_nameFunction · 0.90

Tested by

no test coverage detected