зеркало из https://github.com/mozilla/TTS.git
bug fix
This commit is contained in:
Родитель
8f6721a1ff
Коммит
afb5a17221
|
@ -251,6 +251,7 @@ class Attention(nn.Module):
|
|||
else:
|
||||
context = torch.bmm(alignment.unsqueeze(1), inputs)
|
||||
context = context.squeeze(1)
|
||||
self.attention_weights = alignment
|
||||
return context
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче