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

Method __init__

imperative/python/test/integration/test_bn.py:133–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131def test_trace_bn_forward_twice():
132 class Simple(Module):
133 def __init__(self):
134 super().__init__()
135 self.bn = BatchNorm2d(1)
136
137 def forward(self, inp):
138 x = self.bn(inp)

Callers

nothing calls this directly

Calls 1

BatchNorm2dClass · 0.90

Tested by

no test coverage detected