Please clear this confusion

Greetings fellow learners, it is requested to clarify that why are their different things written on different resources(i don’t understand the parameters set for this):
For example over here, this is written:

But over here in the hint section this is written:

Hello @Talha1234, interesting question!

In the lab, we import MSE with

from tensorflow.keras.losses import MSE

and the correct tensorflow documentation for tensorflow.keras.losses.MSE is actually this one instead of the one in your post.

As configured here, there are a few aliases for tf.keras.metrics.mean_squared_error and the MSE that we use is exactly one of its aliases.