seluPrime function

double seluPrime(
  1. double x
)

The derivative of the Scaled Exponential Linear Unit

Implementation

double seluPrime(double x) => 1.0507 * (x < 0 ? 1.67326 * exp(x) : 1);