From ae0b6aee8b6ef852528f7c720fe4ab43524e006d Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Thu, 2 Feb 2023 13:57:14 +0900 Subject: [PATCH] from local --- .../ASR/conformer_ctc/.transformer.py.swp | Bin 69632 -> 69632 bytes egs/aishell/ASR/conformer_ctc/transformer.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/aishell/ASR/conformer_ctc/.transformer.py.swp b/egs/aishell/ASR/conformer_ctc/.transformer.py.swp index 8dae5dd9802079e15b929478f26c269ebfed628e..cc9581a6e323f3e9df6f60401e861006a646e93f 100644 GIT binary patch delta 40 ucmZozz|ydQMJ&l6%+puFQqO<^2m}}yraRqEmifO?j75jBWV5u+)5iearVIoC delta 40 ucmZozz|ydQMJ&l6%+puFQqO<^2m}}ya-D7`@Bg<^j75hrWV5u+)5iefR}5SL diff --git a/egs/aishell/ASR/conformer_ctc/transformer.py b/egs/aishell/ASR/conformer_ctc/transformer.py index 38f871386..1218c350c 100644 --- a/egs/aishell/ASR/conformer_ctc/transformer.py +++ b/egs/aishell/ASR/conformer_ctc/transformer.py @@ -24,7 +24,7 @@ from label_smoothing import LabelSmoothingLoss from subsampling import Conv2dSubsampling, VggSubsampling from torch.nn.utils.rnn import pad_sequence from torch.nn.modules import Module -import torch.Tensor as Tensor +import torch.tensor as Tensor # Note: TorchScript requires Dict/List/etc. to be fully typed. Supervisions = Dict[str, torch.Tensor]