Tile an array
Value
An mlx array with tiled content. Existing axis names are tiled with
their axes; new leading axes introduced by reps are unnamed.
Examples
x <- mlx_matrix(1:4, 2, 2)
mlx_tile(x, reps = c(1, 2))
#> mlx array [2 x 4]
#> dtype: float32
#> values:
#> [,1] [,2] [,3] [,4]
#> [1,] 1 3 1 3
#> [2,] 2 4 2 4