mlx.core.tile

目录

mlx.core.tile#

tile(a: array, reps: int | Sequence[int], /, *, stream: None | Stream | Device = None) array#

Construct an array by repeating a the number of times given by reps.

参数:
  • a (array) -- Input array

  • reps (int or list(int)) -- The number of times to repeat a along each axis.

返回:

The tiled array.

返回类型:

array