Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ get_random_inputs
Method
get_random_inputs
exir/tests/test_memory_planning.py:1139–1140 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1137
return
map_output + y
1138
1139
def
get_random_inputs(self) -> Tuple[torch.Tensor, ...]:
1140
return
(torch.randn(5, 3), torch.randn(3))
1141
1142
1143
class
MultiMapModel(torch.nn.Module):
Callers
4
wrapper
Function · 0.45
get_random_inputs
Method · 0.45
test_map
Method · 0.45
test_multi_map
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected