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

Function get_node_repr

backends/vulkan/utils.py:1696–1700  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

1694
1695
1696def get_node_repr(node) -> Union[TensorRepr, TensorReprList]:
1697 if isinstance(node, (list, tuple)):
1698 raise NotImplementedError("get_node_repr not implemented for list of nodes")
1699 else:
1700 return get_node_spec_attr(node, "etvk_node_repr", False)
1701
1702
1703##

Callers

nothing calls this directly

Calls 1

get_node_spec_attrFunction · 0.85

Tested by

no test coverage detected