Fixed typo: thier -> their

pull/42/head
Semen Zhydenko 2 years ago
parent 4fe98f71a0
commit 479aa44d0e

@ -94,7 +94,7 @@ class _VocabParallelCrossEntropy(torch.autograd.Function):
# Retreive tensors from the forward path.
softmax, target_mask, masked_target_1d = ctx.saved_tensors
# All the inputs have softmax as thier gradient.
# All the inputs have softmax as their gradient.
grad_input = softmax
# For simplicity, work with the 2D gradient.
partition_vocab_size = softmax.size()[-1]

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save