Skip to content
fn

sum_widened

::mlx::core::array sum_widened(const ::mlx::core::array & x, const int & axes, bool keepdims)

sum accumulated in float32 for a half input, returned in its dtype.