Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/executorch
/ __init__
Method
__init__
backends/apple/mps/test/test_mps_binary_ops.py:25–26 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
23
24
class
Add2(torch.nn.Module):
25
def
__init__(self):
26
super().__init__()
27
28
def
forward(self, x):
29
z = x + x
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected