tile function

VARP tile(
  1. VARP input,
  2. VARP multiples
)

Constructs a variable by tiling a given variable.

Args:

  • input: A variable. 1-D or higher.
  • multiples: A variable. Must be 1-D Halide_Type_Int.Length must be the same as the number of dimensions in input.

Returns:

  • A variable. Has the same type as input.

Implementation

VARP tile(VARP input, VARP multiples) => VARP.fromPointer(C.mnn_expr_Tile(input.ptr, multiples.ptr));