bartorch.mse#
- bartorch.mse(reference, input, *, magnitude=False)#
Mean squared error
mean |input - reference|²over every element (--mse).- Parameters:
magnitude (bool) – Compare magnitudes,
mean (|input| - |reference|)², taken as the root sum of squares over the coil axis-4of a C-order(..., coils, z, y, x)array (--mse-mag).