round function

VARP round(
  1. VARP x
)

Returns element-wise rounded integer not less than x.

Args:

  • x: A variable. Must be Halide_Type_Float

Returns:

  • A variable. Halide_Type_Float.

Implementation

VARP round(VARP x) => VARP.fromPointer(C.mnn_expr_Round(x.ptr));