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

Method forward

imperative/python/megengine/module/activation.py:184–185  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

182 self.weight = Parameter(data=[init])
183
184 def forward(self, inputs):
185 return prelu(inputs, self.weight)
186
187
188class LeakyReLU(Module):

Callers

nothing calls this directly

Calls 1

preluFunction · 0.50

Tested by

no test coverage detected