[][src]Function pyrus_nn::costs::squared_error

pub fn squared_error(y_true: f32, y_hat: f32) -> f32

Squared error between two f32 values