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

Method __init__

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

Source from the content-addressed store, hash-verified

77
78class TestLinearSDPACombined(torch.nn.Module):
79 def __init__(self):
80 super().__init__()
81 self.linear = torch.nn.Linear(32, 16, bias=True)
82
83 def forward(self, x, query, key, value):
84 x = self.linear(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected