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

Method __init__

exir/tests/test_print_program.py:32–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30
31 class WrapModule(torch.nn.Module):
32 def __init__(self):
33 super().__init__()
34 self.test_model = TestModel()
35
36 def forward(self, x):
37 return self.test_model(x)

Callers

nothing calls this directly

Calls 2

TestModelClass · 0.70
__init__Method · 0.45

Tested by

no test coverage detected