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

synonyms

Attributes Documentation

synonyms: ClassVar[Optional[Set[str]]] = {'Mean Square Error Loss', 'Mean Squared Error Loss'}