Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ get_tensor_val_str
Function
get_tensor_val_str
backends/vulkan/utils.py:1828–1829 ·
view source on GitHub ↗
(tensor_val: FakeTensor)
Source
from the content-addressed store, hash-verified
1826
1827
1828
def
get_tensor_val_str(tensor_val: FakeTensor) -> str:
1829
return
f
"{tensor_val.dtype}: {tensor_val.shape}"
1830
1831
1832
def
get_node_val_str(node: torch.fx.Node) -> str:
Callers
1
get_node_val_str
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected