Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ forward
Method
forward
exir/program/test/test_program.py:64–65 ·
view source on GitHub ↗
(self, query, key, value)
Source
from the content-addressed store, hash-verified
62
super().__init__()
63
64
def
forward(self, query, key, value):
65
return
torch.ops.aten.scaled_dot_product_attention.default(query, key, value)
66
67
@classmethod
68
def
_get_random_inputs(cls):
Callers
nothing calls this directly
Calls
1
default
Method · 0.45
Tested by
no test coverage detected