pow function

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

Computes the power of one value to another.

Args:

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

Returns:

  • A variable. Has the same type as x.

Implementation

VARP pow(VARP x, VARP y) => VARP.fromPointer(C.mnn_expr_Pow(x.ptr, y.ptr));