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

Method forward

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

Source from the content-addressed store, hash-verified

214 self.negative_slope = negative_slope
215
216 def forward(self, inputs):
217 return leaky_relu(inputs, self.negative_slope)

Callers

nothing calls this directly

Calls 1

leaky_reluFunction · 0.85

Tested by

no test coverage detected