(rontolisp) docs
← Functions

torch:erf

(torch:erf a)

Differentiable elementwise Gauss error function (PyTorch's torch.erf, over linalg:erf). The adjoint is the Gaussian 2 / sqrt(pi) * e^(-x^2), so the gradient is exact rather than an approximation of the forward approximation.