Function hal::loss::l2_vec
[−]
[src]
pub fn l2_vec(pred: &Array, target: &Array) -> Array
Return a vector form of the l2 error (y - x) * (y - x)