Skip to contents

mlx_isnan(), mlx_isinf(), and mlx_isfinite() wrap the corresponding MLX elementwise predicates, returning boolean arrays.

Usage

mlx_isnan(x)

mlx_isinf(x)

mlx_isfinite(x)

Arguments

x

An mlx array.

Value

An mlx boolean array.