MCPcopy 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
1143class MultiMapModel(torch.nn.Module):

Callers 4

wrapperFunction · 0.45
get_random_inputsMethod · 0.45
test_mapMethod · 0.45
test_multi_mapMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected