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

Method example_inputs

backends/qualcomm/tests/models.py:536–540  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

534 return x, y
535
536 def example_inputs(self):
537 return {
538 "x": torch.randn((1, 3, 3, 3)),
539 "y": torch.randn((2, 1, 5, 5)),
540 }
541
542
543class Conv1dBn(torch.nn.Module):

Callers 4

test_utils_exportMethod · 0.95
get_example_inputsMethod · 0.45

Calls

no outgoing calls

Tested by 4

test_utils_exportMethod · 0.76
get_example_inputsMethod · 0.36