Update cross_entropy_loss.py

This commit is contained in:
Daniel Han-Chen 2024-02-24 02:30:49 +11:00
commit dd321363f2

View file

@ -508,7 +508,7 @@ def cross_entropy_loss(
ignored_index=-100,
inplace_backward: bool = False,
process_group=None,
) -> Tuple[torch.Tensor, torch.Tensor]:
) :
"""
Arguments:
logits: (batch, vocab_size)