MCPcopy 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

Calls

no outgoing calls

Tested by 2