deepof.model_utils.dcl_loss

deepof.model_utils.dcl_loss(history, future, similarity, temperature=0.1, debiased=True, tau_plus=0.1)

Compute the DCL loss function, as described in the paper “Debiased Contrastive Learning” (https://github.com/chingyaoc/DCL/).