MCPcopy Create free account
hub / github.com/pytorch/executorch / __init__

Method __init__

backends/apple/mps/test/test_mps_binary_ops.py:14–15  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12class TestMPSAdd(TestMPS):
13 class Add(torch.nn.Module):
14 def __init__(self):
15 super().__init__()
16
17 def forward(self, x, y):
18 z = x + y

Callers 10

__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