Skip to content
fn

gpu_truth

::mlx::core::array gpu_truth(const ::mlx::core::array & x)

Whether each element of x is nonzero, as bool.