Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ _get_random_inputs
Method
_get_random_inputs
exir/program/test/test_program.py:55–57 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
53
54
@classmethod
55
def
_get_random_inputs(cls):
56
x = torch.rand(8, 32)
57
return
(x,)
58
59
60
class
TestSDPA(torch.nn.Module):
Callers
5
test_to_edge_transform_and_lower_with_exception
Method · 0.95
test_to_edge_with_single_preserved_op
Method · 0.95
test_to_edge_transform_and_lower_with_preserve_ops_no_partitioner
Method · 0.95
test_save_fails
Method · 0.95
test__transform_override_verifiers
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected