expm1 function

VARP expm1(
  1. VARP x
)

Computes ((exponential of x) - 1) element-wise.

Args:

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

Returns:

  • A variable. Has the same type as x.

Implementation

VARP expm1(VARP x) => VARP.fromPointer(C.mnn_expr_Expm1(x.ptr));