From c533f91fa2f944e494cdcb358bd2602906a3bc48 Mon Sep 17 00:00:00 2001 From: Daniel Povey Date: Thu, 9 Jun 2022 23:13:16 +0800 Subject: [PATCH] Remove one line.. --- egs/librispeech/ASR/pruned_transducer_stateless2/scaling.py | 1 - 1 file changed, 1 deletion(-) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless2/scaling.py b/egs/librispeech/ASR/pruned_transducer_stateless2/scaling.py index c0a0cb2c2..cd7faba8a 100644 --- a/egs/librispeech/ASR/pruned_transducer_stateless2/scaling.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless2/scaling.py @@ -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