Contents

BNNSLossFunctionHuber

Huber loss computation between input logits and one-hot encoded labels.

Declaration

var BNNSLossFunctionHuber: BNNSLossFunction { get }

Discussion

BNNSLossFunctionHuber performs huber loss computation between input logits and one hot encoded labels.

You can scale the loss with either a scalar value or weight matrix, and reduce the loss according to a reduction function.

See Also

Loss Functions