Skip to main content

Leaky ReLU

Leaky ReLu activation function


function leaky_relu(x)
{
    //Logic
    if(x >= 0)
  {
    return x;
  }
  else return 0.01*x;
}