Error Function (Erf)#
API#
- class warp_nn.modules.operators.Erf(*, requires_grad: bool = True)[source]#
Bases:
ModuleError Function (Erf) operation.
This class computes the element-wise Gauss error function:
\[\text{Erf}(x) = \frac{2}{\sqrt{\pi}} \int_0^x e^{-t^2} \, dt\]- Parameters:
requires_grad – Whether the cached output arrays of the module require gradients.