tf.keras.metrics.MeanSquaredError

Computes the mean squared error between y_true and y_pred.

Inherits From: Mean, Metric, Layer, Module

name (Optional) string name of the metric instance.
dtype (Optional) data type of the metric result.

Standalone usage:

m = tf.keras.metrics.MeanSquaredError()