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

Function get_arg_node_val_str

backends/vulkan/utils.py:1845–1851  ·  view source on GitHub ↗
(arg_node: Any)

Source from the content-addressed store, hash-verified

1843
1844
1845def get_arg_node_val_str(arg_node: Any) -> str:
1846 if isinstance(arg_node, torch.fx.Node):
1847 return get_node_val_str(arg_node)
1848 elif isinstance(arg_node, (list, tuple)):
1849 return f"[{', '.join(get_arg_node_val_str(n) for n in arg_node)}]"
1850 else:
1851 return str(arg_node)
1852
1853
1854def node_io_str(node: torch.fx.Node) -> str:

Callers 1

node_io_strFunction · 0.85

Calls 1

get_node_val_strFunction · 0.85

Tested by

no test coverage detected