Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ get_eager_model
Method
get_eager_model
examples/models/toy_model/model.py:125–126 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
123
return
out
124
125
def
get_eager_model(self) -> torch.nn.Module:
126
return
self
127
128
def
get_example_inputs(self):
129
# Input shape: (batch, num_heads, seq_len, head_dim)
Callers
2
test_sdpa_single_kernel
Method · 0.95
test_triton_kernel_mode_off
Method · 0.95
Calls
no outgoing calls
Tested by
2
test_sdpa_single_kernel
Method · 0.76
test_triton_kernel_mode_off
Method · 0.76