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

Method get_random_inputs

test/end2end/test_end2end.py:113–114  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

111 return torch.add(x, y)
112
113 def get_random_inputs(self):
114 return (torch.randn(2, 2), torch.randn(2, 2))
115
116
117class ModuleFloatAddWithAlpha(nn.Module):

Callers 1

wrapperFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected