Transpose of MLX matrix
Usage
# S3 method for class 'mlx'
t(x)Examples
x <- mlx_matrix(1:6, 2, 3)
t(x)
#> mlx array [3 x 2]
#> dtype: float32
#> device: gpu
#> values:
#> [,1] [,2]
#> [1,] 1 2
#> [2,] 3 4
#> [3,] 5 6
Transpose of MLX matrix
# S3 method for class 'mlx'
t(x)x <- mlx_matrix(1:6, 2, 3)
t(x)
#> mlx array [3 x 2]
#> dtype: float32
#> device: gpu
#> values:
#> [,1] [,2]
#> [1,] 1 2
#> [2,] 3 4
#> [3,] 5 6