Skip to content
fn

squared_deviation

::mlx::core::array squared_deviation(const ::mlx::core::array & x, const ::mlx::core::array & mean)

(x - mean)^2 in float32 for a half x.