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

Class MyModule

imperative/python/test/unit/traced_module/test_qat_module.py:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42
43class MyModule(M.Module):
44 def __init__(self):
45 super().__init__()
46 self.block0 = Myblcok()
47 self.block1 = Myblcok()
48
49 def forward(self, x):
50 x = self.block0(x)
51 x = self.block1(x)
52 return x
53
54
55class MyMinMaxObserver(Q.MinMaxObserver):

Callers 3

test_trace_qatFunction · 0.70
test_load_paramFunction · 0.70
test_qualnameFunction · 0.70

Calls

no outgoing calls

Tested by 3

test_trace_qatFunction · 0.56
test_load_paramFunction · 0.56
test_qualnameFunction · 0.56