Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ get_example_inputs
Method
get_example_inputs
examples/models/edsr/model.py:26–28 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
24
return
m
25
26
def
get_example_inputs(self):
27
tensor_size = (1, 3, 224, 224)
28
return
(torch.randn(tensor_size),)
Callers
2
main
Function · 0.95
create_model
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected