Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ __init__
Method
__init__
backends/nxp/tests/models.py:197–199 ·
view source on GitHub ↗
(self, bias: bool)
Source
from the content-addressed store, hash-verified
195
196
class
LinearModule(torch.nn.Module):
197
def
__init__(self, bias: bool):
198
super().__init__()
199
self.linear = torch.nn.Linear(32, 16, bias=bias)
200
201
def
forward(self, x):
202
return
self.linear(x)
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected