MSELoss¶
-
class
MSELoss
(size_average=None, reduce=None, reduction='mean')[source]¶ Bases:
pykeen.losses.PointwiseLoss
,torch.nn.modules.loss.MSELoss
A wrapper around the PyTorch mean square error loss.
Initializes internal Module state, shared by both nn.Module and ScriptModule.
Attributes Summary
Attributes Documentation