From the documentation here 7, it seems that the loss is mainly the element-wise squared differences between two vectors.
The reduction argument should be able to handle special cases where mean, sum or no-reduction is required.
Does this argument make sense?