Custom loss functions

i can not understand what means that **2?
in line 2 ? loss = torch.mean((output - target)**2)

That means “squared”. For example x*x == x**2.

1 Like