Is there an implementation in PyTorch for L2 loss? could only find L1Loss.
L2 loss is called mean square error, you can find it here.
That’s why it felt so familiar
from albanD link, going to this link saves some mouse clicks and looking around:
MSELOSS CLASStorch.nn.MSELoss(size_average=None, reduce=None, reduction: str = 'mean')