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

Method get_random_inputs

exir/tests/models.py:91–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 return self.mlp(inputs)
90
91 def get_random_inputs(self) -> Tuple[torch.Tensor, ...]:
92 return (torch.rand(2, self.n_layer + self.output_size),)
93
94
95class Identity(nn.Module):

Calls

no outgoing calls