Skip to contents

Force evaluation of lazy MLX operations

Usage

mlx_eval(x)

Arguments

x

An mlx array.

Value

The input object (invisibly)

See also

Examples

x <- as_mlx(matrix(1:4, 2, 2))
mlx_eval(x)