Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ __init__
Method
__init__
exir/program/test/test_program.py:47–49 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
45
46
class
TestLinear(torch.nn.Module):
47
def
__init__(self):
48
super().__init__()
49
self.linear = torch.nn.Linear(32, 16, bias=True)
50
51
def
forward(self, x):
52
return
self.linear(x)
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected