log1p function

VARP log1p(
  1. VARP x
)

Computes natural logarithm of (1 + x) element-wise.

Args:

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

Returns:

  • A variable. Has the same type as x.

Implementation

VARP log1p(VARP x) => VARP.fromPointer(C.mnn_expr_Log1p(x.ptr));