tf.keras.metrics.mean_squared_error

Computes the mean squared error between labels and predictions.

Used in the notebooks

Used in the guide Used in the tutorials

After computing the squared distance between the inputs, the mean value over the last dimension is returned.

loss = mean(squar