pub fn mse<A, S, D>(
pred: &ArrayBase<S, D>,
target: &ArrayBase<S, D>,
) -> Option<A>where
A: FromPrimitive + Num + Pow<i32, Output = A> + ScalarOperand,
D: Dimension,
S: Data<Elem = A>,Expand description
A functional implementation of the mean squared error loss function that compares two similar arrays