ContrastiveLossType
Enums · AiDotNet.Enums
Types of contrastive loss functions for knowledge distillation.
Fields
| Field | Summary |
|---|---|
ContrastiveLossType InfoNCE |
InfoNCE (Noise Contrastive Estimation) loss. |
ContrastiveLossType NTXent |
NT-Xent (Normalized Temperature-scaled Cross Entropy) loss. |
ContrastiveLossType TripletLoss |
Triplet loss with margin. |
int value__ |