SimCLR Loss
- Original Link : https://keras.io/api/keras_cv/losses/simclr_loss/
- Last Checked at : 2024-11-25
SimCLRLoss
class
keras_cv.losses.SimCLRLoss(temperature, **kwargs)
Implements SimCLR Cosine Similarity loss.
SimCLR loss is used for contrastive self-supervised learning.
Arguments
- temperature: a float value between 0 and 1, used as a scaling factor for cosine similarity.
References