SoftplusLoss¶
-
class
SoftplusLoss(reduction='mean')[source]¶ Bases:
pykeen.losses.PointwiseLossA loss function for the softplus.
Initializes internal Module state, shared by both nn.Module and ScriptModule.
Methods Summary
forward(logits, labels)Calculate the loss for the given scores and labels.
Methods Documentation