MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / __init__

Method __init__

imperative/python/test/integration/test_save_load.py:24–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22
23class Net(Module):
24 def __init__(self):
25 super().__init__()
26 self.fc = M.Linear(1, 1)
27
28 def forward(self, images):
29 x = self.fc(images)

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected