osc.loss_global.contrastive_loss_best_worst

contrastive_loss_best_worst(batch_size, temperature)[source]

Best and worst case for contrastive_loss().

Return type

Tuple[float, float]