mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Remove one line..
This commit is contained in:
parent
0fd2cb141f
commit
c533f91fa2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user