megengine.functional.nn.leaky_relu

leaky_relu(inp, negative_slope=0.01)[source]

Element-wise LeakyReLU function

Refer to LeakyReLU for more information.

Return type

Tensor