def mean_squared_error(y_true, y_pred):
 return tf.reduce_mean(tf.square((y_pred - y_true)))

def mean_squared_error ( y_true , y_pred ) : return tf . reduce_mean ( tf . square ( ( y_pred - y_true ) ) )
l2 distance between tensors true and pred .