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

Method get_inputs

extension/pybindings/test/make_test.py:28–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 return ("forward",)
27
28 def get_inputs(self):
29 return (torch.ones(2, 2), torch.ones(2, 2))
30
31
32class ModuleChannelsLast(torch.nn.Module):

Callers 1

create_programFunction · 0.45

Calls 1

onesMethod · 0.80

Tested by

no test coverage detected