osc.loss_objects.matching_contrastive_loss_best_worst

matching_contrastive_loss_best_worst(batch_size, num_slots, temperature)[source]

Best and worst case for contrastive_loss().

Return type

Tuple[float, float]