chainer.functions.mean_squared_error¶
-
chainer.functions.
mean_squared_error
(x0, x1)[source]¶ Mean squared error function.
This function computes mean squared error between two variables. The mean is taken over the minibatch. Note that the error is not scaled by 1/2.
- Parameters
x0 (
Variable
or N-dimensional array) – Input variable.x1 (
Variable
or N-dimensional array) – Input variable.
- Returns
A variable holding an array representing the mean squared error of two inputs.
- Return type