megengine.functional.nn.prelu

prelu(x, y)[source]

Element-wise max(x, 0) + y * min(x, 0).