divide function

VARP divide(
  1. VARP x,
  2. VARP y
)

Computes Python style division of x by y.

Args:

  • x: A variable. Must be one of the following types: Halide_Type_Int or Halide_Type_Float, Halide_Type_Int64, Halide_Type_Uint8.
  • y: A variable. Must have the same type as x.

Returns:

  • A variable. Has the same type as x.

Implementation

VARP divide(VARP x, VARP y) => VARP.fromPointer(C.mnn_expr_Divide(x.ptr, y.ptr));