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

Method __init__

imperative/python/megengine/module/vision.py:34–36  ·  view source on GitHub ↗
(self, per_channel=False, **kwargs)

Source from the content-addressed store, hash-verified

32
33class AdditiveElemwise(Module):
34 def __init__(self, per_channel=False, **kwargs):
35 self._per_channel = per_channel
36 super().__init__(**kwargs)
37
38 def forward(self, inp):
39 assert isinstance(

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected