From ec3b1bb015f3cab4f009fa80647363ec28199fd0 Mon Sep 17 00:00:00 2001 From: Mingshuang Luo <37799481+luomingshuang@users.noreply.github.com> Date: Wed, 29 Sep 2021 16:11:23 +0800 Subject: [PATCH] Update utils.py --- icefall/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icefall/utils.py b/icefall/utils.py index e3ae685f8..3e84fcc6a 100644 --- a/icefall/utils.py +++ b/icefall/utils.py @@ -479,7 +479,7 @@ class LossRecord(collections.defaultdict): self[k] = v def write_summary(self, tb_writer: SummaryWriter, - prefix: str, batch_idx: int) -> None: + prefix: str, batch_idx: int) -> None: """Add logging information to a TensorBoard writer. Args: