Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ __init__
Method
__init__
test/models/export_program.py:93–94 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
91
92
class
ModuleAdd(nn.Module):
93
def
__init__(self):
94
super(ModuleAdd, self).__init__()
95
96
def
forward(self, x, y, alpha):
97
return
torch.add(x, y, alpha=alpha)
Callers
15
__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
__init__
Method · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected