Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ __init__
Method
__init__
test/models/export_program.py:37–38 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
35
36
class
ModuleBasic(nn.Module):
37
def
__init__(self):
38
super(ModuleBasic, self).__init__()
39
40
def
forward(self, x):
41
return
torch.sin(x).max()
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected