ceil function

VARP ceil(
  1. VARP x
)

Returns element-wise smallest integer not less than x.

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 ceil(VARP x) => VARP.fromPointer(C.mnn_expr_Ceil(x.ptr));