Skip to content
fn

widen_half

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

x in float32 when it is float16 or bfloat16, else x itself.