COSIE.loss

Functions

compute_joint

Compute the symmetric joint probability matrix between two views (embeddings), commonly used in contrastive learning objectives.

crossview_contrastive_Loss

Compute the cross-view contrastive loss between two embedding views.