MCPcopy Create free account
hub / github.com/pytorch/executorch / __init__

Method __init__

examples/models/toy_model/model.py:111–112  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

109
110class SdpaModule(torch.nn.Module, EagerModelBase):
111 def __init__(self):
112 super().__init__()
113
114 def forward(self, query, key, value):
115 out = torch.nn.functional.scaled_dot_product_attention(

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected