pub fn mae<A, S, D>( pred: &ArrayBase<S, D>, target: &ArrayBase<S, D>, ) -> Option<A>where A: FromPrimitive + Num + ScalarOperand + Signed, D: Dimension, S: Data<Elem = A>,
A functional implementation of the mean absolute error loss function which compares two similar arrays