Mean of MLX array elements
Usage
# S3 method for class 'mlx'
mean(x, ...)Examples
x <- mlx_matrix(1:4, 2, 2)
mean(x)
#> mlx array []
#> dtype: float32
#> device: gpu
#> values:
#> [1] 2.5
Mean of MLX array elements
# S3 method for class 'mlx'
mean(x, ...)x <- mlx_matrix(1:4, 2, 2)
mean(x)
#> mlx array []
#> dtype: float32
#> device: gpu
#> values:
#> [1] 2.5