resize function

VARP resize(
  1. VARP images,
  2. double xScale,
  3. double yScale
)

Resize images.

Args:

  • images: 4-D variable of NC4HW4 format.
  • xScale: A float.
  • yScale: A float.

Returns:

  • The resized 4-D variable of NC4HW4 format.

Implementation

VARP resize(VARP images, double xScale, double yScale) =>
    VARP.fromPointer(C.mnn_expr_Resize(images.ptr, xScale, yScale));