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