cerebras.modelzoo.losses.dpr_loss.DPRLoss#

class cerebras.modelzoo.losses.dpr_loss.DPRLoss[source]#

Bases: torch.nn.Module

Methods

forward

__init__()[source]#
__call__(*args: Any, **kwargs: Any) Any#

Call self as a function.

static __new__(cls, *args: Any, **kwargs: Any) Any#