Loss Functions#
|
Computes the binary cross entropy loss. |
|
Computes the cross entropy loss. |
|
Computes the Kullback-Leibler divergence loss. |
|
Computes the L1 loss. |
|
Computes the mean squared error loss. |
|
Computes the negative log likelihood loss. |
|
Computes the smooth L1 loss. |
|
Computes the triplet loss for a set of anchor, positive, and negative samples. |
|
Computes the hinge loss between inputs and targets. |
|
Computes the Huber loss between inputs and targets. |
|
Computes the log cosh loss between inputs and targets. |