Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ __init__
Method
__init__
exir/tests/models.py:139–140 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
137
138
class
ElementwiseAdd(nn.Module):
139
def
__init__(self) -> None:
140
super().__init__()
141
142
def
forward(self, x: Tensor, y: Tensor) -> Tensor:
143
return
x + y
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected