Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ get_example_inputs
Method
get_example_inputs
exir/backend/test/test_backends_nested.py:66–72 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
64
return
y.sin()
65
66
def
get_example_inputs(self):
67
return
(
68
torch.ones(2, 2),
69
torch.tensor([False]),
70
torch.Tensor([False]),
71
torch.ones(2, 2),
72
)
73
74
75
@final
Callers
1
test
Method · 0.95
Calls
2
ones
Method · 0.80
Tensor
Method · 0.80
Tested by
no test coverage detected