powered by
Approximation to the rectified linear function. Used as the hidden layer transfer function for nonlinear QRNN models.
softplus(x, alpha=2)
numeric vector.
rounded transition parameter.
softplus.prime
# NOT RUN { x <- seq(-2, 2, length=200) plot(x, softplus(x, alpha=2)) # }
Run the code above in your browser using DataLab