Remove one line..

This commit is contained in:
Daniel Povey 2022-06-09 23:13:16 +08:00
parent 0fd2cb141f
commit c533f91fa2

View File

@ -801,7 +801,6 @@ class DecorrelateFunction(torch.autograd.Function):
loss.backward()
decorr_x_grad = x.grad
assert x.grad is not None
# Now, normalize the magnitudes of the rows of the new grad
# contribution, to have magnitudes equals to ctx.scale times