pub fn mse_loss<T: Reduce<AllAxes>>(pred: T, targ: T::NoTape) -> T::Reduced
Mean Squared Error. This computes (pred - targ).square().mean().
(pred - targ).square().mean()
See mean(), square(), and sub().