dgs.models.loss.loss

Custom loss functions.

Module Classes

CrossEntropyLoss(*args, **kwargs)

Compute the Cross Entropy Loss after computing the LogSoftmax on the input data.