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

Method get_random_inputs

exir/tests/control_flow_models.py:87–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

85 return torch_map(f, xs, y) + xs
86
87 def get_random_inputs(self):
88 return torch.rand(2, 4), torch.rand(4)
89
90
91class FTMapDynShape(Module):

Callers 2

test_alloc_node_specMethod · 0.95
test_ft_map_basicMethod · 0.95

Calls

no outgoing calls

Tested by 2

test_alloc_node_specMethod · 0.76
test_ft_map_basicMethod · 0.76