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

Method __init__

exir/program/test/test_program.py:61–62  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59
60class TestSDPA(torch.nn.Module):
61 def __init__(self):
62 super().__init__()
63
64 def forward(self, query, key, value):
65 return torch.ops.aten.scaled_dot_product_attention.default(query, key, value)

Callers 10

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected