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

Function unwrap_functional

exir/tracer.py:175–177  ·  view source on GitHub ↗
(t: torch.Tensor)

Source from the content-addressed store, hash-verified

173
174
175def unwrap_functional(t: torch.Tensor) -> torch.Tensor:
176 assert isinstance(t, torch.Tensor)
177 return _maybe_unwrap_functional_tensor(t, reapply_views=False)
178
179
180def unwrap_proxy(t: LeafValue) -> Union[LeafValue, torch.fx.Proxy]:

Callers 3

shapeFunction · 0.90
update_with_proxyFunction · 0.90
unwrap_proxyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected