erf function

VARP erf(
  1. VARP x
)

Computes the Gauss error function of x element-wise.

Args:

  • x: A variable. Must be one of the following types: Halide_Type_Int or Halide_Type_Float

Note: The output of atan will lie within (-1.0, 1.0). The input will lie in (-inf, inf)

Returns:

  • A variable. Has the same type as x.

Implementation

VARP erf(VARP x) => VARP.fromPointer(C.mnn_expr_Erf(x.ptr));