πŸ“ˆ Leaky ReLU Visualizer

Same graph as ReLU β€” but the negative side gets a slight downward tilt instead of a hard floor.

πŸ“‹ How To Use This Lab
  1. Drag the yellow handle into negative territory β†’ the output is small and negative, NOT zero.
  2. Drag the Negative Slope slider β†’ watch the tilt of the negative-side line change live.
  3. Set the slope near 0.01 β†’ it looks almost flat, just like regular ReLU.
  4. Set the slope near 0.5 β†’ the negative side becomes a much steeper, more generous leak.
x = 2.00
LeakyReLU(x) = 2.00
πŸ“ˆ LEAKYDrag into negative territory β€” I still let a small signal through instead of going completely flat.
πŸ§‘β€πŸ« PROF. TORCHLeakyReLU(x) = x if xβ‰₯0, else slopeΓ—x β€” that tiny leak keeps the gradient alive even for negative inputs.